“Password not accepted from server: 535 Incorrect authentication data” when sending with GMail and phpMailer

故事扮演 提交于 2019-11-27 08:03:37

The solution was to enable outgoing SMTP from the server settings.

On servers running cPanel's WHM, this is located under WHM's "Tweak Settings" section.

The option is to enable/disable - choose disable.

Caveat: Making this change will redirect outgoing SMTP connections allow accounts to make direct connections which may increase your odds of getting your server blacklisted.

this is related to WHM/cPanel , you can do the same thing as in the previous answer or from shell by typing this

/scripts/smtpmailgidonly off

you should get

"SMTP Mail protection has been disabled.  All users may make outbound smtp connections."

more reading here https://forums.cpanel.net/threads/cant-enable-smtp-restrictions.360971/

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!