I wrote a module to do this a while back. I put the script on my website just now. Let me know if it helps. http://www.blendedtechnologies.com/how-to-send-emails-with-python/19 -- Gregory Piñero CEO and Founder Blended Technologies (www.blendedtechnologies.com)