Skip to content

Commit 8570e39

Browse files
author
symfony-flex-server[bot]
authored
Merge pull request #558
2 parents bcbb29f + 4d2004b commit 8570e39

File tree

3 files changed

+29
-0
lines changed

3 files changed

+29
-0
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
framework:
2+
mailer:
3+
dsn: '%env(MAILER_DSN)%'

symfony/mailer/4.3/manifest.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"copy-from-recipe": {
3+
"config/": "%CONFIG_DIR%/"
4+
},
5+
"env": {
6+
"#1": "MAILER_DSN=smtp://localhost"
7+
}
8+
}

symfony/mailer/4.3/post-install.txt

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<bg=blue;fg=white> </>
2+
<bg=blue;fg=white> What's next? </>
3+
<bg=blue;fg=white> </>
4+
5+
* You're ready to send emails.
6+
7+
* If you want to send emails via a supported email provider, install
8+
the corresponding bridge.
9+
For instance, <info>composer require mailgun-bridge</> for Mailgun.
10+
11+
* If you want to send emails asynchronously:
12+
13+
1. Install the messenger component by running <info>composer require messenger</>;
14+
2. Add <info>'Symfony\Component\Mailer\Messenger\SendEmailMessage': amqp</> to the
15+
<info>config/packages/messenger.yaml</> file under <info>framework.messenger.routing</>
16+
and replace <info>amqp</> with your transport name of choice.
17+
18+
* <fg=blue>Read</> the documentation at <comment>https://symfony.com/doc/master/mailer.html</>

0 commit comments

Comments
 (0)