cc and bcc with smtplib.py (1.5.2)

Dag Sunde dag at orion.no
Sun Oct 1 12:02:50 EDT 2000


I think you add all recipients (including the cc & bcc ones to
the comma-separated "to_addrs"-parameter of the sendmail method,
and use the MIME headers: "To: ", "From: ", "Cc: " and "Bcc: "
to specify which one to show (or not) at the receiving side...

See RFC-822...

HTH...

Dag.

"Gilles Lenfant" <glenfant at nospam-e-pack.net> wrote in message
news:8r7du7$86p$1 at reader1.imaginet.fr...
> Hi,
>
> Is there an smtp/python expert here who can tell me how to have "cc" and
> "bcc" recipients of a mail ?
> BTW, it's with python 1.5.2, I use binary extra modules that are not
> compliant with 1.6.
> Thanks in advance !
>
> Gilles Lenfant
>
>





More information about the Python-list mailing list