manusa / isotope-mail

Isotope Mail Client
https://blog.marcnuri.com/isotope-mail-client-introduction/
Apache License 2.0
233 stars 43 forks source link

BUG: Can't connect with yahoo #301

Open Dinamots opened 5 years ago

Dinamots commented 5 years ago

Hi,

I tried to use a yahoo adress and it appeared that I have an invalid imap credential (and I entered the right settings)

Incoming Mail (IMAP) Server

Server - imap.mail.yahoo.com Port - 993 Requires SSL - Yes Outgoing Mail (SMTP) Server

Server - smtp.mail.yahoo.com Port - 465 or 587 Requires SSL - Yes Requires authentication - Yes

manusa commented 5 years ago

Yahoo doesn't allow standard IMAP access to their accounts (same as Google/Gmail), without specifically configuring your account.

  1. https://help.yahoo.com/kb/account/SLN27791.html
  2. https://help.yahoo.com/kb/SLN4075.html

For seamless access to e-mail accounts from external clients, clients must implement an OAuth2->IMAP authentication flow (not yet available in Isotope).

So in order to access your Yahoo account from Isotope you may perform the following steps (read the documentation to understand what you're doing)

  1. Turn on Allow apps that use less secure sign in: image
  2. Access your account using the settings you provided: image image
Dinamots commented 5 years ago

Thx,

Is there a way to make isotope a "secure app" to yahoo and gmail ? And if it's not possible, Is it possible to print another error message than " Imap credential invalid " ?

manusa commented 5 years ago

Hi @Dinamots

One of the plans after MVP release (v. > 1.0) is to support alternative IMAP method logins (such as [X]OAuth2) so that users can log to their accounts in GMail or Yahoo.

The message is OK as credentials are invalid unless you explicitly configure Yahoo/Gmail to accept "less secure" credentials (Basically there is no possible way to find out that credentials were not valid/discarded by Yahoo's IMAP server due to this fact).