I'm unable to send email using the smtp. Got 535 Incorrect authentication data

redjersey

Verified User
Joined
Apr 22, 2013
Messages
91
Location
Toronto, Canada
Let's say I have a domain name mydomain.com added to my directadmin
Also I have created an email address: [email protected] and set the password to abc123

I'm able to send email using the webmail like roundcube, however, I'm unable to send any email using smtp.

I have tried this on my android email app or php smtp script and I'm getting the
535 Incorrect authentication data

550 relay not permitted, authentication required
error.

here is what I have tried:
smtp host: mail.mydomain.com
smtp user: [email protected]
smtp password: abc123

I have tried all 3 different settings:
1.
port: 25
authentication: none
2. port: 465
authentication: ssl
3. port: 587
authentication: tls

Note: I have turned off my firewall when testing this.
 
Last edited:
You need to specify that SMTP require Authentication when you configure your mail client/phone.

Also, SSL is not an authentication method, but a crypt method.

So, you set on every device:

SMTP Server: mail.domain.tld
SMTP Port: 465/587
Crypt Method: SSL
Authentication: use same as incoming mail server, or, specify manually

Regards
 
Back
Top