<br><br><div><span class="gmail_quote">On 20/02/06, <b class="gmail_sendername">Rene Pijlman</b> <<a href="mailto:reply.in.the.newsgroup@my.address.is.invalid">reply.in.the.newsgroup@my.address.is.invalid</a>> wrote:
</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><a href="mailto:eight02645999@yahoo.com">eight02645999@yahoo.com</a>:<br>>was wondering how to modify the code so as i can send to multiple email
<br>>recipients using "TO"? thanks.<br><br>You add RFC 2822 headers.<br><a href="http://www.ietf.org/rfc/rfc2822.txt">http://www.ietf.org/rfc/rfc2822.txt</a><br>("3.6.3. Destination address fields")
</blockquote><div><br>
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<br>
<br>
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.  :)<br>
<br>
<br>
</div><br></div>