mirror of
https://github.com/symfony/recipes.git
synced 2026-09-15 17:16:24 +03:00
15 lines
692 B
Plaintext
15 lines
692 B
Plaintext
* You're ready to send emails.
|
|
|
|
* If you want to send emails via a supported email provider, install
|
|
the corresponding bridge.
|
|
For instance, <info>composer require mailgun-mailer</> for Mailgun.
|
|
|
|
* If you want to send emails asynchronously:
|
|
|
|
1. Install the messenger component by running <info>composer require messenger</>;
|
|
2. Add <info>'Symfony\Component\Mailer\Messenger\SendEmailMessage': amqp</> to the
|
|
<info>config/packages/messenger.yaml</> file under <info>framework.messenger.routing</>
|
|
and replace <info>amqp</> with your transport name of choice.
|
|
|
|
* <fg=blue>Read</> the documentation at <comment>https://symfony.com/doc/master/mailer.html</>
|