A
A
Andrey Boychenko2019-10-16 23:26:24
Laravel
Andrey Boychenko, 2019-10-16 23:26:24

Laravel multiple domains in mailgun?

Goodnight! Please tell me how in runtime, you can change the system configuration so that I can send a message from domain A to the mailgun driver and at the same moment send another message, but through a different domain. I didn't find anything in the documentation. I would be grateful for help.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
J
JhaoDa, 2019-10-16
@JhaoDa

I didn't find anything in the documentation
True ?
Upd: it became clear in the comments - theoretically, you need to register the second mailgun driver in the transport manager and then replace the SwiftMailer instance with a new one, with this transport.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question