Popular Python recipes tagged "meta:requires=mimewriter"http://code.activestate.com/recipes/langs/python/tags/meta:requires=mimewriter/2005-10-19T08:13:27-07:00ActiveState Code RecipesEmail pretty tracebacks to yourself (or someone you love) (Python)
2005-10-19T08:13:27-07:00Cliff Wellshttp://code.activestate.com/recipes/users/2631558/http://code.activestate.com/recipes/442459-email-pretty-tracebacks-to-yourself-or-someone-you/
<p style="color: grey">
Python
recipe 442459
by <a href="/recipes/users/2631558/">Cliff Wells</a>
(<a href="/recipes/tags/debugging/">debugging</a>).
</p>
<p>Even production applications have bugs, and it would be nice to have Python tracebacks emailed to you rather than dumped to the hapless user's screen. This recipe shows you how.</p>
Reverse Lookup Yellow Page (Python)
2002-08-15T16:07:17-07:00Victor Yanghttp://code.activestate.com/recipes/users/627255/http://code.activestate.com/recipes/145126-reverse-lookup-yellow-page/
<p style="color: grey">
Python
recipe 145126
by <a href="/recipes/users/627255/">Victor Yang</a>
(<a href="/recipes/tags/web/">web</a>).
</p>
<p>look up personal/home address from a phone number (US & Canada)
usage: ryp.py -s <a href="http://sendmail.your.com" rel="nofollow">sendmail.your.com</a> -e <a href="mailto:dude@your.com">dude@your.com</a> -p 416-345-3432
it has built in email & phone # validation.
The phone number can take most common format.</p>
Send HTML Mail From Python (Python)
2001-08-21T14:36:21-07:00Art Gillespiehttp://code.activestate.com/recipes/users/122951/http://code.activestate.com/recipes/67083-send-html-mail-from-python/
<p style="color: grey">
Python
recipe 67083
by <a href="/recipes/users/122951/">Art Gillespie</a>
.
</p>
<p>After wrestling and wrestling with Outlook 2000 to turn <em>off</em> HTML mail, I had to figure out how to send HTML from Python for a recent project. Oh the irony, the irony.</p>
<p>It's good policy (and trivially easy) to embed two versions of your message if you're planning on sending HTML mail: the HTML version, and a text-only version. Lots of folks still prefer their character-mode MUAs (viva Mutt!) so don't go alienating them by sending them something that they can't read.</p>
<p>The e-mails generated by this code have been tested on and render correctly with Outlook 2000, Eudora 4.2, Hotmail, and Netscape Mail. It's likely that they will work in other HTML-capable MUAs as well.</p>
Sending multipart MIME email with smtplib and MimeWriter (Python)
2001-03-13T16:52:58-08:00Richard Joneshttp://code.activestate.com/recipes/users/98119/http://code.activestate.com/recipes/52243-sending-multipart-mime-email-with-smtplib-and-mime/
<p style="color: grey">
Python
recipe 52243
by <a href="/recipes/users/98119/">Richard Jones</a>
(<a href="/recipes/tags/network/">network</a>).
</p>
<p>This code constructs a multipart MIME email message and sends it using smtplib.</p>