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 <nore...@id-of-app.appspotmail.com>",          
            subject="Testing email"                                         
    
        )                                                                   
    
                                                                            
    
        message.to = "My Name <m...@email.com>"                      
        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 google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
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/59fafe7c-b195-4dfb-8f60-65d6d33107bd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to