Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel env google smtp

# 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
 
PREVIOUS NEXT
Tagged: #laravel #env #google #smtp
ADD COMMENT
Topic
Name
6+1 =