0
まず、['BCC']ヘッダーを受信者のリストと共に使用してみましたが、その結果、すべての受信者に表示されるBCCフィールドも見えました。電子メール(BCC)の受信者リストを非表示にするPython - smtp
私はBCCヘッダーを除外し、受信者を受信者に表示せずに送信するsendmail関数に直接入れることをお勧めします。いいえ。まだ動作しませんでした。受信者はすべて表示されましたが、タグ「BCC」はまだ表示されていますimage of how it shows up in gmail
提案はありますか?私は受信者のリストを他の受信者から隠しておきたい。
# Send TV Email
msg2 = MIMEMultipart()
msg2['From'] = fromaddr
msg2['To'] = toaddr
msg2['Subject'] = "Welcome Message from Puls"
msg2['Reply-to'] = "[email protected]"
msg2.add_header('reply-to', fromaddr)
body2 = """Hello New Puls Technician!"""
msg2.attach(MIMEText(body2, 'plain'))
server = smtplib.SMTP('smtp.gmail.com', 587)
server.starttls()
server.login('email', "password")
text = msg2.as_string()
server.sendmail(fromaddr, newTvTechsEmailList, text)
server.quit()
あなたが投稿画像を、それはあなたの送信済みアイテムからでしょうか? – Barney
いいえ、それは私の受信箱からです! –
可能な複製https://stackoverflow.com/questions/31797134/send-email-to-multiple-recipients-with-bcc-hidden-address-django-1-6 – noogui