Python QQ mailbox Automatically send mail

Source: Internet
Author: User
Tags mail code

For beginners in writing to send the message code common errors have SMTPAuthenticationError535, a little crazy, check the user name, password is correct is an error,

I think that is how I came to the same time, now to share your personal experience:

First, send the e-mail code as follows, in order to allow beginners to understand, the steps also give clear mark.

  

Two, after the run will throw SMTPAuthenticationError535 this exception, as follows.

The reason for this exception is not your mailbox password error, but because you want to log in the SMTP third party client, need to get your QQ mailbox Authorization code,

In other words, in password you should fill in the authorization code instead of your email password. What is the authorization code (refer to the Mailbox Help Center) and how to get the authorization code?

  

1, login to your mailbox, and find the nickname under the "Settings" link, go in and click on "Account" to find the following interface

2, open the IMAP/SMTP service, will jump out of the following window, you need to send text messages to the designated number, get authorization code, if you can successfully obtain authorization code, then directly replace the authorization code of your mailbox password can solve the problem

If you can't get it, it is your secret phone number is not your text message this mobile phone number, perhaps your previous mobile phone number, so you have to modify the secret phone number, and then come back to send SMS verification can be.

  

3, the security of the mobile phone number can be changed from the following entrance, follow the instructions.

  

Above

Python QQ mailbox Automatically send mail

Related Article

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.