diff --git a/symfony/mailer/4.3/config/packages/mailer.yaml b/symfony/mailer/4.3/config/packages/mailer.yaml new file mode 100644 index 00000000..56a650d8 --- /dev/null +++ b/symfony/mailer/4.3/config/packages/mailer.yaml @@ -0,0 +1,3 @@ +framework: + mailer: + dsn: '%env(MAILER_DSN)%' diff --git a/symfony/mailer/4.3/manifest.json b/symfony/mailer/4.3/manifest.json new file mode 100644 index 00000000..84181b0d --- /dev/null +++ b/symfony/mailer/4.3/manifest.json @@ -0,0 +1,8 @@ +{ + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + }, + "env": { + "#1": "MAILER_DSN=smtp://localhost" + } +} diff --git a/symfony/mailer/4.3/post-install.txt b/symfony/mailer/4.3/post-install.txt new file mode 100644 index 00000000..155278a9 --- /dev/null +++ b/symfony/mailer/4.3/post-install.txt @@ -0,0 +1,18 @@ + + What's next? + + + * You're ready to send emails. + + * If you want to send emails via a supported email provider, install + the corresponding bridge. + For instance, composer require mailgun-bridge for Mailgun. + + * If you want to send emails asynchronously: + + 1. Install the messenger component by running composer require messenger; + 2. Add 'Symfony\Component\Mailer\Messenger\SendEmailMessage': amqp to the + config/packages/messenger.yaml file under framework.messenger.routing + and replace amqp with your transport name of choice. + + * Read the documentation at https://symfony.com/doc/master/mailer.html