First of all we need to know the login QQ mailbox mail is the need to change their QQ mailbox settings using python, here we need to do two things: open SMTP mail function, obtain authorization code
The following is the procedure:
Open QQ-mail:
Open the Settings
Click Account
sliding down to open POP3 / SMTP service
then sends the message content as required and then you'll get an authorization code