email and smtplib modules

mark.greenbank at gmail.com mark.greenbank at gmail.com
Sat Apr 9 17:11:01 EDT 2005


Hi,

I'm writing a small script that generates email and I've noticed that:

1) one should add the 'To' and 'CC' headers to the email message
2) one needs to specify the recipients in the smtplib sendmail() method

Can someone explain how these are related?

Thanks,
Mark




More information about the Python-list mailing list