开发者

sending email with GAE copies sender -- how to stop?

开发者 https://www.devze.com 2023-02-14 06:49 出处:网络
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:

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)

where manager is the signed-in user.

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?


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.


There is an Issue logged for this problem here:

http://code.google.com/p/googleappengine/issues/detail?id=2059

Please "star" it if you want Google to fix it.

0

精彩评论

暂无评论...
验证码 换一张
取 消