Specifying subject using smtplib

Jim Severino jimsev at my-deja.com
Sun Feb 6 16:30:00 EST 2000

Hi there

In the smtplib module, the SMTP object's method "sendmail" is formatted
like so:

sendmail (from_addr, to_addrs, msg[, mail_options, rcpt_options])

Can anyone tell me where you specify the message's subject?


I'll check my my-deja email as often as I can.
Well, whenever I remember, anyways.

Sent via Deja.com http://www.deja.com/
Before you buy.

More information about the Python-list mailing list