danchoi / vmail

a vim interface for gmail
http://danielchoi.com/software/vmail.html
MIT License
786 stars 59 forks source link

(Solved) Getting Invalid credentials when using 2-factor authenication #210

Closed drazisil closed 7 years ago

drazisil commented 7 years ago

I'm getting VMAIL_ERROR: Invalid credentials (Failure), but I think it's because I have MFA set up on my Gmail account.

I'm going to look into PR'ing this myself, but I'm not sure the Net::IMAP class support that, so this might be tricky.

drazisil commented 7 years ago

Solved: You need to create an app password for this to work.

https://support.google.com/mail/answer/185833?hl=en&visit_id=1-636298093628599059-604302321&rd=1