Joke Collection Website - Public benefit messages - The verification code sent by tp5 mailbox POP3 cannot be used on the server. Why?
The verification code sent by tp5 mailbox POP3 cannot be used on the server. Why?
1. Log in to 163 and find "Settings" on the home page.
2. Select the service to be opened, generally, POP3/SMTP/IMAP. To open the SMTP service, you must first open the customer authorization code.
3. Click Open Customer Authorization Code, and then select Open.
4. You need a mobile phone verification code, and you need to bind the mobile phone number.
5.SMTP service needs to enter the client authorization password. This password is your login password in the mailbox of the third-party client (it will be used later when sending mail using phpmailer). If you enter your previous email login password on a third-party client, an error will occur.
6. After setting the client authorization password, the SMTP service was successfully opened.
Second, download the phpmailer compressed package first.
Create a new mailer folder in the extend directory of thinkphp5 project, and then copy the files from phpmailer.php and smtp.php to this directory.
In phpmailer.php, change the namespace at the top to
Namespace mailer;
increase
Use thinking \ abnormal;
The modified namespace in smtp.php is
Namespace mailer;
- Previous article:What did Nokia do?
- Next article:Huawei children's watch 3X can't receive SMS verification code?
- Related articles
- Huawei's mobile phone can't receive the phone bill SMS.
- How to check the flow direction of electrical signals?
- New Year's greetings from the teacher.
- Can Taiyuan go out now?
- I am a user of Zhejiang Shenzhouxing starting with 137. I want to open a discount package for SMS. Does anyone know what package can be opened?
- Measures to Optimize Business Environment in Hubei Province
- What does home office mean?
- Publicity copy of Lantern Festival activities
- How to make the female classmate I like fail to do well in the exam to make her happy? I want high scores.
- The bitter words written to myself after breaking up, name-name-nickname-name-predecessor-end.