<?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/"
	>

<channel>
	<title>AnandGraves.com</title>
	<atom:link href="http://www.anandgraves.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.anandgraves.com</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Thu, 17 May 2012 13:17:45 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>HTML Email Guide</title>
		<link>http://www.anandgraves.com/html-email-guide/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=html-email-guide</link>
		<comments>http://www.anandgraves.com/html-email-guide/#comments</comments>
		<pubDate>Thu, 29 Jun 2006 10:16:35 +0000</pubDate>
		<dc:creator>anand</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.anandgraves.com/html-email-guide</guid>
		<description><![CDATA[This HTML Email Guide contains tips and tools on how to create compatible HTML email which will display correctly on most webmail and email clients. Software for creating HTML email Software for sending HTML email Webmail accounts for testing Remove &#8230; <a href="http://www.anandgraves.com/html-email-guide/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>This HTML Email Guide contains tips and tools on how to create compatible HTML email which will display correctly on most webmail and email clients.</p>
<ul style="margin-top: 20px;">
<li><a href="#software_htmlemail">Software for creating HTML email </a></li>
<li><a href="#software_sending">Software for sending HTML email</a></li>
<li><a href="#webmail">Webmail accounts for testing</a></li>
<li><a href="#unnecessary_htmltags">Remove unnecessary HTML tags</a></li>
<li><a href="#tables">Use tables for layout</a></li>
<li><a href="#images_online">Put all images online</a></li>
<li><a href="#hide_imagetoolbar">Hide the image toolbar in IE</a></li>
<li><a href="#absolute_urls">Use absolute urls </a></li>
<li><a href="#short_urls">Use short urls</a></li>
<li><a href="#inline_stylesheets">Use simple inline style sheets</a></li>
<li><a href="#white_background">Create your design with a white background color</a></li>
<li><a href="#body_background_images">Avoid background images defined on the body</a></li>
<li><a href="#style_text_links">All text and links must have a style</a></li>
<li><a href="#title_alt_attribute">Use the title and alt attribute</a></li>
<li><a href="#br_p_tag">Use &lt;BR&gt; instead of &lt;P&gt;</a></li>
<li><a href="#spacers">Use spacers</a></li>
<li><a href="#maximum_width">Choosing a maximum width</a></li>
<li><a href="#forms">Don&#8217;t use forms</a></li>
<li><a href="#javascript">Don&#8217;t use Javascript</a></li>
<li><a href="#online_version">Provide a link for an online version</a></li>
<li><a href="#test_design_multiple_browsers">Test your design in multiple browsers</a></li>
<li><a href="#avoid_marked_spam">Avoid your HTML email being marked as spam</a></li>
<li><a href="#flash">Don&#8217;t use Flash</a></li>
<li><a href="#validate_html_css">Validate your HTML and CSS</a></li>
<li><a href="#tracking">Tracking Email Marketing Campaigns</a></li>
<li><a href="#phpmailer">Send HTML email with PHPMailer</a></li>
<li><a href="#email_clients_flexible">Email clients are more flexible</a></li>
<li><a href="#readmore">Read More</a></li>
</ul>
<h2>Software for creating HTML email<a name="software_htmlemail"></a></h2>
<p>Before using the editors mentioned below, it&#8217;s important that you have knowledge of HTML and CSS. You can learn HTML and CSS at <a href="http://code.google.com/edu/submissions/html-css-javascript/">Google Code University</a>.<br />
Also have a look at <a href="http://www.w3schools.com/html/html_examples.asp">HTML</a> and <a href="http://www.w3schools.com/css/css_examples.asp">CSS</a> at W3Schools.</p>
<p>There are a lot of editors available you can use. Here are a few tools you can use to create HTML email and websites:</p>
<ul>
<li><a href="http://notepad-plus-plus.org/">Notepad++</a> (versatile open source editor)</li>
<li><a href="http://www.pspad.com">PSPad</a> (universal editor, alternative for UltraEdit / free)</li>
<li><a href="http://www.pnotepad.org/">Programmer&#8217;s Notepad</a></li>
</ul>
<p>To upload your files you can use <a href="http://fireftp.mozdev.org/">FireFTP</a> (Firefox extension), <a href="http://filezilla.sourceforge.net/">FileZilla</a> and/or <a href="http://winscp.net">WinSCP</a>.</p>
<h3><strong>Don&#8217;t use Microsoft Word to create HTML pages or HTML email.</strong></h3>
<p>The reason is Word will write a whole lot of garbage when you create HTML pages with it. Other versions of Microsoft Word also create garbage. But all you need is:</p>
<pre><code>&lt;p&gt;Don't use Microsoft Word to create HTML files&lt;/p&gt;</code></pre>
<h3>Don&#8217;t copy/paste from Microsoft Word</h3>
<p>Microsoft Word uses a different kind of formatting of the text than for example Notepad, Notepad++, PSPad and Dreamweaver. These programs all work in text mode without formatting.</p>
<h2>Software for sending HTML email<a name="software_sending"></a></h2>
<h3>PHPlist</h3>
<p><a href="http://www.phplist.com/">PHPlist</a> is an open source newsletter manager. It is highly configurable and offers a lot of features such as click-tracking, templates, subscribe/unsubscribe, user management, advanced bounce handling, scheduling, throttling and a lot more.</p>
<p>No knowledge of PHP is required to install PHPlist.</p>
<h3>poMMo</h3>
<p>Read this <a href="http://garrettstjohn.com/entry/pommo-open-source-email-marketing-software/">article</a> about <a href="http://pommo.org/">poMMo</a> for its features. You can <a href="http://try.pommo.org/admin/admin.php">try poMMo out at the demo page</a>.</p>
<h3><a name="webmail"></a></h3>
<h2>Webmail accounts for testing</h2>
<p>Testing, testing and testing. Before sending out your HTML email, you have to make sure it looks good on several webmail clients. Get yourself several webmail accounts:</p>
<ul>
<li><a href="http://www.gmail.com/">Gmail</a></li>
<li><a href="http://www.hotmail.com/">Hotmail</a></li>
<li><a href="http://mail.yahoo.com/">Yahoo! Mail</a></li>
<li><a href="http://webmail.aol.com/">AIM Mail</a></li>
</ul>
<p>Besides webmail accounts you also need to have email clients to test your HTML email:</p>
<ul>
<li><a href="http://www.mozilla.com/thunderbird/">Mozilla Thunderbird</a> (PC, Mac)</li>
<li>Microsoft Outlook 2003, 2007 (PC)</li>
<li>Entourage (Mac)</li>
<li>Apple Mail (Mac)</li>
</ul>
<h3><a name="unnecessary_htmltags"></a></h3>
<h2>Remove unnecessary HTML tags</h2>
<p>The following HTML tags should be removed from your HTML email, because several webmail applications and email clients are removing or ignoring these tags.</p>
<ul>
<li>Script tag <code>&lt;SCRIPT&gt;&lt;/SCRIPT&gt;</code></li>
<li>Applet tag <code>&lt;APPLET&gt;&lt;/APPLET&gt;</code></li>
<li>Frameset tag <code>&lt;FRAMESET&gt;&lt;/FRAMESET&gt;</code></li>
<li>Frame tag <code>&lt;FRAME&gt;</code></li>
<li>IFrame tag <code>&lt;IFRAME&gt;&lt;/IFRAME&gt;</code></li>
</ul>
<h3><a name="tables"></a></h3>
<h2>Use tables for layout</h2>
<p>Because of the very limited and different support of style sheets in webmail clients, the best and safe way to layout your HTML email is to use tables.</p>
<h3><a name="images_online"></a></h3>
<h2>Put all images online</h2>
<p>In your HTML email you can use embedded images or remote images.</p>
<p>Embedded images are attached with the email itself and are shown immediately.</p>
<p>Remote images are images which are located on a remote website, but are not displayed at first. In today&#8217;s webmail and email clients you have to click on a link to display the remote images.</p>
<p>Images from an unknown sender aren&#8217;t displayed at first because they are considered unsafe because of several security issues (e.g. spammers can validate your email address, hijack your email account, etc.). The HTML email should be as small as possible in size (KB&#8217;s). Using remote images results in very few KB&#8217;s and therefore less bandwidth when sending it.</p>
<h3><a name="hide_imagetoolbar"></a></h3>
<h2>Hide the image toolbar in IE</h2>
<p>If you put your mouse over an image in Internet Explorer, the image toolbar appears. This only occurs if your image is larger than 200&#215;200 pixels and when it&#8217;s not a background image.</p>
<p>Most people find the image toolbar annoying, but it also distracts the reader from your content. To hide the image toolbar for an image, use the <code>galleryimg</code> attribute in the <code>&lt;IMG&gt;</code> tag:</p>
<pre><code>&lt;img src="cd.gif" width="20" height="30" galleryimg="no" alt="CD of group X" title="Order this CD"&gt;</code></pre>
<h3><a name="absolute_urls"></a></h3>
<h2>Use absolute urls</h2>
<p>Use absolute urls for all your images and links, for example:</p>
<pre><code>&lt;img src="http://www.example.com/images/head.gif" width="20" height="60"&gt; &lt;a href="http://www.example.com/products/shoes/tiger.html"&gt;Tiger&lt;/a&gt;</code></pre>
<h3><a name="short_urls"></a></h3>
<p>When using long urls you risk getting broken links or broken images. Your email program or the email program of your recipient could wrap the long URL along several lines. This can cause part of the url to be clickable instead of the whole url:</p>
<pre><code><a href="javascript://">http://www.example.com/very_long_name/5r6t/2003fd544/3553ag dkgj3d/a453b96</a>/g5?a=36hd27hdh48f27dh</code></pre>
<p>Webmail clients can also add a space (<code>%20</code>) when a url is too long:</p>
<pre><code>&lt;img src="http://www.example.com/mailings/2005/april/17/header_top_disc%20ount.jpg" width="230" height="45" title="Discount at ..."&gt;</code></pre>
<p>To avoid this use short urls:</p>
<pre><code>&lt;img src="http://www.example.com/2004/11/images/1.jpg" width="10" height="60"&gt; &lt;a href="http://www.example.com/2004/11/index.html"&gt;Go to discounts&lt;/a&gt;</code></pre>
<p>This code can be rewritten to:</p>
<pre><code>&lt;img src="http://www.example.com/2004/11/1.jpg" width="10" height="60"&gt; &lt;a href="http://www.example.com/2004/11/"&gt;Go to discounts&lt;/a&gt;</code></pre>
<p>Keep the following in mind when you want to use a short url:</p>
<ul>
<li>Don&#8217;t use an images directory. Place the images in the same directory as the index.html (newsletter); <code>/images/1.jpg</code> becomes <code>/1.jpg</code></li>
<li>Use numbers as names for pictures; <code>header_cd.jpg</code> becomes <code>1.jpg</code>.</li>
<li>Rename <code>spacer.gif</code> to <code>s.gif</code></li>
<li>If you use a link in your newsletter to refer to an online version of your newsletter, then you will mostlikely use a tracking variable in the url. For example: <code>http://www.example.com/2004/11/index.html?trck=nov1104</code>.<br />
You can rewrite this to for example <code>http://www.example.com/2004/11/?trck=nov1104</code></li>
</ul>
<p><a href="http://www.snipurl.com/">Snipurl</a> can also help by shortening your url. Just enter a url and Snipurl will shorten it by given you a new url that will never expire. There are<br />
several services like this (<a href="http://www.tinyurl.com/">tinyurl</a> and <a href="http://makeashorterlink.com/">Make A Shorter Link</a>), but Snipurl can do a lot more. Take a <a href="http://www.snipurl.com/faq">look</a> at what you can do with Snipurl.</p>
<h3><a name="inline_stylesheets"></a></h3>
<p>Use simple style sheets, that means not to use absolute or relative positioning. This is bad supported by most webmail. Don&#8217;t use external or embedded style sheets, because email programs are removing or ignoring everything between the <code>&lt;HEAD&gt;&lt;/HEAD&gt;</code>. That means the <code>&lt;LINK&gt;</code> tag won&#8217;t work if you want to define external style sheets.</p>
<p>Use inline stylesheets for fonts, font colors, links, background colors, etc. For example:</p>
<pre><code>&lt;table width="400" cellspacing="0" cellpadding="0"&gt; &lt;tr&gt; &lt;td style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; line-height: 150%; color: red"&gt; &lt;p&gt;Lorem ipsum dolor sit amet, consectetuer adipiscing elit.&lt;/p&gt; &lt;p&gt;Vivamus ut sem. Fusce aliquam nunc vitae purus.&lt;/p&gt; &lt;/td&gt; &lt;td style="font-family: Verdana, Helvetica, sans-serif; font-size: 10px; text-transform: uppercase; color: black"&gt; Vivamus ut sem. Fusce aliquam nunc vitae purus.&lt;/td&gt; &lt;/tr&gt; &lt;/table&gt; </code></pre>
<p>If you have a HTML Email design with embedded stylesheets, you can use <a href="http://inlinestyler.torchboxapps.com/">Inline styler</a> or <a title="Make your embedded CSS inline" href="http://premailer.dialect.ca/">Premailer</a> to make them inline. At <a title="Automatically generate inline styles" href="http://www.campaignmonitor.com/blog/post/2455/automatically-generate-inline/">Campaign Manager</a> you can read more about Premailer.</p>
<h3><a name="white_background"></a></h3>
<p>Most webmail and email clients use a white background color to display messages. Often webmail clients ignore or remove the <code>&lt;BODY&gt;</code> tag, which is why background colors often don&#8217;t work.</p>
<p>When you do use a diferent background color than white you could mess up your design. This could for example happen if you create your design for a red background. Images may have a red background. When viewed in a webmail client, you mostlikely will see a white background and images with a red background that doesn&#8217;t seamlessly integrate with the background color.</p>
<p>The best thing to do is to create your design with a white background color. If you must use a different background color than white, you can use a table with a 100% width and perhaps 100% height to simulate the background color:</p>
<pre><code class="block">&lt;table width="100%" height="100%"&gt; &lt;tr&gt; &lt;td bgcolor="#FF0000"&gt; &lt;table width="400" align="center"&gt; &lt;tr&gt; &lt;td&gt;Lorem ipsum dolor sit amet consectetuer&lt;/td&gt; &lt;/tr&gt; &lt;/table&gt; &lt;/td&gt; &lt;/tr&gt; &lt;/table&gt;</code></pre>
<p>Unless you know for sure your target audience is using an email client such as Outlook or Thunderbird, a background color can be used without problems. For example if your sending HTML email to employers within a company who all use the same email client.</p>
<h3><a name="body_background_images"></a></h3>
<p>As already mentioned webmail clients often ignore or remove the <code>&lt;BODY&gt;</code> tag, which is why background images often don&#8217;t work.</p>
<p>Unless you know for sure your target audience is using an email client such as Outlook or Thunderbird, a background image can be used without problems. For example if your sending HTML email to employers within a company who all use the same email client.</p>
<h3><a name="style_text_links"></a></h3>
<p>You have to specify the <strong>font</strong>, <strong>font color</strong> and the <strong>font size</strong> for all the text and links in <strong>every table cell</strong><br />
(create your design with tables). If you don&#8217;t specify a style, then most webmail clients will use their own style sheets. This could result in displaying different fonts, font colors and sizes and could also mess up your design.</p>
<p>Hotmail and Yahoo display Arial as the default font if you don&#8217;t specify a font. Gmail uses Verdana. Hotmail uses a <span style="font-family: arial,helvetica,sans-serif;">11px</span><br />
as the default font size, Yahoo uses <span style="font-size: 12px; font-family: Arial,Helvetica,sans-serif;">12px</span> and Gmail uses <span style="font-size: 16px; font-family: verdana,arial;">16px</span>.</p>
<p>Below is an example. This is the minimum of style sheets required to style text and links.</p>
<pre><code>&lt;table width="400" cellspacing="0" cellpadding="0"&gt; &lt;tr&gt; &lt;td style="font-family: Verdana, sans-serif; font-size: 11px; color: black"&gt; &lt;p&gt;&lt;a href="http://www.website.com/030205/" style="font-family: Verdana, font-size: 11px; color: blue"&gt;Lorem&lt;/a&gt; ipsum dolor sit amet, consectetuer adipiscing elit.&lt;/p&gt;&lt;/td&gt; &lt;td style="font-family: Verdana, sans-serif; font-size: 10px; color: black"&gt;Vivamus ut sem. Fusce aliquam nunc vitae purus.&lt;/td&gt; &lt;/tr&gt; &lt;/table&gt;</code></pre>
<p>I always use <code>text-decoration: underline</code> to make it clear to<br />
the reader that it&#8217;s a link:</p>
<pre><code>&lt;a href="http://www.website.com/030205/" style="font-family: Verdana, font-size: 11px; color: blue; text-decoration: underline"&gt;Lorem&lt;/a&gt;</code></pre>
<h4>Email addresses and URLs as text</h4>
<p>In most cases when using an email address or an URL as text it will be given a default style. For example:</p>
<p><code>Send all your questions to contact@example.com</code><br />
<code>Go to http://www.example.com for more information</code><br />
<code>Go to www.example.com for more information</code><br />
<code>Go to sub.example.com for more information</code></p>
<p>Gmail and Yahoo give all the above text a default style even though they aren&#8217;t links. Hotmail and Windows Live Hotmail don&#8217;t give default styles to URLs without <code>http://</code>.</p>
<h3><a name="title_alt_attribute"></a></h3>
<p>Use the <code>alt</code> attribute to describe your images except spacers. The alt text is displayed when images aren&#8217;t being displayed. Image aren&#8217;t displayed by default by most webmail and email clients.</p>
<p>The <code>title</code> attribute can be just for almost any element (links, images, tables, etc.). Use the title attribute if you want to display a tooltip to describe the element. It is recommended to use it for links and images. For example:</p>
<pre><code>&lt;img src="cd.jpg" width="170" height="230" alt="Kool Keith CD - black elvis" title="The new Kool Keith CD&gt; &lt;a href="http://www.website.com/order.php?id=23" title="Order the new Kool Keith CD"&gt;Order CD&lt;/a&gt;</code></pre>
<p>Move your mouse over <a title="This is text in a tooltip" href="#">this</a> link to view a tooltip.</p>
<h3><a name="br_p_tag"></a></h3>
<p>The <code>&lt;P&gt;</code> tag in Internet Explorer uses more space (margin-top and margin-bottom) than in Gecko-based browsers. This could lead to layout problems.</p>
<p>For example, if you&#8217;re using a table width a fixed width and height and your design is based upon these dimensions. If you have content in the table within <code>&lt;P&gt;</code> tags, than the height of the table could increase in Internet Explorer which could lead to gaps in your design.</p>
<p>To prevent layout problems use the <code>&lt;BR&gt;</code> tag instead of the <code>&lt;P&gt;</code> tag as it renders the same in all browsers. If you still have troubles with the layout you can also use spacers instead of the <code>&lt;P&gt;</code> and the <code>&lt;BR&gt;</code> tag.</p>
<p>Another problem with <code>&lt;P&gt;</code> tags is in Windows Live Hotmail. <code>&lt;P&gt;</code> tags are removed. So the safest way is to use the <code>&lt;BR&gt;</code> tag.</p>
<h3><a name="spacers"></a></h3>
<p>Use 1&#215;1 transparent images (spacers) to force tables to display the correct width and height. For example:</p>
<pre><code>&lt;table width="200"&gt; &lt;tr&gt; &lt;td width="50"&gt;&amp;nbsp;&lt;/td&gt; &lt;td width="150"&gt;Lorem ipsum dolor sit amet adipiscing.&lt;/td&gt; &lt;/tr&gt; &lt;/table&gt;</code></pre>
<p>The table cell with a width of 50 pixels only has a space as content. This doesn&#8217;t mean the specified width will be displayed correctly. If the width of the first table cell isn&#8217;t displayed<br />
correctly, than this is mostlikey also the case width the second table cell.</p>
<p>You have to force the width to be displayed correctly:</p>
<pre><code>&lt;table width="200"&gt; &lt;tr&gt; &lt;td&gt;&lt;img src="http://www.yourwebsite.com/images/spacer.gif" width="50" height="1"&gt;&lt;/td&gt; &lt;td&gt;&lt;img src="http://www.yourwebsite.com/images/spacer.gif" width="150" height="1"&gt;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;&amp;nbsp;&lt;/td&gt; &lt;td&gt;Lorem ipsum dolor sit amet adipiscing.&lt;/td&gt; &lt;/tr&gt; &lt;/table&gt;</code></pre>
<h3><a name="maximum_width"></a></h3>
<p>Choosing a width mostly applies to webmail clients. When you double click on an email in Outlook or Thunderbird, you can almost view it full screen.</p>
<p>With a resolution at 1024&#215;768 you can use a maximum width of 750px. But you can also use a higher width. If you use a higher width (for example 800px) at 1024&#215;768 a horizontal scrollbar could appear in your webmail client. But this doesn&#8217;t have to be a problem, because all of your content is still visible. Perhaps you have to scroll a little in horizontal direction.</p>
<p>With a resolution at 800&#215;600 you can use a maximum width of 580px. But again, you can also use a higher width which could show a horizontal scrollbar. If you open your Hotmail account at 800&#215;600 a horizontal scrollbar will appear no matter wich width you use. I guess<br />
this is because of the ad banner (sky scraper, 160x600px) on the right and the large banner (super banner, 728&#215;90) at the top.</p>
<p>Le cool magazine demonstrates this with an horizontal design of their weekly <a href="http://lecool.com/cities/amsterdam/newsletters/current.html">newsletter</a>.</p>
<h3><a name="forms"></a></h3>
<p>Hotmail ignores forms in HTML email to ensure that messages do not contain malicious scripts. Other webmail services (Gmail and Yahoo) and email clients support the use of forms.</p>
<p>If you intend on sending HTML emails with a form and amongst your recipients are also people with a Hotmail email address, than I would recommend not using a form. Instead use a link to refer to a form on a HTML page.</p>
<h3><a name="javascript"></a></h3>
<p>JavaScript in HTML email is never a good idea because of all the dangerous scripting (for example XSS attacks) that can be executed. For this reason most webmail and email clients disable JavaScript by removing or ignoring it.</p>
<p>For example, this code:</p>
<pre><code>&lt;a href="javascript://" onclick="window.open('http://www.website.com/cd.html','','width=500,height=400')"&gt;View tracklisting&lt;/a&gt;</code></pre>
<p>would be rewritten to:</p>
<pre><code>&lt;a href="#"&gt;View tracklisting&lt;/a&gt;</code></pre>
<p>The solution is to refer to the tracklisting without JavaScript.</p>
<pre><code>&lt;a href="http://www.yourwebsite.com/discount/cd.html"&gt;View tracklisting&lt;/a&gt;</code></pre>
<h3><a name="unsubscribe_link"></a></h3>
<p>Although you test your HTML email with different webmail and email clients, you never can be sure how it will display in your recipients email program. In case it doens&#8217;t display correctly provide a link at the top of every HTML email to view your HTML email in the browser for an online version, for example:</p>
<pre><code>if this email doesn't display correctly, <a href="http://www.example.com/mailings/2005/01/">view the online version</a></code></pre>
<p>The example link used here is <code>http://www.example.com/mailings/2005/01/</code>. Use structured directories, so you can archive all your HTML emails easily.</p>
<p>Use the <code>&lt;TITLE&gt;</code> tag in the online version. If you omit the tag in the online version, Internet Explorer will show the url as the title.</p>
<h3><a name="online_version_extra"></a></h3>
<p>Check the statistics for your website so you can see which browsers are the most popular among your visitors. If you want to test your design in multiple browsers on a Windows machine then you have several options.</p>
<h4>Standalone browsers</h4>
<p>The easiest options are to use standalone browsers like <a href="http://www.mozilla.com/firefox/">Mozilla Firefox</a> and <a href="http://www.opera.com/">Opera</a>. If you want to test in multiple older versions of Internet Explorer, try <a href="http://thepiratebay.org/torrent/6168696/Spoon.net_-_Sandboxed_IE6_IE7_IE8_Standalone">Spoon&#8217;s Sandboxed IE6/7/8</a> (torrent). Download this with <a href="http://www.utorrent.com/">uTorrent</a> for example.  <a href="http://www.iecss.com/spoon/">Read more about Spoon&#8217;s Sandboxed browsers</a>.</p>
<p>You can also try <a title="IETester" href="http://www.my-debugbar.com/wiki/IETester/HomePage ">IETester</a>. You can test websites in IE5.5, IE6, IE7, IE8 Beta 2 and you can use tabs. Every tab can be a different IE version.</p>
<h4><span style="line-height: 27px;"><a name="avoid_marked_spam"></a></span></h4>
<p>A substantial part of your subscribers are probably still using Hotmail or Windows Live Mail. To get your newsletter arrive in the inbox of your Hotmail/Windows Live Mail subscribers is still the hardest thing to accomplish. Read this document from Microsoft titled &#8220;<a href="http://download.microsoft.com/download/e/3/3/e3397e7c-17a6-497d-9693-78f80be272fb/enhance_deliver.pdf">Improving E-mail Deliverability into Windows Live Hotmail</a>&#8221; (26 pages, 1,02 MB).</p>
<h3><a name="dhtml"></a></h3>
<p>When you try to use Flash in your HTML email the HTML code gets removed or ignored by webmail and email clients.</p>
<p>The best thing to do is to put your Flash movie online. Then in your HTML email create an attractive clickable image that refers to the Flash movie online. Also put above or under the clickable image a text link with text from the image. Because images are not displayed by<br />
default, the recipient will see the text first. Unless your address is in the address book of the recipient.</p>
<h3><a name="validate_html_css"></a></h3>
<h2>Validate your HTML and CSS</h2>
<p>Validating your <a href="http://validator.w3.org/">HTML</a> and <a href="http://jigsaw.w3.org/css-validator/">CSS</a> decreases the incorrect display of your HTML email. </p>
<h4>Track your email campaigns with <a href="http://analytics.blogspot.com/2009/03/tips-for-tracking-email-marketing.html">Google Analytics</a>. A Gmail account is required to use analytics.</h4>
<h3><a name="phpmailer"></a></h3>
<ol>
<li>Go to the website of <a href="http://phpmailer.sourceforge.net/">PHPMailer</a> and download the latest version.</li>
<li>Unpack PHPMailer and upload it to your website.</li>
<li>Copy and paste the following code in a php file (e.g. test.php) and upload it to your website:
<pre><code>&lt;?php require("class.phpmailer.php"); $mail = new PHPMailer(); $mail-&gt;From = "namesender@name.com"; $mail-&gt;FromName = "Firstname Lastname"; $mail-&gt;AddBCC('namerecipient1@name.com', 'John Doe1'); $mail-&gt;AddBCC('namerecipient2@name.com', 'John Doe2'); $mail-&gt;AddBCC('namerecipient3@name.com', 'John Doe3'); $mail-&gt;WordWrap = 50; $mail-&gt;IsHTML(true); $mail-&gt;Subject = "Here is the subject"; $mail-&gt;Body = "&lt;&lt;&lt;HTMLCODE &lt;p&gt;Copy and paste your &lt;b&gt;HTML code&lt;/b&gt; here&lt;/p&gt; HTMLCODE; if(!$mail-&gt;Send()) { echo "Message could not be sent. &lt;p&gt;"; echo "Mailer Error: " . $mail-&gt;ErrorInfo; exit; } echo "Message has been sent"; ?&gt;</code></pre>
</li>
<li>Open the php file online, e.g.:http://www.website.com/phpmailer/test.php</li>
<li>You should see &#8220;Message has been sent&#8221;.</li>
</ol>
<h3><a name="multipart_alternative"></a></h3>
<p>If you know for sure your target audience uses a standalone email program such as Outlook or Thunderbird (or another) than it&#8217;s easier to create a HTML email.</p>
<p>You have far less limitations than a webmail client:</p>
<ul>
<li>you can use embedded style sheets (css in the head)</li>
<li>you can use forms</li>
<li>you can use a background color</li>
<li>you can use a background image</li>
<li>you can use absolute positioning</li>
<li>you can use meta tags</li>
</ul>
<h3><a name="forwarding"></a></h3>
<ul>
<li><a href="http://webdesignerwall.com/general/make-your-html-email-5-times-more-mobile-friendly">Make Your HTML Email 5½ Times More Mobile Friendly</a></li>
<li><a href="http://www.smashingmagazine.com/2010/02/15/email-newsletters-guidelines-and-examples/">Email Newsletter Design: Guidelines And Examples (Smashing Magazine)</a></li>
<li><a href="http://www.email-standards.org/"><strong>Email Standards Project</strong></a></li>
<li><a href="http://www.dmnews.com/cms/dm-opinion/essential-guides.html">Essential Guides</a> (PDFs)</li>
<li><a href="http://www.banane.com/workblog/">Adventures in Email Marketing</a></li>
<li><a href="http://www.messagingtimes.com/blog/?cat=50">The Messaging Times</a></li>
<li><a href="http://www.mailermailer.com/metrics/">Email Marketing Metrics Report</a> &#8211; (PDF, 2,87 MB)</li>
<li><a href="http://www.b2bemailmarketing.com/ ">Tamara&#8217;s Email Marketin Best Practices Blog</a></li>
<li><a href="http://www.theemailwars.com/">The Email Wars</a></li>
<li><a href="http://www.emailmarketingvoodoo.com/">Email Marketing Voodoo</a></li>
<li><a href="http://www.newsletterarchive.org/">Newsletter Archive</a></li>
<li><a href="http://www.email-marketing-reports.com/">Email Marketing Reports</a></li>
<li><a href="http://blog.verticalresponse.com/verticalresponse_blog/">VerticalResponse Email Marketing Blog</a></li>
<li><a href="http://www.emailstatcenter.com/">EmailStatCenter: The Leading Authority on Email Marketing Metrics</a></li>
<li><a href="http://www.emaillabs.com/email_marketing_articles/">Email Marketing Articles &#8211; EmailLabs</a></li>
<li><a href="http://www.campaignmonitor.com/blog/">Campaign Monitor Blog</a></li>
<li><a href="http://mailchimp.blogs.com/">MailChimp Blog</a></li>
<li><a href="http://emailmarketingwiki.org/">Email Marketing Wiki</a></li>
</ul>
[contact-form-7]
]]></content:encoded>
			<wfw:commentRss>http://www.anandgraves.com/html-email-guide/feed/</wfw:commentRss>
		<slash:comments>21</slash:comments>
		</item>
	</channel>
</rss>

