Skip to content

Instantly share code, notes, and snippets.

@macolo

macolo/smtplib.py-log.txt Secret

Last active Aug 22, 2016
Embed
What would you like to do?
[22/Aug/2016 17:44:44] "GET /de/kontakt/ HTTP/1.1" 200 8143
17:44:51.700846 connect: ('smtp.mandrillapp.com', 587)
17:44:51.700928 connect: to ('smtp.mandrillapp.com', 587) None
17:44:52.250789 reply: b'220 smtp.mandrillapp.com ESMTP\r\n'
17:44:52.250937 reply: retcode (220); Msg: b'smtp.mandrillapp.com ESMTP'
17:44:52.250968 connect: b'smtp.mandrillapp.com ESMTP'
17:44:52.251007 send: 'ehlo x1a2p19.local\r\n'
17:44:52.302754 reply: b'250-relay-1.eu-west-1.relay-prod\r\n'
17:44:52.302855 reply: b'250-PIPELINING\r\n'
17:44:52.302889 reply: b'250-SIZE 26214400\r\n'
17:44:52.302914 reply: b'250-STARTTLS\r\n'
17:44:52.302938 reply: b'250-AUTH PLAIN LOGIN\r\n'
17:44:52.302961 reply: b'250-ENHANCEDSTATUSCODES\r\n'
17:44:52.302984 reply: b'250 8BITMIME\r\n'
17:44:52.303013 reply: retcode (250); Msg: b'relay-1.eu-west-1.relay-prod\nPIPELINING\nSIZE 26214400\nSTARTTLS\nAUTH PLAIN LOGIN\nENHANCEDSTATUSCODES\n8BITMIME'
17:44:52.303601 send: 'STARTTLS\r\n'
17:44:52.351499 reply: b'220 2.0.0 Ready to start TLS\r\n'
17:44:52.351599 reply: retcode (220); Msg: b'2.0.0 Ready to start TLS'
17:44:52.581747 send: 'ehlo x1a2p19.local\r\n'
17:44:52.627722 reply: b'250-relay-1.eu-west-1.relay-prod\r\n'
17:44:52.627826 reply: b'250-PIPELINING\r\n'
17:44:52.627861 reply: b'250-SIZE 26214400\r\n'
17:44:52.627887 reply: b'250-AUTH PLAIN LOGIN\r\n'
17:44:52.627910 reply: b'250-ENHANCEDSTATUSCODES\r\n'
17:44:52.627935 reply: b'250 8BITMIME\r\n'
17:44:52.627965 reply: retcode (250); Msg: b'relay-1.eu-west-1.relay-prod\nPIPELINING\nSIZE 26214400\nAUTH PLAIN LOGIN\nENHANCEDSTATUSCODES\n8BITMIME'
17:44:52.628122 data: User Nameb'1234123241-23421334'
17:44:52.628184 data: AFVzZXIgTmFtZQBiJzEyMzQxMjMyNDEtMjM0MjEzMzQn
17:44:52.628215 send: 'AUTH PLAIN AFVzZXIgTmFtZQBiJzEyMzQxMjMyNDEtMjM0MjEzMzQn\r\n'
17:44:54.277325 reply: b'435 4.7.8 Error: authentication failed: \r\n'
17:44:54.277402 reply: retcode (435); Msg: b'4.7.8 Error: authentication failed:'
17:44:54.277488 send: 'VXNlciBOYW1l\r\n'
17:44:54.326311 reply: b'402 4.5.2 Error: command not recognized\r\n'
17:44:54.326397 reply: retcode (402); Msg: b'4.5.2 Error: command not recognized'
Could not send notification emails.
Traceback (most recent call last):
File "/Users/mario/.virtualenvs/screenfood/lib/python3.5/site-packages/aldryn_forms/contrib/email_notifications/cms_plugins.py", line 161, in send_notifications
connection.open()
File "/Users/mario/.virtualenvs/screenfood/lib/python3.5/site-packages/django/core/mail/backends/smtp.py", line 67, in open
self.connection.login(self.username, self.password)
File "/usr/local/Cellar/python3/3.5.0/Frameworks/Python.framework/Versions/3.5/lib/python3.5/smtplib.py", line 732, in login
raise last_exception
File "/usr/local/Cellar/python3/3.5.0/Frameworks/Python.framework/Versions/3.5/lib/python3.5/smtplib.py", line 723, in login
initial_response_ok=initial_response_ok)
File "/usr/local/Cellar/python3/3.5.0/Frameworks/Python.framework/Versions/3.5/lib/python3.5/smtplib.py", line 627, in auth
initial_response = (authobject() if initial_response_ok else None)
File "/usr/local/Cellar/python3/3.5.0/Frameworks/Python.framework/Versions/3.5/lib/python3.5/smtplib.py", line 666, in auth_login
raise SMTPAuthenticationError(code, resp)
smtplib.SMTPAuthenticationError: (402, b'4.5.2 Error: command not recognized')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment