Tuesday, September 12, 2017

SMTP Error connecting External Mail Server

When you are sending email connecting another/external mail server and your are using php & cpanel
You will get an error like, Can not send, smtp problem and some stupid error.

Please make sure the port is open: 587
and you have to go to you WHM
Search for "ConfigServer Security & Firewall"
Edit Fire Wall Configuration (Edit the configuration file for the csf firewall and lfd)
Scroll down till SMTP_ALLOWUSER and add username of cpanel account and press enter to save and restart

No comments:

Post a Comment