Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在 laravel 8 中忘记密码的过程有问题,最初我使用 mailtrap 进行忘记密码的过程,但现在我想使用 gmail 进行忘记密码的过程,有人知道如何将 mailtrap 配置为 gmail 吗?,我应该怎么做做第一步
您可以在 .env 中配置邮件设置:
MAIL_MAILER=smtp MAIL_HOST=smtp.googlemail.com MAIL_PORT=465 MAIL_USERNAME=YOUR_GMAIL@gmail.com MAIL_PASSWORD=PASSWORD MAIL_ENCRYPTION=ssl