SMTP Error 535 (Incorrect authentication data) using PEAR mail

孤街醉人 提交于 2019-12-12 16:07:27

问题


I used the code from https://stackoverflow.com/a/2748837 to attempt to log into both Gmail and my website's server, and for both of them I received the same error:

authentication failure [SMTP: Invalid response code received from server (code: 535, response: Incorrect authentication data)]

I have double- and triple-checked that the usernames and passwords are correct (since it works from a desktop client), and removed the brackets around the username. What could be the problem?

来源:https://stackoverflow.com/questions/11460582/smtp-error-535-incorrect-authentication-data-using-pear-mail

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