article
menu_book Article

SMTP Authentication Required for Port 587: Error and Resolution Guide

Get The Most Affordable Hosting in the World!

Starting at just $1.87/month — fast, reliable & secure. Free CDN included.

rocket_launch Get Started

If you are getting this error message on some of your Email forms via PHP, there is a chance your script is not working with secure authentication via SMTP.

SMTP AUTH is required for message submission on port 587

That’s one of the ways to prevent spam issues on your server.

However, if you can’t update your code and need a fix quickly, on cPanel servers you can enable relay through IMAP or POP if they have authenticated in the last hour, it’s called ‘POP-before-SMTP’. You can enable this by moving to WHM – Tweak Settings

Then set this option to On:

Allow users to relay mail if they use an IP address through which someone has validated an IMAP or POP3 login within the last hour (Pop-before-SMTP)

That should get rid of that error message.

Remember this should be used as a temporary solution, your scripts or your client’s scripts should always authenticate via SMTP in order to send message. Having this option always ON may impact negatively in your email security.

 

The End! should you have any inquiries, we encourage you to reach out to the Vercaa Support Center without hesitation.

Was this answer helpful?

favorite 80 Users Found This Useful  ·  218 Votes

Powered by WHMCompleteSolution