multiple email recipients

Tim Williams (gmail) tdwdotnet at gmail.com
Mon Feb 20 06:19:11 EST 2006


On 20/02/06, Rene Pijlman <reply.in.the.newsgroup at my.address.is.invalid>
wrote:
>
> eight02645999 at yahoo.com:
> >was wondering how to modify the code so as i can send to multiple email
> >recipients using "TO"? thanks.
>
> You add RFC 2822 headers.
> http://www.ietf.org/rfc/rfc2822.txt
> ("3.6.3. Destination address fields")


RFC 2822 relates to the format of the message,  not the sending of it.
Adding headers such as "Destination address fields"  will not affect nor
necessarilly be related in any way to the actual recipients of the message

The correct RFC might be RFC 2821 , Simple Mail Transfer Protocol.    But
the OP doesn't need RFC help,  just help with the smtplib module itself.  :)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20060220/b3a970c6/attachment.html>


More information about the Python-list mailing list