dimanche 11 août 2019

why didn't redirect email send when it was uploaded to shared hosting and when it was still on localhost its working

why redirect email laravel not working on shared hosting and not giving error

my .env file

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

my mail.php file

<?php
return [
'driver' => env('MAIL_DRIVER', 'sendmail'),
'host' => env('MAIL_HOST'),
'from' => [
'address' => env('MAIL_FROM_ADDRESS'),
'name' => env('MAIL_FROM_NAME', 'Himstika'),
 ],
'encryption' => env('MAIL_ENCRYPTION', 'tls'),
'username' => env('MAIL_USERNAME'),
'password' => env('MAIL_PASSWORD'),
'sendmail' => '/usr/sbin/sendmail -bs',
];



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire