Open khaledkbadr opened 7 years ago
How are you sending the email? Is it the standard google.appengine.api.mail
library, or Python's smtplib?
We're using Python's smtplib
for that
I would recommend using google.appengine.api.mail
. As far as I know, using smtplib
is not supported in App Engine. See https://groups.google.com/forum/#!topic/appscale_community/_uC88tl6DKU for setting up msmtp.
The problem is not about how we send emails, but rather that the socket api does not work unless we patch the socket.py module. https://cloud.google.com/appengine/docs/standard/python/sockets/
Our app sends emails for authentication purposes, but when it starts sending it shows that error and prevent email from being sent.
We've temporarily fixed this by replacing socket.py with the original
python
'ssocket.py