Subject with SMTPLIB?

Fredrik Lundh fredrik at pythonware.com
Tue Mar 13 04:21:54 EST 2001


"root" wrote:
> I was disappointed that the documentation on the smtplib
> module didn't tell me that.

look for the "From:" and "To:" headers in the SMTP example,
and add a third line for "Subject:".

    http://www.python.org/doc/current/lib/SMTP-example.html

Cheers /F

<!-- (the eff-bot guide to) the standard python library:
http://www.pythonware.com/people/fredrik/librarybook.htm
-->








More information about the Python-list mailing list