<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"
	xmlns:media="http://search.yahoo.com/mrss/"
>

<channel>
	<title>Web Development Blog &#187; 5 Tips to ensure your readers can read your HTML e-mail messages | Web Development Blog &#8211; Heidi Cool &#8211; Cleveland, Ohio</title>
	<atom:link href="http://www.heidicool.com/blog/category/email/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.heidicool.com/blog</link>
	<description>web • content • marketing • navigation • seo • social media</description>
	<lastBuildDate>Thu, 17 Feb 2011 21:09:05 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<!-- podcast_generator="podPress/8.8" -->
		<copyright>&#xA9; </copyright>
		<managingEditor>gravity69@gmail.com ()</managingEditor>
		<webMaster>gravity69@gmail.com()</webMaster>
		<category></category>
		<itunes:keywords></itunes:keywords>
		<itunes:subtitle></itunes:subtitle>
		<itunes:summary>content bull; architecture bull;nbsp;marketing bull;nbsp;seo bull; social media</itunes:summary>
		<itunes:author></itunes:author>
		<itunes:category text="Society &amp; Culture"/>
		<itunes:owner>
			<itunes:name></itunes:name>
			<itunes:email>gravity69@gmail.com</itunes:email>
		</itunes:owner>
		<itunes:block>No</itunes:block>
		<itunes:explicit>no</itunes:explicit>
		<itunes:image href="http://www.heidicool.com/blog/wp-content/plugins/podpress/images/powered_by_podpress_large.jpg" />
		<image>
			<url>http://www.heidicool.com/blog/wp-content/plugins/podpress/images/powered_by_podpress.jpg</url>
			<title>Web Development Blog</title>
			<link>http://www.heidicool.com/blog</link>
			<width>144</width>
			<height>144</height>
		</image>
		<item>
		<title>5 Tips to ensure your readers can read your HTML e-mail messages</title>
		<link>http://www.heidicool.com/blog/2008/12/09/5-tips-to-ensure-your-readers-can-read-your-html-e-mail-messages/</link>
		<comments>http://www.heidicool.com/blog/2008/12/09/5-tips-to-ensure-your-readers-can-read-your-html-e-mail-messages/#comments</comments>
		<pubDate>Tue, 09 Dec 2008 09:01:20 +0000</pubDate>
		<dc:creator>Heidi Cool</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[Email]]></category>
		<category><![CDATA[Heidi's Entries]]></category>
		<category><![CDATA[How-to]]></category>
		<category><![CDATA[Html]]></category>
		<category><![CDATA[images]]></category>
		<category><![CDATA[Tips and Tricks]]></category>

		<guid isPermaLink="false">http://www.heidicool.com/blog/?p=159</guid>
		<description><![CDATA[As the semester winds down, and the holiday season encroaches, it seems there are more and more events to publicize, greetings to send, end-of-year newsletters to distribute, holiday sales to promote, etc. T'is the season for HTML e-mails. Alas, as many of you know, creating and distributing an HTML e-mail message is far more complicated than building a regular Web site. As we struggled in the days of the browser wars, today we struggle with the myriad ways popular e-mail programs support HTML. Anyone who has had to create an HTML e-mail message, or has received one they couldn't read, knows what I mean. So today I'll present five tips that should help to make your e-mails readable by the masses.
]]></description>
			<content:encoded><![CDATA[
<p class="photoright">
<a href="http://blog.case.edu/webdev/2008/12/08/gothmailmacmail.jpg"><img alt="Sample message in Macmail" src="http://blog.case.edu/webdev/2008/12/08/gothmailmacmailsm.jpg" width="230" height="163" /></a><br />Sample message in Macmail<br /><br />

<a href="http://blog.case.edu/webdev/2008/12/08/gothmailgmailnoimages.jpg"><img alt="Sample message in Gmail without images" src="http://blog.case.edu/webdev/2008/12/08/gothmailgmailnoimagessm.jpg" width="230" height="118" /></a><br />
Sample message in Gmail without images<br /><br />


<a href="http://blog.case.edu/webdev/2008/12/08/gothmailoutlook2007.jpg"><img alt="Sample message in Outlook 2007" src="http://blog.case.edu/webdev/2008/12/08/gothmailoutlook2007sm.jpg" width="230" height="165" /></a><br />
Sample message in Outlook 2007<br /><br />


<a href="http://blog.case.edu/webdev/2008/12/08/gothmailoutlook2003.jpg"><img alt="Sample message in Outlook 2003" src="http://blog.case.edu/webdev/2008/12/08/gothmailoutlook2003sm.jpg" width="230" height="165" /></a><br />
Sample message in Outlook 2003
</p>

<p>As the semester winds down, and the holiday season encroaches, it seems there
are more and more events to publicize, greetings to send, end-of-year newsletters
to distribute, holiday sales to promote, etc. T'is the season for HTML e-mails.
Alas, as many of you know, creating and distributing an HTML e-mail message
is far more complicated than building a regular Web site. As we struggled in
the days of the browser wars, today we struggle with the myriad ways popular
e-mail programs support HTML. Anyone who has had to create an HTML e-mail message,
or has received one they couldn't read, knows what I mean. So today I'll present
five tips that should help to make your e-mails readable by the masses.</p>
<p>Throughout this article I'll refer to the <a href="http://blog.case.edu/webdev/samplefiles/gothmail.html">sample
Gothfest 2009 e-mail</a> pictured
(in various renditions) on the right. This sample was created with certain
features in mind to demonstrate how such an e-mail will render in different
programs. </p>
<h5>1. Use images to convey a mood or theme, not to present content.</h5>
<p>In many popular e-mail programs, the default preference is to have images
turned off in incoming messages. Thus many of us receive e-mails with little
boxes and some indicator that says "click here to load images." If you are
like me, you rely on the remaining text of the message to make you decide if
you should bother or not. Recently I received a message from a well-known business
magazine in which the only text provided stated only the name of the magazine
and its address. The subject line was equally informative in that it said something
like "Special News Update from Magazine X." </p>

<p>The rest of the content was contained in .jpg files linked in the message. This is problematic for two reasons:</p>
<ol>
<li>Sighted readers, such as me, have no way to judge whether the message is
worth reading (or not) unless we click on the image. If we're busy reading
through a long list of e-mails we may just send it to the trash. If the sender
didn't care enough to present the information clearly, then why should we care
enough to read it?</li>
<li>Readers with vision problems who rely on screenreading software have no
way to read a message that is part of an image. They are relying purely on
the text of the message and any "alt text" provided for the image. This particular
message didn't include any "alt text" so the message was lost to such recipients.</li>
</ol>

<p>We all want our messages to be read. To ensure that they are readable by everyone
in your audience, just be sure to include all the important points as actual
text. This doesn't mean you can't use images to add visual interest, it just
means that your message will be accessible to everyone whether they can see
the pictures or not. </p>
<p>In the <a href="http://blog.case.edu/webdev/2008/12/08/gothmailmacmail.jpg">Gmail
screenshot</a> on the right we see a sample message without images.
The original file contains two images, a picture of Death and a white background
image with shaded edges. Because the content is text-based the main message
is available and the alt text provides a description of the missing photo.
This would also be readable in a text-only mail program with no colors or styles
available. </p>


<h5>2. Use Tables for Layout (WHAT????)</h5>
<p>Most of us know that tables are meant for tabular data and CSS is meant for style and position. Alas many e-mail programs, including Gmail, don't support the positioning features of CSS. If you want to put text on the left and an image on the right&mdash;as I did in the sample&mdash; and you can't use the float property of CSS, you're stuck with tables.</p>
<p>To create this layout I made a table that has 3 rows of one column each. </p>
<ul>
<li>The top row has a dark background, a green bottom border and contains the
title.</li>
<li>The middle row has a white background and contains another table with one
row and two columns.
<ul>
<li>The left column contains a background image, but no background color and
features the main text. With images off the white background from the main
table will show through so that the text is still easily read.</li>
<li>The right cell has a dark background and the Death picture. With images off the picture is replaced with alt text. In our sample this is showing up as black which indicates that the table cell should be restyled to feature a lighter color. </li>
</ul></li>
<li>The bottom row has a dark background, a green top border and the opt-out message. In some of our samples the e-mail is showing up as dark blue which is hard to read against the dark background. In the Macmail version it has been re-styled in a light green that is easier to read. </li>
</ul>
<p>To get a better idea of how this was set up, <a href="http://blog.case.edu/webdev/samplefiles/gothmailcode.html">view
the source code</a>.</p>

<h5>3. Use HTML 4.0 Standards Compliant Code to the extent that you can.</h5>
<p>Going back in time to use tables makes us feel like we're breaking the rules
of HTML, but it is still possible to adhere to standards compliant HTML in
e-mail if you use the HTML 4.01 transitional <a href="http://www.w3.org/QA/2002/04/valid-dtd-list.html">doctype</a>.
While <a href="http://blog.case.edu/webdev/2007/08/28/webstandards.html">adhering
to Web standards is a good idea</a> in general, I also find it helpful for
testing and troubleshooting e-mail files. When I find a problem in my message,
the first thing I'll do is <a href="http://validator.w3.org/check?verbose=1&amp;uri=http%3A//blog.case.edu/webdev/samplefiles/gothmail.html">validate
the file</a>. This helps me determine if the problem is a simple coding error
or if it is due to a feature not supported in one of the e-mail programs
I'm testing. By eliminating any coding errors I can then focus on the work-arounds
I may need to implement to solve the e-mail specific problem. </p>


<h5>4. Use inline styles</h5>
<p>Most of us are used to using external or embedded stylesheets. Alas, some programs don't support those. To ensure that your styles aren't ignored, use inline styles to format everything in the document. This takes more time and adds to the code, but will be accepted by more programs. For example, to style the top table cell and the header within, I used the following code:</p>

<p class="code">&lt;th scope=&quot;col&quot; width=&quot;700&quot;  style=&quot;background-color:#24333a;
border-bottom: 1px solid #87d143; color:#c02c18; text-align:left; font-family:
Georgia, serif;&quot; &gt;&lt;h1 style=&quot;margin: 10px 30px 10px 30px; letter-spacing:2px;&quot;&gt;GOTHFEST &lt;span
style=&quot;letter-spacing:0; font-weight:normal;&quot;&gt;2009&lt;/span&gt;&lt;/h1&gt;&lt;/th&gt; </p>

<p>To add an inline style to an html element just include style=&quot; &quot; and
put your regular CSS information within the quotes. </p>
<p>In this case I styled the top row
(which uses a &lt;th&gt; because it is a table header) to have a dark background,
green bottom border, red type, left-aligned text and Georgia or other available
serif font. The title was put in an &lt;h1&gt; header styled to have 10 px margin
on the top and bottom and 30px on the left and right. I also added 2px of letter
spacing. I surrounded 2009 with a span styled to use 0px of letterspacing and
a normal font weight. I incorporated the letter spacing and the 2009 span changes
mostly to see if they would be carried through in the e-mail programs I tested.  </p>
<p>Note: When coding for the Web I find padding works better to ensure files
work well in IE 6, &amp;, Firefox etc. But I've found that padding seems to fail
more often than margin in e-mails, so I use margin to ensure that I retain
space between paragraphs in as many programs as possible. </p>
<p>People sometimes worry that they'll lose too much flexibility if they try
to stick with Web standards, but this example shows that despite the limited
support of CSS in e-mail there is still room for experimentation. These styles
worked in most of the programs I tested. </p>

<h5>5. Test your mail in several different e-mail programs.</h5>
<p>The e-mail standards project provides information on what features are supported
by the most often used e-mail programs. These offer helpful guidelines, but
the only way to know what will work for your file is to test it in as many
different programs as you can. You can do this by installing several programs
on your own computer and by enlisting the aid of friends and colleagues. I
can access my work e-mail in Outlook 2003, MacMail, Gmail and Case's Webmail,
so I send myself messages then check them in each program. I haven't upgraded
to Outlook 2007 (as I'd no longer be able to test 2003) so to test that I send
messages to my colleague Kim&mdash;who patiently lets me look over her shoulder
or makes screen captures for me to evaluate. </p>

<p>As my samples indicate, your e-mail will not look the same in every program.
That's O. K. The important thing is to make sure that it renders cleanly in
each and degrades nicely if images or styles are not available. If you can
do that, you will ensure that your message doesn't get missed because of poor
formatting. </p>


<h5>I can't embed HTML code in Outlook. How do I send an HTML e-mail?</h5>
<p>How you send an HTML e-mail depends on your mailing list and the programs you have available. If you're regularly sending mass e-mails to large lists, you may wish to use an e-mail service such as Target X or Constant Contact. There are many such services available. Check with your organization to see if they already have an arrangement with a preferred vendor. </p>

<p>For occasional mailings sent to smaller lists, or via listservs such as those available through <a href="https://lists.case.edu">https://lists.case.edu</a>, you need an e-mail program that will allow you to insert HTML. Case's Webmail program, found at <a href="http://mail.case.edu">http://mail.case.edu</a> let's you paste HTML into your message body, but only if you are accessing it through Internet Explorer. </p>
<p>An easier option for most users is Mozilla's <a href="http://www.mozilla.com/en-US/thunderbird/">Thunderbird</a>,
available for Linux, Macintosh and Windows. Thunderbird is free and very easy
to install. To send an HTML e-mail just click the "Write" button to compose a new message, type in your recipients addresses and subject line then go to the "Insert" menu and choose "HTML." A box will pop up in which you can past the code from your HTML file. </p>
<h5>Learn more about HTML e-mail</h5>
<ul>
<li><a href="http://www.email-standards.org">E-mail Standards Project</a> </li>
<li><a href="http://www.alistapart.com/articles/cssemail/">CSS and Email, Kissing in a Tree</a> </li>
<li><a href="http://www.sitepoint.com/article/code-html-email-newsletters/">How to Code HTML Email Newsletters</a> </li>
<li><a href="http://arstechnica.com/news.ars/post/20070115-8619.html">Outlook 2007 change sends HTML email back to the future, for better and worse</a> </li>
<li><a href="http://www.email-standards.org">E-mail Standards Project</a> </li>

</ul>




]]></content:encoded>
			<wfw:commentRss>http://www.heidicool.com/blog/2008/12/09/5-tips-to-ensure-your-readers-can-read-your-html-e-mail-messages/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
	</channel>
</rss>

