Answer the question
In order to leave comments, you need to log in
How to set up Laravel and smtp mail.ru (mail for domains)?
Good day,
There are such settings in .env
MAIL_DRIVER=smtp
MAIL_HOST=smtp.mail.ru
MAIL_PORT=465
MAIL_USERNAME=моя_почта
MAIL_PASSWORD=мой_пароль
MAIL_ENCRYPTION=tls
Connection to tcp://smtp.mail.ru:465 Timed Out
Answer the question
In order to leave comments, you need to log in
Working variant:
Perhaps the ssl certificate is not needed, but I installed Lets encrypt.
MAIL_DRIVER=smtp
MAIL_HOST=smtp.mail.ru
MAIL_PORT=465
[email protected]
MAIL_PASSWORD=pass
MAIL_ENCRYPTION=ssl
[email protected]
MAIL_FROM_NAME='tra ta ta'
Send mail through specialized services. If you send from a regular user account, it will take a long time, and spam filters will stop.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question