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
Judging my the page that comes up for that link, or for your other web
page at bartek.webd.pl, it seems likely you are looking for this
information just to increase the amount of spam the world suffers from.
If that's not true, please explain why you want to send emails without
the recipient names showing and without the sender showing. Otherwise I
hope none of us go out of our way to help.