December 23, 200916 yr I am wondering how the HTML emails work with regards to servers and setups. If anyone can help it would be appreciated. Regards, Junior
December 23, 200916 yr I've designed HTML emails which have been send using Joomla and Magento - I build the layouts using tables in Coda, then just copy & paste the code into the site's own mail transport system which sends it out. As long as the end client can display the HTML then they come through intact. Just remember to reference any images using absolute URLs. As long as the layout can be viewed in a browser it should come out just fine. I normally include a link at the top in case users cannot see images/HTML, then they can view the document on the server in their browser instead. Also bear in mind that some hosting setups may choke or have restrictions on sending mass mail, so check first before attempting a big send. Sorry if that's not what you meant Dan
December 23, 200916 yr If sending HTMl emails always make a text only version for people who either can't view HTML email or have set up their email software to display text only
December 23, 200916 yr Can i add a question pls. Do you have to use tables? Only for more complex emails that need laying out like a page with images, containers etc. If it's a simple email with just text then standard HTML tags like <p> and <br/> will do the job EDIT: some email clients might display <p> tags differently, in which case it might be better to use a double <br /> Edited December 23, 200916 yr by MrBrightside
December 23, 200916 yr Only for more complex emails that need laying out like a page with images, containers etc. If it's a simple email with just text then standard HTML tags like <p> and <br/> will do the job. +1 Nothing wrong with a table layout for something that will end up in an inbox. Trying to do even a sem-complex layout in CSS would just be horrendous.
December 23, 200916 yr All very valid comments... but aren't they slightly off topic? Any server that can send e-mails can send HTML e-mails. All you need to do is define Content-Type in the headers. Example 4 in PHP.net mail() function will show you how to do that
December 23, 200916 yr Can i add a question pls. Do you have to use tables? If the design you are using needs positioning, tables are a better bet than CSS, as Outlook 2007 does not recognise the CSS float property. It's worth doing some research on Outlook 2007 as there are other issues as well such as no support for background images. Link: Kiss Your CSS Goodbye With Outlook 2007
December 23, 200916 yr Thanks, back to 1st post... I am wondering how the HTML emails work with regards to servers and setups. If anyone can help it would be appreciated. Regards, Junior
Create an account or sign in to comment