发送电子邮件与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.