<?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>Wed, 17 Feb 2010 10:05:09 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Listen to a Selection of Deezer Playlists for Party, Laidback, Hip Hop, Pop/Rock, Dance and Funk/Soul</title>
		<link>http://www.anandgraves.com/listen-to-a-selection-of-deezer-playlists-for-party-laidback-hip-hop-poprock-dance-and-funksoul/</link>
		<comments>http://www.anandgraves.com/listen-to-a-selection-of-deezer-playlists-for-party-laidback-hip-hop-poprock-dance-and-funksoul/#comments</comments>
		<pubDate>Fri, 23 Nov 2007 15:29:45 +0000</pubDate>
		<dc:creator>anand</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.anandgraves.com/listen-to-a-selection-of-deezer-playlists-for-party-laidback-hip-hop-poprock-dance-and-funksoul</guid>
		<description><![CDATA[Listen to several genres with hundreds of songs i added from the online music on demand service Deezer.]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been using <a href="http://www.deezer.com/">Deezer</a> since day one and it&#8217;s my favourite source #1 for music listening and discovery. After a free registration you can create and manage your own playlists.</p>
<p><strong></strong>Deezer also lets you embed your playlists in your blog. Listed below are some of my playlists:</p>
<p><!-- START Deezer Playlist --></p>
<div id="deezerplaylist">
<div class="playlist">
<p>Party</p>
<p><object width="180" height="220" data="http://www.deezer.com/embedded/widget.swf?path=1353269&amp;lang=en&amp;autoplay=0&amp;id=489350" type="application/x-shockwave-flash"><param name="src" value="http://www.deezer.com/embedded/widget.swf?path=1353269&amp;lang=en&amp;autoplay=0&amp;id=489350" /></object><a style="border:none;margin:0;padding:0;" href="http://www.deezer.com"><img style="border:none;margin:0;padding:0;" title="free music" src="http://www.deezer.com/embedded/footer.jpg" border="0" alt="free music" /></a></div>
<div class="playlist">
<p>Laidback</p>
<p><object width="180" height="220" data="http://www.deezer.com/embedded/widget.swf?path=1429690&amp;lang=en&amp;autoplay=0&amp;id=489350" type="application/x-shockwave-flash"><param name="src" value="http://www.deezer.com/embedded/widget.swf?path=1429690&amp;lang=en&amp;autoplay=0&amp;id=489350" /></object><a style="border:none;margin:0;padding:0;" href="http://www.deezer.com"><img style="border:none;margin:0;padding:0;" title="free music" src="http://www.deezer.com/embedded/footer.jpg" border="0" alt="free music" /></a></div>
<div class="playlist">
<p>Hip Hop</p>
<p><object width="180" height="220" data="http://www.deezer.com/embedded/widget.swf?path=1374252&amp;lang=en&amp;autoplay=0&amp;id=489350" type="application/x-shockwave-flash"><param name="src" value="http://www.deezer.com/embedded/widget.swf?path=1374252&amp;lang=en&amp;autoplay=0&amp;id=489350" /></object><a style="border:none;margin:0;padding:0;" href="http://www.deezer.com"><img style="border:none;margin:0;padding:0;" title="free music" src="http://www.deezer.com/embedded/footer.jpg" border="0" alt="free music" /></a></div>
<div class="playlist">
<p>Pop/Rock</p>
<p><object width="180" height="220" data="http://www.deezer.com/embedded/widget.swf?path=1354258&amp;lang=en&amp;autoplay=0&amp;id=489350" type="application/x-shockwave-flash"><param name="src" value="http://www.deezer.com/embedded/widget.swf?path=1354258&amp;lang=en&amp;autoplay=0&amp;id=489350" /></object><a style="border:none;margin:0;padding:0;" href="http://www.deezer.com"><img style="border:none;margin:0;padding:0;" title="free music" src="http://www.deezer.com/embedded/footer.jpg" border="0" alt="free music" /></a></div>
<div class="playlist">
<p>Dance</p>
<p><object width="180" height="220" data="http://www.deezer.com/embedded/widget.swf?path=1495744&amp;lang=en&amp;autoplay=0&amp;id=489350" type="application/x-shockwave-flash"><param name="src" value="http://www.deezer.com/embedded/widget.swf?path=1495744&amp;lang=en&amp;autoplay=0&amp;id=489350" /></object><a style="border:none;margin:0;padding:0;" href="http://www.deezer.com"><img style="border:none;margin:0;padding:0;" title="free music" src="http://www.deezer.com/embedded/footer.jpg" border="0" alt="free music" /></a></div>
<div class="playlist">
<p>Funk/Soul</p>
<p><object width="180" height="220" data="http://www.deezer.com/embedded/widget.swf?path=1255900&amp;lang=en&amp;autoplay=0&amp;id=489350" type="application/x-shockwave-flash"><param name="src" value="http://www.deezer.com/embedded/widget.swf?path=1255900&amp;lang=en&amp;autoplay=0&amp;id=489350" /></object><a style="border:none;margin:0;padding:0;" href="http://www.deezer.com"><img style="border:none;margin:0;padding:0;" title="free music" src="http://www.deezer.com/embedded/footer.jpg" border="0" alt="free music" /></a></div>
</div>
<p><!-- END Deezer Playlist --></p>
]]></content:encoded>
			<wfw:commentRss>http://www.anandgraves.com/listen-to-a-selection-of-deezer-playlists-for-party-laidback-hip-hop-poprock-dance-and-funksoul/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Remove Duplicated Email Addresses</title>
		<link>http://www.anandgraves.com/remove-duplicated-email-addresses/</link>
		<comments>http://www.anandgraves.com/remove-duplicated-email-addresses/#comments</comments>
		<pubDate>Tue, 08 May 2007 05:23:54 +0000</pubDate>
		<dc:creator>anand</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.anandgraves.com/use-unduplicate-to-get-a-list-with-correct-email-addresses</guid>
		<description><![CDATA[Remove duplicate email addresses and sort them alphabetically. Also places all the incorrect email addresses in a separate text file.]]></description>
			<content:encoded><![CDATA[<p>Remove duplicate email addresses and sort them alphabetically. Also places all the incorrect email addresses in a separate text file.</p>
<p><label>Enter or paste your list of email addresses (Each email address should be on a new line):</label></p>
<p><textarea name="textarea" cols="50" rows="6" id="address"></textarea></p>
<input type="button" value="Unduplicate" id="unduplicate" onclick="unduplicat()">
<p>You can also use a standalone offline version:</p>
<table cellpadding="4" cellspacing="0" width="266">
<tbody>
<tr>
<td width="100">Last update</td>
<td width="166">: 03 january 2005</td>
</tr>
<tr>
<td>Author</td>
<td>: <a href="mailto:wilcowitte@gmail.com">Wilco Witte</a></td>
</tr>
</tbody>
</table>
<p><a href="/downloads/unduplicate.tar">Download unduplicate.tar</a> (unduplicate.pl for Linux, Mac OS X and other)</p>
<p><a href="/downloads/unduplicate.zip">Download unduplicate.zip</a> (unduplicate.exe for Windows)</p>
<p>The windows executable file, unduplicate.exe, was created with <a href="http://tinyperl.sourceforge.net/">TinyPerl</a>.</p>
<p>Unduplicate works on a text file with email addresses. Put the text file in the same directory as unduplicate:</p>
<pre><code>name1@test.comname2@test.comname3@test.com...</code></pre>
<p>It removes empty lines and duplicate email addresses. After that it checks every emailaddress if they are syntactically valid. It then sorts all addresses alphabetically and writes the valid email addresses to a new text file. All the invalid email addresses are also<br />
written to a new text file.</p>
<p>For example addresses.txt:</p>
<pre><code>lux28@fictivedomain.comart_b1d@test.comjoshhotmail.comchris@test.com

jurgen12@whattupcomronny.dr@mywebsite.com,paul@website.comwilco_l0rd@domain.comr obbu@robbu.com</code></pre>
<p>After unduplicate has finished, 2 files will have been written:</p>
<ul>
<li>addresses_new.txt</li>
<li>addresses_error.txt</li>
</ul>
<p>addresses_new.txt contains the valid emailaddresses:</p>
<pre><code>lux28@fictivedomain.comart_b1d@test.comjoshhotmail.comchris@test.comwilco_l0rd@domain.com</code></pre>
<p>addresses_error.txt contains the invalid emailaddresses:</p>
<pre><code>jurgen12@whattupcomronny.dr@mywebsite.com,paul@website.com
r obbu@robbu.com</code></pre>
]]></content:encoded>
			<wfw:commentRss>http://www.anandgraves.com/remove-duplicated-email-addresses/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HTML Email Guide</title>
		<link>http://www.anandgraves.com/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.
