C
C
Chvalov2017-08-31 19:10:24
Email
Chvalov, 2017-08-31 19:10:24

How to send emails from multiple addresses in Laravel?

I connected yandex mail for the domain , registered everything necessary in config/mail.php, sends letters, no problems.
But how to send letters from different soaps, for example, with registration data from [email protected], news from [email protected], but what about order data from [email protected] ?
Preferably with code examples

Answer the question

In order to leave comments, you need to log in

1 answer(s)
U
UksusoFF, 2017-08-31
@UksusoFF

If the driver is sendmail then you can send from any address. From in letters can be specified without problems https://laravel.com/docs/5.4/mail

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question