skip to Main Content

Receive email from users in my gmail account when user submit the contact form in laravel in live server – CPanel

I am using laravel 7. I want to receive email from user in my gmail account when user submit the contact form in live server. My .env MAIL_MAILER=smtp MAIL_HOST=smtp.gmail.com MAIL_PORT=587 MAIL_USERNAME=mygmail MAIL_PASSWORD=mypassword MAIL_ENCRYPTION=tls MAIL_FROM_ADDRESS=null MAIL_FROM_NAME="${APP_NAME}" My controller public function saveContact(Request…

VIEW QUESTION
Back To Top
Search