{"action":"created","issue":{"url":"https://api.github.com/repos/ccrisan/motioneyeos/issues/3","labels_url":"https://api.github.com/repos/ccrisan/motioneyeos/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/ccrisan/motioneyeos/issues/3/comments","events_url":"https://api.github.com/repos/ccrisan/motioneyeos/issues/3/events","html_url":"https://github.com/ccrisan/motioneyeos/issues/3","id":111327729,"number":3,"title":"Email notification problem","user":{"login":"Feuxxxeu","id":15118885,"avatar_url":"https://avatars.githubusercontent.com/u/15118885?v=3","gravatar_id":"","url":"https://api.github.com/users/Feuxxxeu","html_url":"https://github.com/Feuxxxeu","followers_url":"https://api.github.com/users/Feuxxxeu/followers","following_url":"https://api.github.com/users/Feuxxxeu/following{/other_user}","gists_url":"https://api.github.com/users/Feuxxxeu/gists{/gist_id}","starred_url":"https://api.github.com/users/Feuxxxeu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Feuxxxeu/subscriptions","organizations_url":"https://api.github.com/users/Feuxxxeu/orgs","repos_url":"https://api.github.com/users/Feuxxxeu/repos","events_url":"https://api.github.com/users/Feuxxxeu/events{/privacy}","received_events_url":"https://api.github.com/users/Feuxxxeu/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-10-14T05:40:49Z","updated_at":"2015-10-24T21:48:07Z","closed_at":"2015-10-22T13:07:20Z","body":"Hello,\r\nI am behind a router, so the raspberry pi B has access to internet.\r\nPlease advise\r\nI've been trying with gmail account: \r\n2015-10-13 20:49:17: [sendmail]    ERROR: failed to send mail: (534, '5.7.14 <https://accounts.google.com/ContinueSignIn?sarp=1&scc=1&plt=AKgnsbsfE\\n5.7.14 dovOr0AipLQF0Pp9SxNPSxSnf3QRcCAIozB--blrclJaBDd50LWA-gBl4ALCJHj4T8i35O\\n5.7.14 I-Xa7llM3OhcYelEQCZYSJAKHDlQ5bIxDlOq5EflSY6EM1LcSO8iiuiIPveZWeOIyv28mf\\n5.7.14 VPEvAXdLC6oRtzybdyzjdeSsy8bGQnJ45SsKYgR1N9sKcMX3_YPhHAuZBXELPY6xwbmX6i\\n5.7.14 5ypMmdBHrV0jlq_eQtsobBtzeEjY> Please log in via your web browser and\\n5.7.14 then try again.\\n5.7.14  Learn more at\\n5.7.14  https://support.google.com/mail/answer/78754 gt4sm16082779wib.21 - gsmtp')\r\nTraceback (most recent call last):\r\n  File \"/home/ccrisan/motioneyeos/output/raspberrypi/target/usr/lib/python2.7/site-packages/motioneye/sendmail.py\", line 178, in on_message\r\n  File \"/home/ccrisan/motioneyeos/output/raspberrypi/target/usr/lib/python2.7/site-packages/motioneye/sendmail.py\", line 54, in send_mail\r\n  File \"/usr/lib/python2.7/smtplib.py\", line 622, in login\r\nSMTPAuthenticationError: (534, '5.7.14 <https://accounts.google.com/ContinueSignIn?sarp=1&scc=1&plt=AKgnsbsfE\\n5.7.14 dovOr0AipLQF0Pp9SxNPSxSnf3QRcCAIozB--blrclJaBDd50LWA-gBl4ALCJHj4T8i35O\\n5.7.14 I-Xa7llM3OhcYelEQCZYSJAKHDlQ5bIxDlOq5EflSY6EM1LcSO8iiuiIPveZWeOIyv28mf\\n5.7.14 VPEvAXdLC6oRtzybdyzjdeSsy8bGQnJ45SsKYgR1N9sKcMX3_YPhHAuZBXELPY6xwbmX6i\\n5.7.14 5ypMmdBHrV0jlq_eQtsobBtzeEjY> Please log in via your web browser and\\n5.7.14 then try again.\\n5.7.14  Learn more at\\n5.7.14  https://support.google.com/mail/answer/78754 gt4sm16082779wib.21 - gsmtp')\r\n2015-10-13 20:50:06: [sendmail]    ERROR: failed to send mail: (534, '5.7.14 <https://accounts.google.com/ContinueSignIn?sarp=1&scc=1&plt=AKgnsbv-0\\n5.7.14 VUSJavXzBie_XgnuiogePombkrUWjLQ-dDhfhbiSCaPbFFESUkAXdNo0EwigP84wlWwdDx\\n5.7.14 NStXJViC_qHv_XL3zLU-uvVsXIrfpstVbs0pv9nUGwYEbgZoqSzqSUv9_n7Jk41R5GCPwo\\n5.7.14 s1KWbHIOswJAaZQO9G1kQ7ez_E1h9LIeSzUtjZ6YqWONt7eaLNPPdG4x4XDnyBDPwyEiiy\\n5.7.14 svNKCff8fm35Gfr5_q8_QLcULTtg> Please log in via your web browser and\\n5.7.14 then try again.\\n5.7.14  Learn more at\\n5.7.14  https://support.google.com/mail/answer/78754 ub7sm3945435wib.17 - gsmtp')\r\nTraceback (most recent call last):\r\n  File \"/home/ccrisan/motioneyeos/output/raspberrypi/target/usr/lib/python2.7/site-packages/motioneye/sendmail.py\", line 178, in on_message\r\n  File \"/home/ccrisan/motioneyeos/output/raspberrypi/target/usr/lib/python2.7/site-packages/motioneye/sendmail.py\", line 54, in send_mail\r\n  File \"/usr/lib/python2.7/smtplib.py\", line 622, in login\r\nSMTPAuthenticationError: (534, '5.7.14 <https://accounts.google.com/ContinueSignIn?sarp=1&scc=1&plt=AKgnsbv-0\\n5.7.14 VUSJavXzBie_XgnuiogePombkrUWjLQ-dDhfhbiSCaPbFFESUkAXdNo0EwigP84wlWwdDx\\n5.7.14 NStXJViC_qHv_XL3zLU-uvVsXIrfpstVbs0pv9nUGwYEbgZoqSzqSUv9_n7Jk41R5GCPwo\\n5.7.14 s1KWbHIOswJAaZQO9G1kQ7ez_E1h9LIeSzUtjZ6YqWONt7eaLNPPdG4x4XDnyBDPwyEiiy\\n5.7.14 svNKCff8fm35Gfr5_q8_QLcULTtg> Please log in via your web browser and\\n5.7.14 then try again.\\n5.7.14  Learn more at\\n5.7.14  https://support.google.com/mail/answer/78754 ub7sm3945435wib.17 - gsmtp')\r\n2015-10-13 20:51:43: [sendmail]    ERROR: failed to send mail: [Errno 97] Address family not supported by protocol\r\n\r\nAnd Yahoo Account:\r\n2015-10-14 07:10:45: [sendmail]    ERROR: failed to send mail: Connection unexpectedly closed: timed out\r\nTraceback (most recent call last):\r\n  File \"/home/ccrisan/motioneyeos/output/raspberrypi/target/usr/lib/python2.7/site-packages/motioneye/sendmail.py\", line 178, in on_message\r\n  File \"/home/ccrisan/motioneyeos/output/raspberrypi/target/usr/lib/python2.7/site-packages/motioneye/sendmail.py\", line 49, in send_mail\r\n  File \"/usr/lib/python2.7/smtplib.py\", line 256, in __init__\r\n  File \"/usr/lib/python2.7/smtplib.py\", line 317, in connect\r\n  File \"/usr/lib/python2.7/smtplib.py\", line 365, in getreply\r\nSMTPServerDisconnected: Connection unexpectedly closed: timed out\r\n\r\nAlso with my ISP account, all with or without TLS, tried ports 25, 465 and 587."},"comment":{"url":"https://api.github.com/repos/ccrisan/motioneyeos/issues/comments/150853703","html_url":"https://github.com/ccrisan/motioneyeos/issues/3#issuecomment-150853703","issue_url":"https://api.github.com/repos/ccrisan/motioneyeos/issues/3","id":150853703,"user":{"login":"psts","id":14238960,"avatar_url":"https://avatars.githubusercontent.com/u/14238960?v=3","gravatar_id":"","url":"https://api.github.com/users/psts","html_url":"https://github.com/psts","followers_url":"https://api.github.com/users/psts/followers","following_url":"https://api.github.com/users/psts/following{/other_user}","gists_url":"https://api.github.com/users/psts/gists{/gist_id}","starred_url":"https://api.github.com/users/psts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/psts/subscriptions","organizations_url":"https://api.github.com/users/psts/orgs","repos_url":"https://api.github.com/users/psts/repos","events_url":"https://api.github.com/users/psts/events{/privacy}","received_events_url":"https://api.github.com/users/psts/received_events","type":"User","site_admin":false},"created_at":"2015-10-24T21:48:07Z","updated_at":"2015-10-24T21:48:07Z","body":"I have 2-step verification turned on, on my Gmail account. Then you can issue specific app passwords that you can use for things like this. Works like a charm and highly secure."}}