Y
Y
YakutD2020-07-22 18:32:04
open server
YakutD, 2020-07-22 18:32:04

Why are laravel emails not being sent?

Hello, I'm trying to send a password reset email, I'm making a website in Laravel, I'm developing on a local machine (OpenServer). Laravel works without errors, but the letters do not come. I'm trying to send via smtp of my hosting, on which I have already worked out sending letters for my other sites more than once (although I worked with PHPMailer there). I'm working with Laravel for the first time, tell me what's wrong.

MAIL_DRIVER=smtp
MAIL_HOST=smtp.hostinger.ru
MAIL_PORT=587
[email protected]
[email protected]
MAIL_FROM_NAME=Sitename
MAIL_PASSWORD=mypassword
MAIL_ENCRYPTION=tls

5f185be14c61e155769822.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Vitkalov, 2020-07-30
@nechin

Not a solution, but a suggestion. If you need to check the sending of letters, but you cannot configure the mailer, then specify MAIL_DRIVER=log and look for the letter in the logs (storage/logs)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question