In processing a use Phpmailer to send e-mail, I use my 163 mailbox locally to do the test send email, can successfully send e-mail, when uploaded to the official platform, there is a similar error message
SMTP Error:password command failed:535 Incorrect authentication data, SMTP connect () failed.
In the afternoon of 2015-03-03, close to work, I was in the test appeared, how can not send mail, then my Phpmailer smtpdebug is set to 1.
When I went to work in the morning of 2015-03-04, I was not sure what to do when I clicked on Phpmailer's examples, sublime Text2 click on each *.phps to open the preview inside the code, I was in the "examples/ Smtp.phps " See Smtpdebug's comments
// Enable SMTP debugging//0 = off (for production use)//1 = client messages//2 = client and server messages $mail->smtpdebug = 2;
By the right, yesterday I set to 1, only see "SMTP error:password command failed:535 Incorrect authentication data" message
With Smtpdebug set to 2 o'clock, I can see that the debug message is more "We do not authorize the use of this system to transport unsolicited" the message, probably means: we did not entrust the systems Other than the unauthorized service to forward the message.
So we can try to use an email account on our server to send e-mail, specific SMTP information, you need to see your server (space) email information. I use one of my email accounts on our server (space) to send mail, which can be sent successfully.
SMTP error:password command failed:535 incorrect authentication data