owainlewis / clojure-mail

A Clojure library for parsing, downloading and reading email from IMAP servers.
203 stars 54 forks source link

Tip: if you use name+password for gmail, you have to set "less secure app" #64

Open mattiasw2 opened 6 years ago

mattiasw2 commented 6 years ago

If you get this

AuthenticationFailedException [ALERT] Please log in via your web browser: https://support.google.com/mail/accounts/answer/78754 (Failure)  com.sun.mail.imap.IMAPStore.protocolConnect (IMAPStore.java:717)

plz go to

 https://myaccount.google.com/u/4/lesssecureapps

and allow.

sofiiahitlan commented 1 year ago

Less Secure App option doesn't exist in 2023 anymore. One has to use generated App Password instead of email password when making a call - https://support.google.com/accounts/answer/185833?hl=en