Thursday, November 15, 2007

Biztalk - Sending an email with html tags and non html tags (<, >, &)

Sending an email with html tags and non html tags (<, >, &)

For example, if we want email body output as below

click here to see kannannova.blogspot.com
Thanks & Regards


We have to do the following steps for above output
1.Create custom send pipeline with MIME/SMIME encoder
2. Set the part's SetPartProperty as "text/html". If needed, do url encoding too
3.Do html encoding for html tags only
4.Use escape sequence characters for non html tags (< , > ,&)
<'s escape character is < >'s escape character is >
&'s escape character is &

No comments:

 test