kimus / leximail

LexiMail is a Open Source and cross-platform e-mail desktop application.
http://leximail.org/
Other
142 stars 29 forks source link

Support Two-Factor Authentication #9

Open sbruchmann opened 10 years ago

sbruchmann commented 10 years ago

Leximail is currently not usable if one is trying to login via two-factor authentication.

Here’s an excerpt from the error, which was thrown:

Error: Application-specific password required: http://support.google.com/accounts/bin/answer.py?answer=185833 (Failure)
  ↵    at Connection._resTagged (/Users/sbruchmann/code/leximail/node_modules/imap/lib/Connection.js:1442:11)
  ↵    at Parser.eval (/Users/sbruchmann/code/leximail/node_modules/imap/lib/Connection.js:164:10)
  ↵    at Parser.EventEmitter.emit (events.js:95:17)
  ↵    at Parser._resTagged (/Users/sbruchmann/code/leximail/node_modules/imap/lib/Parser.js:172:10)
  ↵    at Parser._parse (/Users/sbruchmann/code/leximail/node_modules/imap/lib/Parser.js:136:16)
  ↵    at Parser._tryread (/Users/sbruchmann/code/leximail/node_modules/imap/lib/Parser.js:80:15)
  ↵    at CleartextStream.Parser._cbReadable (/Users/sbruchmann/code/leximail/node_modules/imap/lib/Parser.js:51:12)
  ↵    at CleartextStream.EventEmitter.emit (events.js:92:17)
  ↵    at emitReadable_ (_stream_readable.js:408:10)
  ↵    at eval (_stream_readable.js:401:7)
sbruchmann commented 10 years ago

Apparently Leximail does support two-factor authentication. I should have read the link the error message was showing. Typical Monday.

On a side note, I think Leximail should handle this kind of error, since it could be quite common. I leave this issue open for further discussion, but feel free to close this if you want to.

kimus commented 10 years ago

Thank You, I will leave it open for future handling of the error.