About undisclosed recipient

Jeff Epler jepler at unpythonic.net
Sat Jul 9 14:00:50 EDT 2005


You provided far too little information for us to be able to help.

If you are using smtplib, it doesn't even look at message's headers to
find the recipient list; you must use the rcpt() method to specify each
one.  If you are using the sendmail method, the "to_addrs" list has no
relationship to the headers of the actual message---it simply calls
rcpt() once for each address in to_addrs.  The example in the docstring
doesn't even *have* a To: header in the message!

Jeff
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-list/attachments/20050709/a6951493/attachment.sig>


More information about the Python-list mailing list