Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] - Android failed to authenticate smtp login, but iOS is ok #1980

Open
newbieyhj opened this issue May 15, 2023 · 0 comments
Open

[Bug] - Android failed to authenticate smtp login, but iOS is ok #1980

newbieyhj opened this issue May 15, 2023 · 0 comments
Labels

Comments

@newbieyhj
Copy link

Summary
smtp authentication fails.

Platform(s)
Android

Happens on Mail Server
smtp calls mailesmtp_auth_sasl(mSmtp, "LOGIN",...) Failed, error 17 is returned,
however iOS is OK.

Piece of code

In the login() method of  MCSMTPSession.cpp:
r = mailesmtp_auth_sasl(mSmtp, "LOGIN",
                                    MCUTF8(mHostname),
                                    NULL,
                                    NULL,
                                    MCUTF8(mUsername), MCUTF8(mUsername),
                                    MCUTF8(mPassword), NULL);

Actual outcome
r return errorcode is 17.

Connection Logs

Expected outcome
r return 0.

Link to sample code on GitHub reproducing the issue (a full Xcode project):

https://
@newbieyhj newbieyhj added the bug label May 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant