Thursday, September 17, 2009

XML Publisher - eMail Format

You would find lots of blogs about how to create and mail PDF using XML Publisher. So I do not want to repeat it. Just want to talk about how to format the e-mail that is sent out. If you have tried to format using HTML tags only, you would have noticed that they are removed when the email is sent out. What you need to do is include the format in CDATA section. Take a look at this



doing this would preserve the HTML formatting. This is how the e-mail would like
--------------------------------------------------------------------------------------
Dear
Please find attached Supplier Report

Regards
XML Publisher Burster
--------------------------------------------------------------------------------------

Cheers

No comments: