I was trying to send mails with bluehost mail from a shared hosting with this configuration:
.env
MAIL_DRIVER=smtp
MAIL_HOST=box835.bluehost.com
MAIL_PORT=465
MAIL_USERNAME=mail@domain.pe
MAIL_PASSWORD=password
MAIL_ENCRYPTION=ssl
app/mail.php
'stream' => [
'ssl' => [
'allow_self_signed' => true,
'verify_peer' => false,
'verify_peer_name' => false,
],
],
And Im not getting any error but the mail is not sending any mail. This next configuration works fine with gmail but i need to use the bluehost mail
MAIL_DRIVER=smtp
MAIL_HOST=smtp.gmail.com
MAIL_PORT=587
MAIL_USERNAME=mail@gmail.com
MAIL_PASSWORD=password
MAIL_ENCRYPTION=tls
from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2HzmNjV
via IFTTT
Aucun commentaire:
Enregistrer un commentaire