Author Topic: [SOLVED] I can't set up my account: Authentication error  (Read 8135 times)

cyberqueen

  • Newbie
  • *
  • Posts: 23
[SOLVED] I can't set up my account: Authentication error
« on: March 23, 2014, 01:06:08 am »
I'm trying to find an alternative to the stock email client that came with my Nexus 7 (2013) tablet running Android 4.4.2.  I wanted to try Aqua Mail, but when I tried to set up an account, I was told there was an Authentication error involving the outgoing mail server (SMTP).  The error was "535 5.7.0 authentication failed.  Please make sure the data is correct."  I've been trying other email clients as well, and the data worked fine in them.  The only thing I'm not sure about is that I would normally choose SSL/TLS for security, but in Aqua Mail the SSL possibilities were SSL (strict) or SSL (accept any) or something like that.  I first tried strict, then tried the other one.  Neither worked.  I've now uninstalled Aqua Mail.  I'd like to give it another try, but there's no point if I can't get Aqua Mail to accept my data.  I am sure that the username, password, and address for the smtp server were correct, as was the port number.

I read the FAQ and searched the forum's messages, and I'm sending this message in the hope that someone can help.  Thanks in advance.
« Last Edit: March 26, 2014, 06:45:17 pm by cyberqueen »
AquaMail Pro 1.4.0.47 on Nexus 7 (2013) using Android 4.4.4

Kostya Vasilyev, Aqua Mail

  • Administrator
  • Hero Member
  • *****
  • Posts: 11599
Re: I can't set up my account: Authentication error
« Reply #1 on: March 24, 2014, 02:40:58 am »
Ok. First, this is not a connect error, it's an auth error, so your SSL (strict) setting was good.

Now to try to resolve - on the outgoing server settings screen in Aqua, please tap "authentication" and change "choose automatically" to "SASL PLAIN" or "SASL LOGIN"... then Next to try and validate.

Techie stuff:

My app supports the "CRAM-MD5" authentication method (not all mail apps do). It's the most secure way to authenticate, which does not require the app to transmit the password over the network.

Unfortunately, some mail servers advertise support for CRAM-MD5, but it does not actually work.

SASL PLAIN / SASL LOGIN are more compatible, and still quite secure since when using SSL.
Creating debug logs for in-depth diagnostics: http://www.aqua-mail.com/?page_id=232

Zee offishial FAQ: http://www.aqua-mail.com/?page_id=227

Лог-файлы для диагностики: http://www.aqua-mail.com/?page_id=121

Вопросы и ответы: http://www.aqua-mail.com/?page_id=102

cyberqueen

  • Newbie
  • *
  • Posts: 23
Re: I can't set up my account: Authentication error
« Reply #2 on: March 24, 2014, 04:24:22 am »
Thanks very much for your response.  After reading your message, I tried all three possibilities--SASL CRAM-MD5 (just in case), SASL PLAIN, and SASL LOGIN.  All three produced the same error message as before.  I'm not sure whether there's anything else I can try that's secure.
« Last Edit: March 24, 2014, 05:45:15 am by cyberqueen »
AquaMail Pro 1.4.0.47 on Nexus 7 (2013) using Android 4.4.4

Kostya Vasilyev, Aqua Mail

  • Administrator
  • Hero Member
  • *****
  • Posts: 11599
Re: I can't set up my account: Authentication error
« Reply #3 on: March 26, 2014, 01:24:16 am »
Authentication methods and connection security are independent of one another, so if you've already tried all "SASL" and so on, that's quite sufficient.

Do you get auth errors for both incoming and outgoing servers?

One more thing worth trying is to change your "login" (on the respective server setup screen(s)) from "user@domain.com" to just "user". Some mail services really want that second variation.

Feel free to capture the issue in a debug log, too -- see the link in my signature, below.
Creating debug logs for in-depth diagnostics: http://www.aqua-mail.com/?page_id=232

Zee offishial FAQ: http://www.aqua-mail.com/?page_id=227

Лог-файлы для диагностики: http://www.aqua-mail.com/?page_id=121

Вопросы и ответы: http://www.aqua-mail.com/?page_id=102

cyberqueen

  • Newbie
  • *
  • Posts: 23
Re: I can't set up my account: Authentication error
« Reply #4 on: March 26, 2014, 03:52:35 am »
Thanks very much for your helpful reply. I think you have identified the problem and how to solve it. When I changed the "login" on the SMTP setup from my email address to just my username, I was able to set up the account.

Again, many thanks!
AquaMail Pro 1.4.0.47 on Nexus 7 (2013) using Android 4.4.4