cc and bcc with smtplib.py (1.5.2)

Sandipan Gangopadhyay sandipan at vsnl.com
Sun Oct 1 14:04:33 EDT 2000


And this also means that the actual recipient specified in the to_addrs need
not be the one that shows up in the headers at all. It is upto the
programmer to sync the two.

Did RFC822 specifically allow this (typical bulk mail case) or is it a case
where the module allows us to bypass the RFC ?

Sandipan

----- Original Message -----
From: "Dag Sunde" <dag at orion.no>
Newsgroups: comp.lang.python
To: <python-list at python.org>
Sent: Sunday, October 01, 2000 9:32 PM
Subject: Re: cc and bcc with smtplib.py (1.5.2)


> 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
> >
> >
>
>
> --
> http://www.python.org/mailman/listinfo/python-list
>






More information about the Python-list mailing list