Hi , While sending mail from Gmail Account I am facing this issue,although less secure app access is on.
Traceback (most recent call last):
File "sending_mail_snippet.py", line 27, in <module>
s.login(fromaddr,"criccdar@1234")
File "/usr/lib/python3.6/smtplib.py", line 730, in login
raise last_exception
File "/usr/lib/python3.6/smtplib.py", line 721, in login
initial_response_ok=initial_response_ok)
File "/usr/lib/python3.6/smtplib.py", line 642, in auth
raise SMTPAuthenticationError(code, resp)
smtplib.SMTPAuthenticationError: (534, b'5.7.14 <https://accounts.google.com/signin/continue?sarp=1&scc=1&plt=AKgnsbs\n5.7.14 L2007kDCe4ke
ChXS7TDZA_ZT0abh3oBPrJbMicRldQI83K0E3ORDkcqEN23x8turoFV3f\n5.7.14 wJOhcs24MXlJy_-kYgPZ_JA1S6FXEqua4mr8w2FSqJdRY8lhKBGmbKN1NJzHxfSL>\n5.7.1
4 Please log in via your web browser and then try again.\n5.7.14 Learn more at\n5.7.14 https://support.google.com/mail/answer/78754 l95s
m1002890qte.36 - gsmtp')
[edit by admin: formatting]