Jump to content
xisto Community
Sign in to follow this  
Stridr

Html Email

Recommended Posts

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

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: 7bit
Then 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

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.