How can I send mail to 'Cc'address in smtplib?

Aahz Maruch aahz at panix.com
Fri Oct 20 12:20:59 EDT 2000


In article <8spfg4$s7$1 at news2.kornet.net>,
junwon,Seo <linuxqna at chollian.net> wrote:
>
> def send(self):
>  self.server.sendmail(self.fromadr, self.toadrs, self.rfc822)
>  self.server.quit()

Try changing this to

 def send(self):
  self.server.sendmail(self.fromadr, self.toadrs + self.ccadrs, self.rfc822)
  self.server.quit()
-- 
                      --- Aahz (Copyright 2000 by aahz at pobox.com)

Androgynous poly kinky vanilla queer het    <*>     http://www.rahul.net/aahz/
Hugs and backrubs -- I break Rule 6

"real love can't be explained by simplistic platitudes."  --piranha



More information about the Python-list mailing list