📜  laravel env google smtp - PHP 代码示例

📅  最后修改于: 2022-03-11 14:54:00.505000             🧑  作者: Mango

代码示例1
# In .env file under root project.

MAIL_DRIVER=smtp    
MAIL_HOST=smtp.gmail.com   
MAIL_PORT=587      
MAIL_USERNAME=youremailusername
MAIL_PASSWORD=youremailpassword
MAIL_ENCRYPTION=tls