File tree Expand file tree Collapse file tree 3 files changed +29
-0
lines changed Expand file tree Collapse file tree 3 files changed +29
-0
lines changed Original file line number Diff line number Diff line change
1
+ framework :
2
+ mailer :
3
+ dsn : ' %env(MAILER_DSN)%'
Original file line number Diff line number Diff line change
1
+ {
2
+ "copy-from-recipe" : {
3
+ "config/" : " %CONFIG_DIR%/"
4
+ },
5
+ "env" : {
6
+ "#1" : " MAILER_DSN=smtp://localhost"
7
+ }
8
+ }
Original file line number Diff line number Diff line change
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</>
You can’t perform that action at this time.
0 commit comments