GNOME Bugzilla – Bug 731395
mail-client/evolution-3.12.2 can't send a message via Google Account with two-factor auth
Last modified: 2018-08-21 08:30:54 UTC
google online account seems to work ok for the imap part of the access, but fails for the SMTP part. Reproducible: Always Steps to Reproduce: 1. have a Google account with 2-factor auth set up 2. Add an online account to Gnome 3.12 desktop 3. start Evolution and see it loads your mailbox. 4. Compose a new message and try to send it. Black password request appears and it doesn't accept any passwords. Actual Results: sending the message is cancelled. Saving the message to Drafts works OK. Expected Results: message is sent It seems a regression to me , since evolution 3.10 worked fine.
Created attachment 278125 [details] password prompt this password request appears only the 1st time I attempt to send a message via a google account. To activate this prompt again I need to log off my linux account. No password is accepted - i.e. Google always returns "incorrect password" (this is expected as 2-factor auth is activated). I have to cancel this prompt.
Created attachment 278126 [details] message sending cancelled all subsequent send attempts are cancelled - see the red message saving to drafts works OK.
Thanks for a bug report. I'm a little bit confused. On one side, the password prompt is wrong, but on other side you say: (In reply to comment #1) > No password is accepted - i.e. Google always returns "incorrect password" (this > is expected as 2-factor auth is activated). The usual way of dealing with this is to login to Google's Web interface, ask for an application password (it'll be generated for you) and then enter this generated password. It's a usual way for applications which do not support 2-factor Google authentications. What do I miss here?
(In reply to comment #3) > Thanks for a bug report. I'm a little bit confused. On one side, the password > prompt is wrong, but on other side you say: > (...) > The usual way of dealing with this is to login to Google's Web interface, ask > for an application password (it'll be generated for you) and then enter this > generated password. It's a usual way for applications which do not support > 2-factor Google authentications. > > What do I miss here? Well, it's the way to go if the app doesn't support 2FA at all. When I added the GNOME online account, it resulted in going to a google web page and I entered both userid/password and one-time code there. The imap part of Evolution works seamlessly since then. The SMTP part is broken. both imap and smtp were working in 3.10.
Many changes have taken place in the 2FA implementation since 3.10. If this still a problem in a recent and supported version (latest 3.28), please create a new ticket at https://gitlab.gnome.org/GNOME/evolution/issues/new