How to fix SMTP authentication error in Gmail?
What are the ways to solve SMTP authentication error in Gmail?
I am using my old Gmail account with a new Gmail id, but now getting SMTP authentication error. How to fix this problem and how can I use my old Gmail account.
The question was asked in Gmail technical support forums as well, but no response from Gmail team. I have searched google for SMTP Authentication Error in Gmail and the result is not good.
Please note that this question is different from the question about Gmail is not working properly and you get SMTP Authentication error message. This question is related to the SMTP Authentication error in Gmail question.
If this question is already answered in comments or answers please don't hesitate to point me to the answer. If you found this article useful, share it with your friends.
How to unblock SMTP port 587?
Many people may have heard about SMTP (Simple Mail Transfer Protocol) port 587. It is a port used for e-mail. The SMTP e-mail server allows you to send an e-mail. So, if your server is not blocked on this port, you can send an e-mail from your web browser or your mail client.
If you are a system administrator, you need to know how to unblock this port. Because it is very easy to block this port. If you are using the Windows operating system, you can use the command line tool to unblock SMTP port 587.
You must be logged in as administrator for access this page. Click the Start button and click Command Prompt. Type the command netstat -an. Type the command ipconfig /flushdns and press Enter. Type the command netsh int ipv4 set nameexceptions smtp and press Enter. Type the command netsh int ipv4 lan set nameexceptions smtp and press Enter. You can unblock the SMTP service using the command net stop smtp to disable it. Type the command netsh int ipv4 start smtp to enable it. Type the command netsh int ipv4 lan start smtp to enable it. Type the command netsh int ipv4 stop smtp to disable it. Type the command netsh int ipv4 lan stop smtp to disable it. Note: You should keep track of the SMTP port that is being used on your firewall. You can use the tools that I mentioned above to unblock the port. It is not necessary that you have to unblock the port with the command line tool. You can unblock the port using the Firewall policy on the Windows operating system.
Why is my SMTP server not sending emails to Gmail?
My server is sending emails out via sendmail, and it's working fine on a development server.
On the live server (which is running the same OS version, and has the same version of PHP installed), it's not working.
The Live server has Apache2, Postfix, MySQL, and PHP installed. It sends out mail fine.
Sendmail is working fine - I can send mail to any local addresses and Gmail on the live server. It's only sending mail to Gmail that is the issue. The message is sent, but it does not get through to Gmail.
Check your MTA logs. On the live server, do a. Tail /var/log/mail.log and see if there's any error messages about mail delivery.
Related Answers
How does the Simple Mail Transfer Protocol work?
It is a request-reply protocol used for electro...
What is Simple Mail Transfer Protocol and how does it work?
Simple Mail Transfer Protocol (SMTP) is a well-...
Why is SMTP port 465 not working?
Gmail does not support SMTPS port 465. But you can use it with the por...