[issue31052] smtplib not honoring bcc header

2017-07-26 Thread R. David Murray
R. David Murray added the comment: smtplib in 2.7 doesn't know anything about RFC822 or any of the replacement RFCs. sendmail accepts a *string*, and doesn't understand or modify anything about that string except the newlines. It is your responsibility not to *add* the BCC header. What you

[issue31052] smtplib not honoring bcc header

2017-07-26 Thread zoof
New submission from zoof: When I try sending an email, using smtplib, with the bcc header set, the bcc header is included in messages send to the "to" and "cc" addresses. According to section 4.5.3 of rfc 822: > The contents of this field are not included in copies of the message sent to