Gmail "send mail as" using cPanel mail account auth error
Getting the following error when I attempt to add a "send mail as" cpanel email account to gmail:
Server returned error: "535 Incorrect authentication data, code: 535"
I've verified the settings, tried both SSL and non-SSL. Still doesn't work.
The SMTP server works fine:
- using cpanel /webmail
- using PHP SMTP functions
I'm at a loss here. How do I get this to work in gmail?
-
HI @kjdion84 First I would suggest ensuring that the password you're using with the email account is correct When I added my own I used the following: SMTP Server: mydomain.com Username: me@mydomain.com Password: thepassword for me@mydomain.com Port: 587 Secured Connection using TLS checked If this doesn't work for you, you may need to ensure that you're not being blocked by cPhulk or a firewall and that Gmail can connect to your server. Gmail has a help article on how to set this up with them as well: Send emails from a different address or alias - Gmail Help Thank you, 0 -
removing mail. from the domain worked thanks 0 -
Hi @kjdion84 I'm really happy to hear that! Thank you for letting us know that you were able to resolve the issue. 0 -
Hi, I am having the same problem, I have tried all the suggested way and still cannot get the result. Please help. The error I always get Couldn't reach server. Please double-check the server and port number. 0 -
Hi, I am having the same problem, I have tried all the suggested way and still cannot get the result. Please help. The error I always get
Couldn't reach server. Please double-check the server and port number.
Can you detail what you're doing when sending mail step by step?0 -
Hi, Here are my steps: 1) Email Forwarder > forward to my email 2) Email Account > Connect devices 3) Go to Gmail > Settings > Account & Import > Send mail as : (add another email) 4)Pop Up > Enter Name and domain email > Next Step 5)SMTP Server (smtp.mydomain.com)(autoload) > port 587 > username & password ( Secured connect using TLS (recommended)) > Add Account 6) Error :
Either these two errors.Server returned error: "DNS Error: 14865954 DNS type 'aaaa' lookup of smtp.mydomain.com responded with code NXDOMAIN 14865954 DNS type 'a' lookup of smtp.mydomain.com responded with code NXDOMAIN, code: 0" Server returned error: "535 Incorrect authentication data, code: 535" 0 -
Does smtp.mydomain.com resolve? What is the output when you run something like the following? dig a smtp.mydomain.com0 -
Can you detail what you're doing when sending mail step by step?
Hi Did you manage to get this working? And Gmail constantly gives me the "Couldn't reach server" error. However the settings all work perfectly in email clients. I also added the suggested list of ips to my csf list, but still no luck. BTW, I'm quite new to cpanel so might need some guidance. Any ideas would be greatly appreciated. Thanks Eddie0 -
This isn't a cPanel issue, this is a configuration issue which would exist across any platform. What are you entering in for the SMTP server information? 0
Please sign in to leave a comment.
Comments
9 comments