SMTP error:password command failed:535 incorrect authentication data

Source: Internet
Author: User
Tags email account

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.