1. Configure .env and config/mail.php (both use the same email information)
2. Generate the Mail class and point it to the view
3. Write in the controller that sends the email Enter the sending email code.
4. Use composer to install the Guzzle HTTP library
but it doesn’t work! ! ! !
Connection could not be established with host smtp.qq.com [php_network_getaddresses: getaddrinfo failed: Name or service not known #0]
No matter it is qq, 126 or 163
Need advice~! ~~
Let’s see if it’s useful to you, your question is too unclear
http://www.zhoujiping.com/scr...
Send me the configuration for a look
Use stl 587 port,
The key information in the error report is:
Please check your DNS settings.