<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: A module to send email simply in Python</title>
	<atom:link href="http://ginstrom.com/scribbles/2009/03/15/a-module-to-send-email-simply-in-python/feed/" rel="self" type="application/rss+xml" />
	<link>http://ginstrom.com/scribbles/2009/03/15/a-module-to-send-email-simply-in-python/</link>
	<description>Random scribbling about programming, translation, and Japan</description>
	<lastBuildDate>Fri, 12 Mar 2010 18:13:34 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Ryan Ginstrom</title>
		<link>http://ginstrom.com/scribbles/2009/03/15/a-module-to-send-email-simply-in-python/comment-page-1/#comment-15221</link>
		<dc:creator>Ryan Ginstrom</dc:creator>
		<pubDate>Thu, 18 Feb 2010 04:13:37 +0000</pubDate>
		<guid isPermaLink="false">http://ginstrom.com/scribbles/?p=898#comment-15221</guid>
		<description>@Pierre

Please download the &lt;a href=&quot;http://pypi.python.org/pypi/mailer/0.5&quot;&gt;latest version from pypi&lt;/a&gt;. It will let you send an attachment with an HTML email.</description>
		<content:encoded><![CDATA[<p>@Pierre</p>
<p>Please download the <a href="http://pypi.python.org/pypi/mailer/0.5">latest version from pypi</a>. It will let you send an attachment with an HTML email.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pierre Morel</title>
		<link>http://ginstrom.com/scribbles/2009/03/15/a-module-to-send-email-simply-in-python/comment-page-1/#comment-15211</link>
		<dc:creator>Pierre Morel</dc:creator>
		<pubDate>Thu, 18 Feb 2010 00:17:41 +0000</pubDate>
		<guid isPermaLink="false">http://ginstrom.com/scribbles/?p=898#comment-15211</guid>
		<description>Hi,
This mailer is extremely useful ...
How can I send an HTML email WITH a file attachment?
Thanks in davnce for your help.
Pierre</description>
		<content:encoded><![CDATA[<p>Hi,<br />
This mailer is extremely useful &#8230;<br />
How can I send an HTML email WITH a file attachment?<br />
Thanks in davnce for your help.<br />
Pierre</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ryan Ginstrom</title>
		<link>http://ginstrom.com/scribbles/2009/03/15/a-module-to-send-email-simply-in-python/comment-page-1/#comment-12161</link>
		<dc:creator>Ryan Ginstrom</dc:creator>
		<pubDate>Tue, 24 Nov 2009 00:19:16 +0000</pubDate>
		<guid isPermaLink="false">http://ginstrom.com/scribbles/?p=898#comment-12161</guid>
		<description>@krisidian

You can automate Outlook to send emails with attachments, etc. This is quite doable using VBA.

The problem with Python is that when you automate Outlook from a scripting language (outside its own VBA environment), it will pop up a warning to the user.

Two ways to get around this: Write a python COM module that is called from a VBA macro within Outlook; or write a C++ &quot;shim&quot; that wraps calls to Outlook, and code against that from Python.</description>
		<content:encoded><![CDATA[<p>@krisidian</p>
<p>You can automate Outlook to send emails with attachments, etc. This is quite doable using VBA.</p>
<p>The problem with Python is that when you automate Outlook from a scripting language (outside its own VBA environment), it will pop up a warning to the user.</p>
<p>Two ways to get around this: Write a python COM module that is called from a VBA macro within Outlook; or write a C++ &#8220;shim&#8221; that wraps calls to Outlook, and code against that from Python.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: krisidian</title>
		<link>http://ginstrom.com/scribbles/2009/03/15/a-module-to-send-email-simply-in-python/comment-page-1/#comment-12154</link>
		<dc:creator>krisidian</dc:creator>
		<pubDate>Mon, 23 Nov 2009 20:38:35 +0000</pubDate>
		<guid isPermaLink="false">http://ginstrom.com/scribbles/?p=898#comment-12154</guid>
		<description>Hey can this be implemented in Windows environment with Outlook/Exchange technology? - please tell how thanks, Kris...</description>
		<content:encoded><![CDATA[<p>Hey can this be implemented in Windows environment with Outlook/Exchange technology? &#8211; please tell how thanks, Kris&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kenny</title>
		<link>http://ginstrom.com/scribbles/2009/03/15/a-module-to-send-email-simply-in-python/comment-page-1/#comment-11406</link>
		<dc:creator>kenny</dc:creator>
		<pubDate>Sun, 18 Oct 2009 15:47:53 +0000</pubDate>
		<guid isPermaLink="false">http://ginstrom.com/scribbles/?p=898#comment-11406</guid>
		<description>thanks ryan for this, i was having a bit of a headache working with smtplib... mailer solved my attachment issue. :)</description>
		<content:encoded><![CDATA[<p>thanks ryan for this, i was having a bit of a headache working with smtplib&#8230; mailer solved my attachment issue. <img src='http://ginstrom.com/scribbles/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ryan Ginstrom</title>
		<link>http://ginstrom.com/scribbles/2009/03/15/a-module-to-send-email-simply-in-python/comment-page-1/#comment-11139</link>
		<dc:creator>Ryan Ginstrom</dc:creator>
		<pubDate>Wed, 07 Oct 2009 02:37:34 +0000</pubDate>
		<guid isPermaLink="false">http://ginstrom.com/scribbles/?p=898#comment-11139</guid>
		<description>@Obi-sama

Good suggestion, thanks. I&#039;ll include that in the next version of the module.</description>
		<content:encoded><![CDATA[<p>@Obi-sama</p>
<p>Good suggestion, thanks. I&#8217;ll include that in the next version of the module.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Obi-sama</title>
		<link>http://ginstrom.com/scribbles/2009/03/15/a-module-to-send-email-simply-in-python/comment-page-1/#comment-11124</link>
		<dc:creator>Obi-sama</dc:creator>
		<pubDate>Tue, 06 Oct 2009 09:45:21 +0000</pubDate>
		<guid isPermaLink="false">http://ginstrom.com/scribbles/?p=898#comment-11124</guid>
		<description>Having CC and BCC would be useful.</description>
		<content:encoded><![CDATA[<p>Having CC and BCC would be useful.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ryan Ginstrom</title>
		<link>http://ginstrom.com/scribbles/2009/03/15/a-module-to-send-email-simply-in-python/comment-page-1/#comment-11068</link>
		<dc:creator>Ryan Ginstrom</dc:creator>
		<pubDate>Sat, 03 Oct 2009 13:23:35 +0000</pubDate>
		<guid isPermaLink="false">http://ginstrom.com/scribbles/?p=898#comment-11068</guid>
		<description>@Shubham Vidyarthi

Thanks for the catch.

This is &lt;a href=&quot;http://ginstrom.com/code/mailerdocs/mailer.mailer-pysrc.html#Mailer._send&quot;&gt;fixed&lt;/a&gt; in the latest version of the &lt;a href=&quot;http://ginstrom.com/code/mailer.html&quot;&gt;mailer&lt;/a&gt; module.</description>
		<content:encoded><![CDATA[<p>@Shubham Vidyarthi</p>
<p>Thanks for the catch.</p>
<p>This is <a href="http://ginstrom.com/code/mailerdocs/mailer.mailer-pysrc.html#Mailer._send">fixed</a> in the latest version of the <a href="http://ginstrom.com/code/mailer.html">mailer</a> module.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shubham Vidyarthi</title>
		<link>http://ginstrom.com/scribbles/2009/03/15/a-module-to-send-email-simply-in-python/comment-page-1/#comment-11055</link>
		<dc:creator>Shubham Vidyarthi</dc:creator>
		<pubDate>Fri, 02 Oct 2009 20:12:51 +0000</pubDate>
		<guid isPermaLink="false">http://ginstrom.com/scribbles/?p=898#comment-11055</guid>
		<description>@justin and @oyster

    def _send(self, server, msg):
        &quot;&quot;&quot;
        Sends a single message using the server
        we created in send()
        &quot;&quot;&quot;
        me = msg.From
        you = [x.split() for x in msg.To.split(&quot;,&quot;)]
        server.sendmail(me, you, msg.as_string())


it should be x.strip instead of x.split</description>
		<content:encoded><![CDATA[<p>@justin and @oyster</p>
<p>    def _send(self, server, msg):<br />
        &#8220;&#8221;"<br />
        Sends a single message using the server<br />
        we created in send()<br />
        &#8220;&#8221;"<br />
        me = msg.From<br />
        you = [x.split() for x in msg.To.split(",")]<br />
        server.sendmail(me, you, msg.as_string())</p>
<p>it should be x.strip instead of x.split</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ryan Ginstrom</title>
		<link>http://ginstrom.com/scribbles/2009/03/15/a-module-to-send-email-simply-in-python/comment-page-1/#comment-1386</link>
		<dc:creator>Ryan Ginstrom</dc:creator>
		<pubDate>Sat, 25 Apr 2009 08:55:01 +0000</pubDate>
		<guid isPermaLink="false">http://ginstrom.com/scribbles/?p=898#comment-1386</guid>
		<description>I just updated mailer to version 0.3. Please see the &lt;a href=&quot;/code/mailer.html&quot;&gt;mailer home page&lt;/a&gt; for the latest version, documentation, and code samples.</description>
		<content:encoded><![CDATA[<p>I just updated mailer to version 0.3. Please see the <a href="/code/mailer.html">mailer home page</a> for the latest version, documentation, and code samples.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
