Hey Petr,

If you're experiencing an issue on the platform, you should post to the Public 
Issue Tracker <https://code.google.com/p/googleappengine/issues/list> and 
include a minimal application which can be used to reproduce the behaviour 
on our end. The example email you show is likely breaking exactly the 
specific conditions needed to observe the behaviour - often mail will fail 
to send due to matching a spam signature, although without seeing the 
message content (or the error output in the logs, for that matter), it's 
impossible to know. 

If you post to the Public Issue Tracker and then post the link to the 
created thread here, I'll be happy to take a look and help you out. As it 
is, this thread is somewhat off-topic since this forum is meant for general 
and high-level discussion of the platform and services, not specific-issue 
technical support requests.

Best wishes,

Nick

On Tuesday, March 1, 2016 at 6:14:20 PM UTC-5, 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]>",         
>  
>             subject="Testing email"                                       
>       
>         )                                                                 
>       
>                                                                           
>       
>         message.to = "My Name <[email protected]>"                      
>         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/f6a5e3f9-d3ac-409e-b227-c48591c087da%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to