<p>Do you attach the images? </p>

<p>Use absolute urls? </p>

<p>How do you best avoid getting flagged as spam? </p>

[{'answer_id': 44544, 'author': 'Grégoire Cachet', 'author_id': 1044, 'author_profile': 'https://Stackoverflow.com/users/1044', 'pm_score': 2, 'selected': False, 'text': '<p>Campaign Monitor is a great resources for html email:\n<a href="http://www.campaignmonitor.com/resources/#building" rel="nofollow noreferrer">http://www.campaignmonitor.com/resources/#building</a></p>\n\n<p>Also <a href="http://www.email-standards.org/" rel="nofollow noreferrer">http://www.email-standards.org/</a>, but seems down right now.</p>\n'}, {'answer_id': 44546, 'author': 'Ian', 'author_id': 4396, 'author_profile': 'https://Stackoverflow.com/users/4396', 'pm_score': 4, 'selected': False, 'text': "<p>One of the biggest causes, that I have found, for email to be flagged as spam is DNS.  Make sure the domain / MX records from which you are sending the email actually resolve correctly back from the server used for sending.</p>\n\n<p>As for images, you could attach them, but the most common way is to host them and use absolute urls.  Primarily this is a bandwidth issue - you have to figure you're going to get an open rate of 10 - 15%: if you have to attach all the assets to every email, 85% of the bandwidth you'll use will be wasted.</p>\n"}, {'answer_id': 45081, 'author': 'Bryan M.', 'author_id': 4636, 'author_profile': 'https://Stackoverflow.com/users/4636', 'pm_score': 3, 'selected': False, 'text': '<p>You\'ll want to use absolute URLs to link out to images on a server. Users won\'t want to download your attachments. Also most email clients will not displays images by default, so it\'s a good idea to keep the really important content as text.</p>\n\n<p>Email clients generally all use very different rendering methods. For example, Outlook 2007 uses Word\'s HTML rendering engine, whereas previous versions used Internet Explorer.</p>\n\n<p>Do be aware that CSS support is also very limited to in emails. Most clients, especially web mail, will strip out everything outside of the &lt;body&gt; tag, as well as &lt;style&gt; tags. This means that external or embedded CSS will not work, and that inline styles are the safest bet (the style="" attribute). There is also poor support for many CSS rules in Outlook 2007. This means that a lot people have returned to using tables for laying out email.</p>\n\n<p>As it was pointed out, Campaign Monitor is an excellent resource, and I especially recommend their <a href="http://www.campaignmonitor.com/css/" rel="noreferrer">CSS Compatibility Chart</a></p>\n'}, {'answer_id': 45118, 'author': 'EndangeredMassa', 'author_id': 106, 'author_profile': 'https://Stackoverflow.com/users/106', 'pm_score': 3, 'selected': False, 'text': '<p>You attach the emails then reference them in your HTML like so:</p>\n\n<pre><code>&lt;img src="cid:imagefilename.jpg" /&gt;\n</code></pre>\n\n<p>Outlook, at least, recognizes this as a reference to an attached image and dumps it in appropriately.</p>\n'}]
['https://Stackoverflow.com/questions/44532', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/1797/']