Hi there,
I have a similar problem. I tested a few outgoing emails from the app to my 
own gmail account and at first everything was OK. After a day or two, 
though, emails stopped being sent and yesterday my app was suspended 
without any warning for "violating ToS". What's happening? Is sending 
emails from my app violating ToS? (app id: # 652775937356)
Tomasz

On Wednesday, March 2, 2016 at 8:14:20 AM UTC+9, Petr Balogh wrote:
>
> Hello, 
>
> I've met problem in my application.. problem is that I cannot send email.. 
> or behaviour seems weird..
>
> First time I've got email.. but after that haven't..  if app was running 
> day, maybe two it started sending email.. but after I sent some changes to 
> app, it stopped sending mails again..
>
> I tried create different testing page but doesn't work :( :
>
> from google.appengine.api import mail                                     
>       
> import webapp2                                                             
>      
>                                                                           
>       
>
> [code]                                                                     
>            
> class emailTest(webapp2.RequestHandler):                                   
>      
>     def get(self):                                                         
>      
>         message = mail.EmailMessage(                                       
>      
>             sender="noreply <[email protected] 
> <javascript:>>",          
>             subject="Testing email"                                       
>       
>         )                                                                 
>       
>                                                                           
>       
>         message.to = "My Name <[email protected] <javascript:>>"             
>          
>         message.body = """                                                 
>      
>         Dear Albert:                                                       
>      
>                                                                           
>       
>         Your example.com account has been approved.  You can now visit   
>        
>         http://www.example.com/ and sign in using your Google Account to 
>        
>         access new features.                                               
>      
>                                                                           
>       
>         Please let us know if you have any questions.                     
>       
>                                                                           
>       
>         The example.com Team                                             
>        
>         """                                                               
>       
>                                                                           
>       
>         message.send()                                                     
>      
>         self.response.out.write(message.body)           
> [code]
>
> it is almost same as in doc: 
> https://cloud.google.com/appengine/docs/python/mail/sendingmail 
>
> Any idea what I am doing wrong?  I have still free version of app and can 
> see in quota that sent email value is increasing if I send email.  
>
> Thanks                       
> ~                                                                         
>                                            
> ~                                              
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/e4e60472-9f3d-47eb-9c17-7ffbced928a8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to