laravelemailgmailcpanel

when i send email to gmail the mail go to spam and don't show image in cpanel


I try to send email using cpanel email account, but when i send email go to spam.

this is the .env file

MAIL_DRIVER=smtp
MAIL_HOST=mail.***********.com.sa
MAIL_PORT=465
MAIL_USERNAME=basma@**********.com.sa
MAIL_PASSWORD=********
MAIL_ENCRYPTION=ssl

Solution

  •  use mail username of gmail and use proper content , it will not got to spam
    

    MAIL_DRIVER=smtp

    MAIL_HOST=smtp.gmail.com

    MAIL_PORT=587

    MAIL_USERNAME=@gmail.com

    MAIL_PASSWORD=****

    MAIL_ENCRYPTION=ssl