homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Code, Content, and Presentation / HTML
Forum Library, Charter, Moderators: incrediBILL

HTML Forum

Emailing HTML Web page

 11:33 pm on Jun 5, 2009 (gmt 0)

There is a lot of people wondering how to Email a Webpage and their have been long discussions about it but I think that a simple answer should help allot of people. If you are doing it and your webpage is being attached instead of in the body of the email, the very first thing you should know is that inline CSS StyleSheeting is a quick fix.



 8:13 am on Jun 7, 2009 (gmt 0)

A link to a page would be even simpler. ;)


 3:37 pm on Jun 7, 2009 (gmt 0)

If you are doing it and your webpage is being attached instead of in the body of the email

Either the web page or the email body are just mime types as much email today is HTML by default (unless you go retro email like I do) so what you attach really doesn't matter.

Inline CSS works but you can also include a link to the CSS file on your server in the HTML which makes the emails smaller, just like linking all the images to the remote server.

Also consider using the base href tag in your pages <base href="http://www.example.com/" /> so that anything relative that you overlook will load from your server as well.

The only downside to this approach is offline reading of the email has no formatting or images but they're tiny and don't clog mail delivery systems.

[edited by: incrediBILL at 3:39 pm (utc) on June 7, 2009]


 6:24 pm on Jun 16, 2009 (gmt 0)

I assume it was discussed here somewhere how Outlook 2007 doesn't use IE as their html rendering engine anymore ... they use WORD 2007!

divs and floats and most browser based layout CSS are not supported and blow up in outlook 2007, only text and old html 3.0 table-based layout and inline style tags work properly.

Leave it to MS to step backwards a few years just to further annoy developers.

I had to revise the code that generates all of our apartment listings subscriber email flyers ... I had forgotten how to code with tables and markup styles, and the worse the code got the better Outlook displayed it.

I am starting to think Microsoft just does this stuff on purpose.

Beware using CSS layout for email body html ... if you Google "outlook 2007 and css" you will at least find what minimal CSS is actually supported.

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / HTML
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved