Revert "Merge pull request #596"

This reverts commit 4e3142d313, reversing
changes made to ddbcd99fc3.
This commit is contained in:
Fabien Potencier
2019-05-31 08:11:55 +02:00
parent 4e3142d313
commit 6842d39fdd
3 changed files with 10 additions and 3 deletions
+1 -2
View File
@@ -4,6 +4,5 @@
},
"env": {
"#1": "MAILER_DSN=smtp://localhost"
},
"aliases": ["mailer", "mail"]
}
}
+7
View File
@@ -8,4 +8,11 @@
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</>
+2 -1
View File
@@ -10,5 +10,6 @@
"#2": "For a generic SMTP server, use: \"smtp://localhost:25?encryption=&auth_mode=\"",
"#3": "Delivery is disabled by default via \"null://localhost\"",
"MAILER_URL": "null://localhost"
}
},
"aliases": ["mailer", "mail"]
}