Answer the question
In order to leave comments, you need to log in
Mail config in Laravel. How to set up sending mail through a local msmpt server?
Hello.
On the local machine (Linux), I installed and configured the MSMPT mail server. Configured it to work with my smtp on the server.
I registered it as a mail handler in the PHP config.
Through the console and the PHP mail() function under Apache, everything works fine.
But I can't figure out how to configure laravel to send mail via MSMPT.
In Laravel, its drivers, if you specify MAIL_MAILER=mail in .env, it doesn’t work, it says there is no such mailer:
InvalidArgumentException
Mailer [mail] is not defined.
Please tell me how to set up.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question