HTML email or HTML newsletters have advantages and disadvantages. But your clients (recipients) decide if you will send them a HTML email or a plain text email. For example if they [...]]]></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>
<p>HTML email or HTML newsletters have <a href="http://www.optinnews.com/email_formats.html">advantages</a> and <a href="http://www.zzee.com/email-security/">disadvantages</a>. But your clients (recipients) decide if you will send them a HTML email or a plain text email. For example if they specifically sign up for a HTML newsletter.</p>
<p>The following have been tested on Windows:</p>
<ul>
<li>Webmail &#8211; Hotmail, Windows Live Hotmail, Gmail, Yahoo! Mail, Lycos Mail</li>
<li>Email clients &#8211; Outlook 2003, Thunderbird 1.5</li>
<li>Browsers &#8211; Internet Explorer 6 and 7, Mozilla Firefox 2</li>
</ul>
<p id="esp">It&#8217;s recommended to have a look at the <a href="http://www.email-standards.org/">Email Standards Project</a> who strive for standards support in email clients. You can find extensive and thorough tests for popular email clients.</p>
<div id="translations">
<h4>Translations</h4>
<ul>
<li><a href="http://www.oblank.com/html-email-guide/">Chinese</a></li>
</ul>
</div>
<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">Get several webmail accounts for testing</a></li>
<li> <a href="#effective_layout">Create an effective layout</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</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="#unsubscribe_link">Provide an unsubscribe link</a></li>
<li><a href="#online_version">Provide a link for an online version</a></li>
<li><a href="#online_version_extra">Provide extra functionality for the 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="#dhtml">Don&#8217;t use DHTML</a></li>
<li><a href="#flash">Don&#8217;t use Flash</a></li>
<li><a href="#html_email_validator">Use HTML Email Validator</a></li>
<li><a href="#html_tidy_online">Use HTML Tidy Online</a></li>
<li><a href="#tracking">Tracking Email Marketing Campaigns<br />
</a></li>
<li><a href="#unduplicate">Remove duplicated email addresses</a></li>
<li><a href="#phpmailer">Send HTML email with PHPMailer</a></li>
<li><a href="#multipart_alternative">Send your email as multipart/alternative</a></li>
<li><a href="#email_clients_flexible">Email clients are more flexible</a></li>
<li><a href="#forwarding">Forwarding HTML email</a></li>
<li><a href="#readmore">Read More</a></li>
</ul>
<h3><a name="software_htmlemail">Software for creating HTML email</a></h3>
<p>Before using the editors mentioned below, it&#8217;s important that you have knowledge of HTML and CSS. You can learn <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://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>
<li><a href="http://intype.info">Intype</a> (source code editor / free)</li>
<li><a href="http://www.macromedia.com/downloads/">Macromedia Dreamweaver</a> (WYSIWYG editor / not free)</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>
<h4>Don&#8217;t use Microsoft Word to create HTML pages or HTML email</h4>
<p>The reason is Word will write a whole lot of garbage when you create HTML pages with it. For example, I created a HTML page in Word and only put this line of text in it: &#8220;Don&#8217;t use Word to create HTML files&#8221;. Then I saved it as a HTML file. <a href="javascript:word2003()">Show/Hide</a> the HTML that Word 2003 created.</p>
<pre id="word2003" style="display: none;"><code>&lt;html xmlns:o="urn:schemas-microsoft-com:office:office"
xmlns:w="urn:schemas-microsoft-com:office:word"
xmlns="http://www.w3.org/TR/REC-html40"&gt;

