[GH-ISSUE #129] gmail – login failed #105

Closed
opened 2026-03-03 01:19:50 +03:00 by kerem · 7 comments
Owner

Originally created by @Bellavene on GitHub (Dec 27, 2022).
Original GitHub issue: https://github.com/d99kris/nmail/issues/129

Originally assigned to: @d99kris on GitHub.

After entering info in the setup wizard -s gmail, I am getting login failed.

2022-12-27 12:15:52.977 | ERROR | mailimap_login(m_Imap, m_User.c_str(), m_Pass.c_str()) = MAILIMAP_ERROR_LOGIN (imap.cpp:105)

imap and smtp is on in google settings

Originally created by @Bellavene on GitHub (Dec 27, 2022). Original GitHub issue: https://github.com/d99kris/nmail/issues/129 Originally assigned to: @d99kris on GitHub. After entering info in the setup wizard -s gmail, I am getting login failed. 2022-12-27 12:15:52.977 | ERROR | mailimap_login(m_Imap, m_User.c_str(), m_Pass.c_str()) = MAILIMAP_ERROR_LOGIN (imap.cpp:105) imap and smtp is on in google settings
kerem 2026-03-03 01:19:50 +03:00
  • closed this issue
  • added the
    question
    label
Author
Owner

@d99kris commented on GitHub (Dec 28, 2022):

Hi @Bellavene - have you done the Gmail Prerequisites? Does Gmail IMAP access work in other applications?

<!-- gh-comment-id:1366651501 --> @d99kris commented on GitHub (Dec 28, 2022): Hi @Bellavene - have you done the [Gmail Prerequisites](https://github.com/d99kris/nmail#gmail-prerequisites)? Does Gmail IMAP access work in other applications?
Author
Owner

@Bellavene commented on GitHub (Dec 28, 2022):

Hallo Kristopher!

Yes, have done it and it works in mail.app, which I want finally replace with nmail.

<!-- gh-comment-id:1366660510 --> @Bellavene commented on GitHub (Dec 28, 2022): Hallo Kristopher! Yes, have done it and it works in mail.app, which I want finally replace with nmail.
Author
Owner

@d99kris commented on GitHub (Dec 29, 2022):

Hi @Bellavene - thanks for confirming that. Could you try run nmail with verbose logging enabled nmail -e and share the full log file ~/.nmail/log.txt (either upload here or send to my email d99kris at gmail dot com, whichever you prefer)

<!-- gh-comment-id:1367614404 --> @d99kris commented on GitHub (Dec 29, 2022): Hi @Bellavene - thanks for confirming that. Could you try run nmail with verbose logging enabled `nmail -e` and share the full log file `~/.nmail/log.txt` (either upload here or send to my email `d99kris at gmail dot com`, whichever you prefer)
Author
Owner

@Bellavene commented on GitHub (Dec 30, 2022):

Mail sent. Thank You!

<!-- gh-comment-id:1367764753 --> @Bellavene commented on GitHub (Dec 30, 2022): Mail sent. Thank You!
Author
Owner

@Bellavene commented on GitHub (Dec 31, 2022):

Managed it.
Thank You, Kristopher!
Wish you a Happy New Year! Love your apps

<!-- gh-comment-id:1368185206 --> @Bellavene commented on GitHub (Dec 31, 2022): Managed it. Thank You, Kristopher! Wish you a Happy New Year! Love your apps
Author
Owner

@d99kris commented on GitHub (Dec 31, 2022):

Hi @Bellavene - great to hear you solved the problem! I was travelling the last few days, so I didn't have time to check the log file properly.

Any idea what solved the problem? (in case other users encounter similar problems and find this issue)

<!-- gh-comment-id:1368241527 --> @d99kris commented on GitHub (Dec 31, 2022): Hi @Bellavene - great to hear you solved the problem! I was travelling the last few days, so I didn't have time to check the log file properly. Any idea what solved the problem? (in case other users encounter similar problems and find this issue)
Author
Owner

@d99kris commented on GitHub (Dec 31, 2022):

And Happy New Year to you too 👍

<!-- gh-comment-id:1368241580 --> @d99kris commented on GitHub (Dec 31, 2022): And Happy New Year to you too 👍
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/nmail#105
No description provided.