Answer the question
In order to leave comments, you need to log in
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
Answer the question
In order to leave comments, you need to log in
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 questionAsk a Question
731 491 924 answers to any question