smtplib

Steve Holden sholden at holdenweb.com
Mon Apr 16 09:45:37 EDT 2001


"Roy Smith" <roy at panix.com> wrote in message
news:roy-A819B7.08371516042001 at news.panix.com...
> "Steve Holden" <sholden at holdenweb.com> wrote:
> > For the record, smtpli.SMTP.sendmail() does *not* look at the message
> > envelope at all: so, for example, you implement blind Cc's by including
> > recipients in the to_addrs list when they don't appear in the message
> > headers inside To: or Cc:.
>
> I think you've got that backwards.  The To: and Cc: lines are part of the
> headers, not the envelope.  The address list you give in the function call
> *is* the envelope.
>
> You are correct that putting addresses in the functional argument list and
> not the headers is how you implement Bcc, you've just got the terminology
> mixed up.

Thank you for correcting my terminological inexactitude.

regards
 sTeve






More information about the Python-list mailing list