Hi,

I am trying to send a mail via mandrill using GAE tasks. On first attempt 
task fails with a 500 error and I get an error that *Task failed to 
execute. This task will retry in 100.000 seconds. *On second attempt, 200 
response is received and task completes. In both attempts mail is sent 
successfully. Here is code snippet. In both attempts, result.status_code is 
200.

result = urlfetch.fetch(url=<MANDRILL_SEND_URL>,
                                method=urlfetch.POST,
                                deadline=60,
                                payload=json.dumps(mail_params))
 if result.status_code == 200:
       # using python flask response 200
       return "", 200



Any pointers?

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 http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to