<?xml version="1.0" encoding="utf-8"?>
			
			<rss version="2.0" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:cc="http://web.resource.org/cc/" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd">

			<channel>
			<title>Jamie Krug&apos;s ColdFusion Blog - Gmail</title>
			<link>http://jamiekrug.com/blog/index.cfm</link>
			<description>Jamie Krug&apos;s ColdFusion blog, regarding ColdFusion/CFML and other programming adventures as well as some learning experiences. EDB: Event Driven Blogging (in the event that I actually have something worth sharing:)</description>
			<language>en-us</language>
			<pubDate>Wed, 08 Sep 2010 19:51:10 -0400</pubDate>
			<lastBuildDate>Fri, 13 Feb 2009 08:59:00 -0400</lastBuildDate>
			<generator>BlogCFC</generator>
			<docs>http://blogs.law.harvard.edu/tech/rss</docs>
			<managingEditor>jamie@jamiekrug.com</managingEditor>
			<webMaster>jamie@jamiekrug.com</webMaster>
			<itunes:subtitle></itunes:subtitle>
			<itunes:summary></itunes:summary>
			<itunes:category text="Technology" />
			<itunes:category text="Technology">
				<itunes:category text="Podcasting" />
			</itunes:category>
			<itunes:category text="Technology">
				<itunes:category text="Tech News" />
			</itunes:category>
			<itunes:keywords></itunes:keywords>
			<itunes:author></itunes:author>
			<itunes:owner>
				<itunes:email>jamie@jamiekrug.com</itunes:email>
				<itunes:name></itunes:name>
			</itunes:owner>
			<itunes:image href="" />
			<image>
				<url></url>
				<title>Jamie Krug&apos;s ColdFusion Blog</title>
				<link>http://jamiekrug.com/blog/index.cfm</link>
			</image>
			<itunes:explicit>no</itunes:explicit>
			
			
			
			
			
			<item>
				<title>cfmailpart order for HTML display in Gmail</title>
				<link>http://jamiekrug.com/blog/index.cfm/2009/2/13/cfmailpart-order-for-HTML-display-in-Gmail</link>
				<description>
				
				It seems that Gmail only renders the HTML part of my multi-part messages from cfmail when the text cfmailpart is before the html cfmailpart.

For example, Gmail will render the text version if I do this:

&lt;code&gt;&lt;cfmail from=&quot;#from#&quot; to=&quot;#to#&quot; subject=&quot;Multi-part, html first&quot;&gt;
    &lt;cfmailpart type=&quot;html&quot;&gt;&lt;h1&gt;HTML Message Part&lt;/h1&gt;&lt;/cfmailpart&gt;
    &lt;cfmailpart type=&quot;text&quot;&gt;Text Message Part&lt;/cfmailpart&gt;
&lt;/cfmail&gt;&lt;/code&gt;

But if I just swap the order of the cfmailpart entries, then Gmail renders the HTML version:

&lt;code&gt;&lt;cfmail from=&quot;#from#&quot; to=&quot;#to#&quot; subject=&quot;Multi-part, text first&quot;&gt;
    &lt;cfmailpart type=&quot;text&quot;&gt;Text Message Part&lt;/cfmailpart&gt;
    &lt;cfmailpart type=&quot;html&quot;&gt;&lt;h1&gt;HTML Message Part&lt;/h1&gt;&lt;/cfmailpart&gt;
&lt;/cfmail&gt;&lt;/code&gt;

I had a friend test on Outlook and that client appears to show the HTML part, regardless of the ordering of the text/html parts in the message body. Though I haven&apos;t tested any other mail clients yet, I&apos;ll keep the text part first and html part second in my multi-part e-mails. I know they&apos;ll display as intended in both Gmail and Microsoft Outlook (and I&apos;m guessing most other clients behave like Outlook, in that they&apos;ll default to an HTML part if one is there).
				
				</description>
						
				
				<category>CFML</category>				
				
				<category>Gmail</category>				
				
				<pubDate>Fri, 13 Feb 2009 08:59:00 -0400</pubDate>
				<guid>http://jamiekrug.com/blog/index.cfm/2009/2/13/cfmailpart-order-for-HTML-display-in-Gmail</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>cfmail using Gmail SMTP</title>
				<link>http://jamiekrug.com/blog/index.cfm/2009/2/13/cfmail-using-Gmail-SMTP</link>
				<description>
				
				I wanted to have a cfmail tag use my Gmail SMTP to send mail, which was relatively straightforward, but there is some vague language in the Google help doc that didn&apos;t immediately translate to cfmail attribute settings. I did find plenty of search results on the topic, but most threads were a little confusing and noted differing experiences between developers. So I&apos;ve taken a little time to experiment and thought I&apos;d share the results.

From both my gmail.com account and my Google Apps for Your Domain mail (gmail for custom domain name) accounts I was able to find the same &lt;a href=&quot;http://mail.google.com/support/bin/answer.py?answer=13287&quot;&gt;help doc&lt;/a&gt; for standard POP/SMTP configuration.

We can quickly deduce that the username attribute should be your full e-mail address (including @gmail.com or @your_domain.com), and the password is of course your Gmail password.

The help doc provides the following information for the outgoing/SMTP server configuration:

&lt;blockquote&gt;smtp.gmail.com (use authentication)&lt;br /&gt;
Use Authentication: Yes&lt;br /&gt;
Use STARTTLS: Yes (some clients call this SSL)&lt;br /&gt;
Port: 465 or 587&lt;/blockquote&gt;

So, how does the above information translate to relevant cfmail tag attributes (server, port, username, password, useSSL, useTLS)? It&apos;s a bit more specific than the Gmail help doc suggests...
				 [More]
				</description>
						
				
				<category>CFML</category>				
				
				<category>Open BlueDragon</category>				
				
				<category>Gmail</category>				
				
				<category>ColdFusion</category>				
				
				<category>Railo</category>				
				
				<pubDate>Fri, 13 Feb 2009 07:35:00 -0400</pubDate>
				<guid>http://jamiekrug.com/blog/index.cfm/2009/2/13/cfmail-using-Gmail-SMTP</guid>
				
			</item>
			
		 	
			</channel></rss>