I am using django.core.mail.EmailMessage and I get this error after some seconds:
File "/usr/lib/python3.6/http/client.py", line 1331, in getresponse
response.begin()
File "/usr/lib/python3.6/http/client.py", line 297, in begin
version, status, reason = self._read_status()
File "/usr/lib/python3.6/http/client.py", line 279, in _read_status
raise BadStatusLine(line)
http.client.BadStatusLine: 220 email-smtp.amazonaws.com ESMTP SimpleEmailService-3940450689
I have this config:
I am using django.core.mail.EmailMessage and I get this error after some seconds:
Any ideia why?