Ropardo Sowftware development company

Experience software development with ROPARDO S.R.L.

RSS Feed
RSS Feed
  • Home
  • About ROPARDO S.R.L
  • Our websites

How to write a HTML newsletter

One of the early marketing tools on the Internet which was used to reach the ever growing number of Internet users was the email.
Today we have even an organization which establishes the standards for the newsletter code, but also for the email clients like Thunderbird, Outlook, Lotus Notes or Evolution.

1208163_76831846

One of the problems with HTML newsletters is that there are a lot of email clients available and most of them don’t respect a certain standard when it comes to HTML emails. The problem is not only on the desktop side of the client, but also on web based email, as Google, Yahoo, AOL and others have their own rules.

The rule of 2 on HTML newsletters

  1. Use HTML tables to control the design layout and some presentation. You may be used to using pure CSS layouts for your web pages, but that approach just won’t hold up in an email environment.
  2. Use inline CSS to control other presentation elements within your email, such as background colors and fonts.

Tables

Although when we make websites we avoid using tables, when it comes to HTML emails it is recommended that we use a layout build with tables, mostly because most of the email clients are old or don’t support the use of DIVs very well. To align the tables use attributes like:

border="0"
valign="top"
align="left"
cellpadding="0"
cellspacing="0"

As you may notice this approach doesn’t respect the latest standards in HTML, but it will ensure that your email will work on most email clients, web or desktop.

CSS styles
While CSS support is limited, you can still use some css styles within your HTML newsletter. Don’t try to insert your CSS style into HEAD or use the link tag, as for example Gmail searches the head for any references to CSS styles and deletes them.
Use instead everywhere inline CSS styles and try not to use the short version of some attributes, for example use:

margin-top: 20px;
margin-bottom: 20px;

instead of

margin: 0 20px;

Other tips

  • Don’t use JavaScript
  • Note that Outlook 2007 does not display background images
  • For background images, use the table’s background attribute instead of using CSS
  • Store the email images on a web server and don’t delete them, ever.
  • Be sure all your images use the alt, height, and width attributes. Setting values for these attributes improves results in Google Mail, as well as maintaining your layout when a reader has their images turned off. Note, however, that Outlook 2007 does not recognize the alt attribute.

After you’re done building the newsletter you should test on a variety of email clients to make sure the newsletter appears the same everywhere. A great utility for testing if your email might be stopped by spam filters is SpamCheck which in seconds will return a Spam Score and recommendations on how to reduce the likelihood of your e-mail being filtered.

Source:  sitepoint.com

Foto: sxc.hu

  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
Get Shareaholic
Tags: code css email evolution html lotus newsletter notes outlook thunderbird

 Posted in: HTML/CSS
November 6, 2009 | Tomita Militaru | One Comment

One Response

  • blogg.no
    June 16, 2010
    1

    realy good information

Leave a Reply

 


  • « Previous post
  • Next post »
  • Recent Posts

    • Installing PyGraphviz on Windows
    • Convert python object to XML representation
    • Liferay Portlet Development
    • Norway Road Show 2011 private meeting invitation
    • Oracle OpenWorld 2011
  • Ropardo is Hiring

  • Subscribe

    • Add to Google Reader or Homepage Add to netvibes TopOfBlogs
  • Recent Comments

    • Rajkumar Pomaji on Bluetooth PC Remote Control
    • Stelian Morariu on GWT 2.1 – Uploading a file using the RPC mechanism
    • Sergio on GWT 2.1 – Uploading a file using the RPC mechanism
    • Artem on Liferay: Deployment will start in a few seconds… and how to realy start
    • rkd80 on GWT 2.1 – Uploading a file using the RPC mechanism
  • Archives

    • November 2011 (1)
    • September 2011 (4)
    • July 2011 (3)
    • June 2011 (2)
    • May 2011 (4)
    • April 2011 (4)
    • March 2011 (3)
    • February 2011 (2)
    • January 2011 (2)
    • December 2010 (1)
    • November 2010 (4)
    • October 2010 (4)
    • August 2010 (3)
    • July 2010 (3)
    • June 2010 (6)
    • May 2010 (8)
    • April 2010 (7)
    • March 2010 (9)
    • February 2010 (6)
    • January 2010 (5)
    • December 2009 (7)
    • November 2009 (9)
    • October 2009 (10)
    • September 2009 (14)
    • August 2009 (10)
    • July 2009 (1)
    • June 2009 (1)
    • May 2009 (1)
    • April 2009 (1)
    • March 2009 (1)
    • October 2008 (3)
    • October 2007 (3)
    • July 2007 (4)
    • June 2007 (1)
    • May 2007 (3)
  • Meta

    • Log in
    • Entries RSS
    • Comments RSS
    • WordPress.org
  • Categories

    • News (15)
    • Ropardo Team (8)
    • Ropardo Products (6)
      • File Tracking Client (4)
      • iManagement (2)
    • Software Development (83)
      • Microsoft.NET (22)
      • Java (40)
      • Oracle (8)
      • Power Builder (3)
      • Liferay (5)
      • Lotus Notes (9)
      • xWiki (4)
    • System Adminstration (13)
      • Linux (10)
      • Windows (3)
    • Programming (1)
    • Uncategorized (3)
    • Databases (10)
      • MSSQL (5)
      • PostgreeSQL (3)
    • Microsoft.NET (1)
    • Web Development (28)
      • ASP/ASPX (3)
      • Content Management Systems (1)
      • HTML/CSS (5)
      • Javascrip/AJAX (8)
      • PHP (7)
    • Oracle E Business Suite (6)
  • Tags

    .NET ajax blog C# certification client CMS control css database Debugging django Domino Eclipse extension file tracking filter fun gentoo google Hibernate how to html image iManagement import Java javascript jQuery liferay Linux Lotus Notes lotus script Oracle Oracle BI Publisher 11g PHP portal PostgreSQL powerbuilder Python SQL Telerik velocity xml Xwiki

© 2010 ROPARDO s.r.l..

Powered by WordPress. Styled by Ropardo