Smtplib...
Oleg Broytmann
phd at phd.fep.ru
Wed Apr 4 08:57:37 EDT 2001
On Wed, 4 Apr 2001, Vincent A. Primavera wrote:
> When sending mail with smtplib, how would you attach a file?
Absoluteley the same way you'd use sending mail with sendmail. First,
learn a bit the MIME standards. Then learn to use MimeWriter.py from
standard Python library. Search the Net for examples.
Oleg.
----
Oleg Broytmann http://phd.pp.ru/ phd at phd.pp.ru
Programmers don't die, they just GOSUB without RETURN.
More information about the Python-list
mailing list