Stridr 0 Report post Posted October 14, 2008 Hi guys. I urgently need to come up with an HTML email template that is Outlook compatible, but I do not know how to get it done. Anyone knows how to do that?And where do I store the pictures? On my server with the <img src> in the email? Attach it? Can I use web templates? Please help me. Cheers. Share this post Link to post Share on other sites
galexcd 0 Report post Posted October 14, 2008 To make an email client render html code properly send these two lines in the header of the email: Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: 7bitThen you are free to html away as much as you want.It is better to store the images on your server because if you include them as attachments some email clients will not display them properly and will list all of the attachments at the end of the message instead of displaying where they are supposed to actually go. The only disadvantage to hosting the pictures on your server is that more and more email clients and webmail services are hiding images that are stored on an external server until the user chooses to view them to help prevent spam. Share this post Link to post Share on other sites
Stridr 0 Report post Posted October 15, 2008 Thanks for the info. It was great. Just one more question, can i use web templates as a email template? Share this post Link to post Share on other sites
galexcd 0 Report post Posted October 15, 2008 Thanks for the info. It was great. Just one more question, can i use web templates as a email template?Certain html elements will not work in an email, pretty much just the most basic html will be rendered. Any template that uses even slightly complex tags will not work properly in an email. So it depends on the template you use. Share this post Link to post Share on other sites