SMTP

Hans Nowak hnowak at cuci.nl
Thu Aug 16 06:22:33 EDT 2001


>===== Original Message From Ralf Claus <ralf.claus at teleatlas.com> =====
>Hello,
>how can I give a "subject" to smtplib ?
>
>Thanks for your responses

Judging from the example at

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

I guess you just stick a string with "Subject: ..." in the msg string, just 
like you do with "To: " and "From: ".

HTH,

--Hans Nowak





More information about the Python-list mailing list