G
Garry Hodgson
how do i use smtplib to send mail to someone with "cc" to someone else?
if i just include the "to" addressees in the call to smtplib.sendmail(), and
put the others in the "Cc" header fields, only the "To" recipients get the mail,
thought the mail headers look right.
but if i also add the "Cc" folks to the list of recipients in the call to smtplib.sendmail(),
it arrives at their mailer with their address listed on both the "To" and "Cc"
header fields.
what i want is for everyone on the "To" or "Cc" list to get the mail, and for
the mail headers to reflect this.
please respond off-list. i had to give up following comp.lang.python for lack
of time.
thanks
if i just include the "to" addressees in the call to smtplib.sendmail(), and
put the others in the "Cc" header fields, only the "To" recipients get the mail,
thought the mail headers look right.
but if i also add the "Cc" folks to the list of recipients in the call to smtplib.sendmail(),
it arrives at their mailer with their address listed on both the "To" and "Cc"
header fields.
what i want is for everyone on the "To" or "Cc" list to get the mail, and for
the mail headers to reflect this.
please respond off-list. i had to give up following comp.lang.python for lack
of time.
thanks