26 July 2012 2 Comments

Python Snippet: Sending HTML email with an attachment via Google Apps SMTP (or Gmail)

This is just one of those things that I had to do in a project (as part of a much bigger system), and wish I had it all laid out for me like this when I was writing it.

Here it is for your cut-n-paste hacking pleasure…