Possible Duplicate:
sending email with GAE copies sender — how to stop?
I'm using Python with Google's App Engine and I am working on sending emails to users.
I have it so users can respond to posts by emailing them. However, it also, by default, sends a copy of the email to the user. Is it possible to disable this?
This is the code I have:
mail.send_mail( 
   user.email(), # from
   greeting.author.email(), # to 
   'MSUchat: %s is %s - %s' % (user, response.inquiry, greeting.title), # subj
   'You received a response to your posting.\r\n\r\n%s wrote:\r\n\r\n"%s"' % (user, response.content), # body 
)
I only want this email to be sent to the person they are respond开发者_如何学运维ing to, not have it sent to themselves as well.
From Wooble's duplicate:
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.
 
         
                                         
                                         
                                         
                                        ![Interactive visualization of a graph in python [closed]](https://www.devze.com/res/2023/04-10/09/92d32fe8c0d22fb96bd6f6e8b7d1f457.gif) 
                                         
                                         
                                         
                                         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论