SMTPLIB : how to add Subject: field ?

Gillou nospam at bigfoot.com
Mon Jan 28 15:04:59 EST 2002


>From France too...

fullmail = "Subject: %s\r\n\r\n%s" % (title , mailcontent)
# Send as usual...


"blackwatch" <blackwatch-no-spam at netcourrier-no-spam.com> a écrit dans le
message news: a345g4$pp4$1 at newsreader.mailgate.org...
> Hello from France,
>
> I would like to know how to have the "subject" field filled when I send
> a message with SMTPLIB (I use MacPython 2.2).
> Thanks a lot for ypur help.





More information about the Python-list mailing list