Page 1 of 1

SMTP authentication error

Posted: Mon Apr 27, 2015 7:26 am
by jeetusaini85
Hi,

Getting below error while configuring the email through SMTP. Please help on this.
--------------------------------------------------------------------------------------------------------------------------------
Error: 535 Incorrect authentication data
--------------------------------------------------------------------------------------------------------------------------------
Resolving SMTP server domain "smtp.rediffmailpro.com"...
Connecting to SMTP server "xxx.xxx.xxx.24" port 587...
Connected to SMTP server "smtp.rediffmailpro.com".
S 220-server.mydomain.com ESMTP Exim 4.85 #2 Mon, 27 Apr 2015 12:49:04 +0530
S 220-We do not authorize the use of this system to transport unsolicited,
S 220 and/or bulk e-mail.
C EHLO www.mydomain.com
S 250-server.mydomain.com Hello www.mydomain.com [xxx.xxx.xxx.85]
S 250-SIZE 52428800
S 250-8BITMIME
S 250-PIPELINING
S 250-AUTH PLAIN LOGIN
S 250-STARTTLS
S 250 HELP
C AUTH PLAIN aXRzdXBwb3J0QGludGVjY2FwaXRhbC5jb20AaXRzdXBwb3J0QGludGVjY2FwaXRhbC5jb20ASW50ZWNAMTk5NA==
S 535 Incorrect authentication data
C AUTH PLAIN AGl0c3VwcG9ydEBpbnRlY2NhcGl0YWwuY29tAEludGVjQDE5OTQ=
S 535 Incorrect authentication data
C AUTH PLAIN aXRzdXBwb3J0QGludGVjY2FwaXRhbC5jb20ASW50ZWNAMTk5NAA=
S 535 Incorrect authentication data
--------------------------------------------------------------------------------------------------------------------------------

Re: SMTP authentication error

Posted: Mon Apr 27, 2015 10:47 am
by Klemen
It means that email username and/or password are incorrect.

Re: SMTP authentication error

Posted: Tue Apr 28, 2015 7:40 am
by jeetusaini85
Hi,

Thanks for your reply. I have checked, email username and/or password are correct even same is open in web with login of same email and password but still getting this error.

I have consult my web hoster and he told me that there is authentication issue in your PHP file, you must enable the SMTP authentication in your PHP file.

Please help.

Re: SMTP authentication error

Posted: Tue Apr 28, 2015 8:36 am
by Klemen
Authentication is indeed enabled, that's the purpose of this SMTP test. Show that SMTP log to your host (AUTH PLAIN).

The SMTP server returns "Incorrect authentication data" so it's an error there. You are most likely entering wrong authentication data. SMTP login details might not be the same as your web login details, check with your email provider for the correct SMTP login details (server, port, user, password)!