发送电子邮件与GAE复制发件人 - 如何停止? [英] sending email with GAE copies sender -- how to stop?
本文介绍了发送电子邮件与GAE复制发件人 - 如何停止?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在与GAE建立一个应用程序,允许人们在选举中投票,这涉及向每个选民发送电子邮件。我在循环中这样做:
I'm creating an app with GAE to allow people to vote in elections and this involves sending an email to each voter. I do this in a loop:
mail.send_mail(sender = manager.email(),
to = email,
subject = election.title,
body = body)
是登录的用户。
这显示给所有电子邮件的经理BCC,但我不希望这样发生。有没有办法将邮件发送给预定的收件人?
This appears to BCC the manager on all emails, but I don't want that to happen. Is there a way to send the email only to the intended recipient?
推荐答案
您不能 - App Engine自动发送BCC发件人。如果您不想收到他们,您可以使用您的应用程序的传入电子邮件地址作为发件人地址。
You can't - App Engine automatically BCCs the sender. If you don't want to receive them, you could use one of your app's incoming email addresses as the sender address.
这篇关于发送电子邮件与GAE复制发件人 - 如何停止?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文