Smtp not working on server

  Mon 08 / 05 / 2023

  Posted by: Ravi ranjan

Category : Php

Tags : laravel , php , php laravel , backend

Description

MAIL_PORT=587  // I also trying port with 465

MAIL_ENCRYPTION=ssl // I am also trying to--> tls 



But not any working   


View Code
                        MAIL_MAILER=smtp
MAIL_HOST=smtp.gmail.com
MAIL_PORT=587 MAIL_USERNAME=gmail@gmail.com
MAIL_PASSWORD=
MAIL_ENCRYPTION=ssl
MAIL_FROM_ADDRESS="gmail@gmail.com"
MAIL_FROM_NAME="server"
                
  Answered by CDL

Your email credentials are wrong, please copy the correct credentials, otherwise, it wouldn't work.

Copy the correct host, username, password and mail_from data.

  Comment   Share
0 Likes   1 Comment


comment-author
Ravi ranjan Author

Sir please make a video



Reply


commented 1 year ago
comment-author
Hadayat Niazi Super Admin

Already have a detailed course on it. Please visit the below link to watch the course. https://www.youtube.com/watch?v=uaMjWdsS9L4&list=PLDc9bt_00KcLRfxq6B7Z7qPWCCxI-RFGs