&lt;head&gt;
&lt;meta http-equiv=Content-Type content="text/html; charset=windows-1252"&gt;
&lt;meta name=ProgId content=Word.Document&gt;
&lt;meta name=Generator content="Microsoft Word 11"&gt;
&lt;meta name=Originator content="Microsoft Word 11"&gt;
&lt;link rel=File-List href="Don_files/filelist.xml"&gt;
&lt;title&gt;Don’t use Word to create HTML files&lt;/title&gt;
&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;w:WordDocument&gt;
 &lt;w:GrammarState&gt;Clean&lt;/w:GrammarState&gt;
 &lt;w:PunctuationKerning/&gt;
 &lt;w:ValidateAgainstSchemas/&gt;
 &lt;w:SaveIfXMLInvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt;
 &lt;w:IgnoreMixedContent&gt;false&lt;/w:IgnoreMixedContent&gt;
 &lt;w:AlwaysShowPlaceholderText&gt;false&lt;/w:AlwaysShowPlaceholderText&gt;
 &lt;w:Compatibility&gt;
 &lt;w:BreakWrappedTables/&gt;
 &lt;w:SnapToGridInCell/&gt;
 &lt;w:WrapTextWithPunct/&gt;
 &lt;w:UseAsianBreakRules/&gt;
 &lt;w:DontGrowAutofit/&gt;
 &lt;/w:Compatibility&gt;
 &lt;w:BrowserLevel&gt;MicrosoftInternetExplorer4&lt;/w:BrowserLevel&gt;
 &lt;/w:WordDocument&gt;
&lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;w:LatentStyles DefLockedState="false" LatentStyleCount="156"&gt;
 &lt;/w:LatentStyles&gt;
&lt;/xml&gt;&lt;![endif]--&gt;
&lt;style&gt;
&lt;!--
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{mso-style-parent:"";
	margin:0in;
	margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:12.0pt;
	font-family:"Times New Roman";
	mso-fareast-font-family:"Times New Roman";}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.25in 1.0in 1.25in;
	mso-header-margin:.5in;
	mso-footer-margin:.5in;
	mso-paper-source:0;}
div.Section1
	{page:Section1;}
--&gt;
&lt;/style&gt;
&lt;!--[if gte mso 10]&gt;
&lt;style&gt;
 /* Style Definitions */
 table.MsoNormalTable
	{mso-style-name:"Table Normal";
	mso-tstyle-rowband-size:0;
	mso-tstyle-colband-size:0;
	mso-style-noshow:yes;
	mso-style-parent:"";
	mso-padding-alt:0in 5.4pt 0in 5.4pt;
	mso-para-margin:0in;
	mso-para-margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:10.0pt;
	font-family:"Times New Roman";
	mso-ansi-language:#0400;
	mso-fareast-language:#0400;
	mso-bidi-language:#0400;}
&lt;/style&gt;
&lt;![endif]--&gt;
&lt;/head&gt;

&lt;body lang=EN-US style='tab-interval:.5in'&gt;

&lt;div class=Section1&gt;

&lt;p class=MsoNormal&gt;Don’t use Word to create HTML files.&lt;/p&gt;

&lt;/div&gt;

&lt;/body&gt;
&lt;/html&gt;
</code></pre>
<p>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>
<h4>Don&#8217;t copy/paste from Microsoft Word</h4>
<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>
<h3><a name="software_sending">Software for sending HTML email</a></h3>
<h4>Swift Mailer</h4>
<p><a href="http://swiftmailer.org/">Swift Mailer</a> integrates into any web app written in PHP 5, offering a flexible and elegant       object-oriented approach to sending emails with a multitude of features.</p>
<h4>poMMo</h4>
<p><a href="http://pommo.org/Main_Page">poMMo</a> is a versatile mass mailing application for Linux which is written in PHP. I haven&#8217;t tested it out yet, but it looks very promising. Have a look at the <a href="http://www.flickr.com/photos/26392873@N00/sets/72157594430337337/show/">poMMo screenshots</a> (Flickr slideshow).</p>
<h4>PHPlist</h4>
<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. The most important thing is to configure config.php.</p>
<h4>Dada Mail &#8211; Mailing List Manager</h4>
<p><a href="http://mojo.skazat.com/">Dada Mail</a> is very customizable, easy to use and contains a lot of features like unlimited number of mailing lists, templates, archives including search engine, control panel for each mailing list and administration. Dadamail can be given extra functionality by using extensions such as the <a href="http://mojo.skazat.com/support/documentation-dada-2_10_15/dada_bounce_handler.pl.html">Mystery Girl &#8211; Bounce Handler</a>. No knowledge of Perl/CGI is required to install DadaMail. Some extensions require knowledge of using Linux.</p>
<h4>MailList Controller</h4>
<p><a href="http://www.arclab.com/products/amlc/">Arclab Maillist Controller</a> manages email lists and sends out (personalized) bulk email in html, plain text or html and plain text. Contains a WYSIWYG editor, customizable returned mail detection and a comprehensive control panel. This is a free application for which you can use one mailinglist only and a maximum up to 100 recipients.</p>
<h4>Thunderbird</h4>
<p><a href="http://www.mozilla.com/en-US/thunderbird/">Mozilla Thunderbird</a> is an email application which is able to send messages as plain text, HTML email and a combination of HTML email and plain text. Create a new message, click in the body field and choose <em>Insert &gt; HTML&#8230;</em></p>
<h4>PHPMailer</h4>
<p>PHPMailer is a full featured email application for PHP.</p>
<ul>
<li>HTML email</li>
<li>Embedded image support</li>
<li>Multipart/alternative emails for mail clients that do not read HTML email</li>
<li>Can send emails with multiple TOs, CCs, BCCs and REPLY-TOs</li>
<li>Works on any platform</li>
<li>Go to the website of <a href="http://phpmailer.sourceforge.net/">PHPMailer</a> for more features</li>
</ul>
<h3><a name="webmail"> Get several webmail accounts for testing</a></h3>
<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="effective_layout">Create an effective layout </a></h3>
<p>The layout of the HTML email and the writing style are very important. You want people to read your newsletter, not to scan it. You want to draw their attention to headlines, etc. <a href="http://www.poynterextra.org/eyetrack2004/main.htm">EyeTrackIII</a> deals with online news consumer behavior in the age of multimedia. On their website you can find an incredible load of information about Article page design, Writing style, Eyetracking, how to create hot spots and many many more.</p>
<h3><a name="unnecessary_htmltags">Remove unnecessary HTML tags</a></h3>
<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>DOCTYPE</li>
<li>HTML tag <code>&lt;HTML&gt;&lt;/HTML&gt;</code></li>
<li>BODY tag <code>&lt;BODY&gt;&lt;/BODY&gt;</code></li>
<li>All Meta tags <code>&lt;META&gt;</code></li>
<li>Head tag <code>&lt;HEAD&gt;&lt;/HEAD&gt;</code></li>
<li>Base tag <code>&lt;BASE&gt;</code></li>
<li>Link tag <code>&lt;LINK&gt;</code></li>
<li>Script tag <code>&lt;SCRIPT&gt;&lt;/SCRIPT&gt;</code></li>
<li>Title tag <code>&lt;TITLE&gt;&lt;/TITLE&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>
<li> Comments <code>&lt;!-- comments --&gt;</code></li>
</ul>
<h3><a name="tables"> Use tables for layout </a></h3>
<p>Because of the very limited 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">Put all images online</a></h3>
<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. If the email address of the sender is in the address book of the recipient, then the images in the HTML email will be shown.</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">Hide the image toolbar</a></h3>
<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 x 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">Use absolute urls</a></h3>
<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">Use 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">Use simple inline style sheets</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">Create your design with a white background color</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">Avoid background images defined on the  body</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">All text and links must have a style</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">Use the title and 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">Use &lt;BR&gt; instead of &lt;P&gt;</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">Use 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">Choosing a 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, 160&#215;600px) 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">Don&#8217;t use 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">Don&#8217;t use 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"> Provide an unsubscribe link</a></h3>
<p>At the bottom of every HTML email you should provide an unsubscribe link. After clicking on this link (<code>mailto:</code>) the recipient only has to press on the send button to remove their email address from a list, for example:</p>
<pre><code>mailto:unsubscribe@domain.com?subject=unsubscribe</code></pre>
<p>You can also let people unsubscribe from your website. But doing so gives people the possibility to unsubscribe other people. If you only provide this functionality from your HTML email, then you have less chance that unsubscribing will be misused.</p>
<h3><a name="online_version">Provide a link for an online version</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"> Provide extra functionality for the online version</a></h3>
<p>The HTML email is put online so that the online version can be viewed when it doesn&#8217;t display correctly in webmail or an email clients. But you can also change your design and put the content online. You then have for example a design with a graphic and text link. The text link is in case the images won&#8217;t load. When the link is clicked the viewer will end up in the online version.</p>
<p>Now you have different possibilities. You can use hover (mouseover) for all the links, (streaming) video/audio, you can use advanced CSS to easily create complex designs and afcourse scripting (PHP, JavaScript, AJAX, etc.) and database access.</p>
<p>This way you don&#8217;t have the limitations of HTML email in webmail and email clients but the unlimited possibilities of HTML email in the browser.</p>
<h3><a name="test_design_multiple_browsers">Test your design in multiple browsers</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 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>Mac browsers</h4>
<p>Most people don&#8217;t have a Mac to test their design on. You can use <a href="http://www.apple.com/safari/download/">Safari for Windows</a> or a screenshot service,  <a href="http://www.snugtech.com/safaritest/">Safari Compatibility Test</a>. Just enter a url and the Safaritest will return a screenshot of your page as viewed with Safari.</p>
<h4>Linux browsers</h4>
<p>Testing your design in a Linux browser can be done with a Linux LiveCD. A Linux LiveCD is Linux installed on a bootable CD-ROM or DVD-ROM. When booting from a Linux LiveCD you can start applications, create documents, etc. without anything being written or saved to the hard disk.</p>
<p>I recommend <a href="http://www.ubuntu.com/">Ubuntu</a>.  Download Ubuntu, burn it on a CD-ROM (with <a href="http://infrarecorder.sourceforge.net/">Infrarecorder</a>), put it in your CD/DVD player and reboot. Here is a list of available <a href="http://www.frozentech.com/content/livecd.php">Linux LiveCDs</a>.</p>
<h3><a name="avoid_marked_spam"> Avoid your HTML Email being marked as spam</a></h3>
<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">Don&#8217;t use DHTML</a></h3>
<p>Dynamic HTML uses a combination of Javascript, HTML and CSS. It is not recommended to use DHTML because JavaScript is disabled by most webmail clients and email clients.</p>
<h3><a name="flash">Don&#8217;t use Flash</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="html_email_validator">Use HTML Email Validator</a></h3>
<p>Use the <a href="http://www.anandgraves.com/html-email-validator/">HTML Email Validator</a> to see if your HTML is compatible for HTML email. Just copy and paste your HTML into the validator and it will report if there are any errors. Each error will refer to a section in<br />
this article that will explain the error.</p>
<h3><a name="html_tidy_online">Use HTML Tidy Online</a></h3>
<p>Use <a href="http://infohound.net/tidy/">HTML Tidy Online</a> to clean up your HTML code. This decreases the incorrect display of your HTML email. Click on the <em>advanced<br />
link</em> on the right to use advanced HTML Tidy options. View a <a href="http://tidy.sourceforge.net/docs/quickref.html">quick reference</a> of the configuration options.</p>
<p>Now you can choose your settings to optimize your HTML email code. Unfortunately there isn&#8217;t an option to save your settings. You have to manually set them each time you visit HTML Tidy Online.</p>
<h4>HTML Tidy Settings</h4>
<p>You can download a extension that automatically loads settings to optimize HTML email at HTML Tidy Online. This extension was created with <a href="http://www.letitblog.com/greasemonkey-compiler/">Greasemonkey compiler</a>. <a title="Install htmltidysettings.xpi" href="/downloads/html-tidy-settings.xpi">Install HTML Tidy Settings</a></p>
<h4>GreaseMonkey user script</h4>
<p>You could also use a GreaseMonkey user script. I have written a GreaseMonkey user script that will automatically load settings to optimize HTML email at HTML Tidy Online. Greasemonkey is a Firefox extension that allows you to write scripts that alter the web pages you<br />
visit. To load the HTML Tidy settings first <a href="https://addons.mozilla.org/nl/firefox/addon/748">install GreaseMonkey</a>. View <a href="http://diveintogreasemonkey.org/install/greasemonkey.html">this page</a> for instructions. After you&#8217;ve installed GreaseMonkey you can install the user script that loads the HTML Tidy settings.</p>
<ol>
<li>Click on <a href="/downloads/htmltidy.user.js">this link</a> to view the user script in Firefox</li>
<li>Go to Tools &gt; Install User Script &#8230;</li>
<li>A dialog will pop up with the name of the script</li>
<li>Click OK to install the user script</li>
<li>Go to <a href="http://infohound.net/tidy/">HTML Tidy Online</a> and the settings will be automatically loaded</li>
</ol>
<h3><a name="tracking">Tracking Email Marketing Campaigns</a></h3>
<p>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.</p>
<h3><a name="unduplicate">Remove duplicated email addresses</a></h3>
<p>You can find it <a href="http://www.anandgraves.com/remove-duplicated-email-addresses">here</a>.</p>
<h3><a name="phpmailer"> Send HTML email with 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">Send your email as multipart/alternative</a></h3>
<p>If you send a HTML email to people with a webmail or email client who can&#8217;t read HTML email, they will only see the HTML code. If you don&#8217;t know what your recipients use, send your email as multipart/alternative. This is the HTML version and the plain text version.</p>
<p>The email program of the recipient decides which version it will show. If it doesn&#8217;t support HTML email, it will show the plain text version. If it does support HTML email, it will show the HTML version.</p>
<h4>Send multipart/alternative email with PHPMailer</h4>
<p>Follow the same steps as <a href="#phpmailer"> Send HTML email with PHPMailer</a>. The only difference is one line of code. Add the following code after <code>$mail-&gt;Body</code>:</p>
<pre><code>$mail-&gt;AltBody = "This is the body in plain text for non-HTML mail clients";</code></pre>
<h3><a name="email_clients_flexible">Email clients are more flexible</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 (not recommended)</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">Forwarding HTML email</a></h3>
<p>When people receive a email they like they&#8217;ll usually forward it to a friend. So when your HTML formatted email is forwarded it is important that it still looks the same.</p>
<p>Forwarding HTML email works with Gmail, Yahoo, Hotmail, Lycos and SquirrelMail. To make it work you have to forward it as an attachment or just forward the HTML email.</p>
<h3><a name="readmore">Read More</a></h3>
<ul>
<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>
]]></content:encoded>
			<wfw:commentRss>http://www.anandgraves.com/html-email-guide/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
	</channel>
</rss>
