Parsing Xhtmlproperty content to use in mail

Vote:
 

Is there an easy way to get content from a Xhtml property translated so that the links work externally. We send an email from code an would like to include links and images that editors create, in the mail. Is there a method or do we have to use regex to translate the urls to direct ones?

#36331
Jan 25, 2010 17:03
Vote:
 

Try to use EPiServer.Global.UrlRewriteProvider.GetHtmlRewriter().RewriteString() method on the whole email body text.

#36335
Jan 25, 2010 21:16
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.