diff --git a/docs/book/installation/installation.rst b/docs/book/installation/installation.rst index 42132d72c4..fcf89c5e71 100644 --- a/docs/book/installation/installation.rst +++ b/docs/book/installation/installation.rst @@ -82,18 +82,6 @@ In order to send emails you need to configure Mailer Service. Basically there ar * We are recommending to use `Symfony Mailer `_ where out of the box, you can deliver emails by configuring the ``MAILER_DSN`` variable in your .env file. * In Symfony Mailer use the `3rd Party Transports `_ -* (deprecated) Use SwiftMailer with this short configuration: - -1. **Create an account on a mailing service.** -2. **In your** ``.env`` **file modify/add the** ``MAILER_URL`` **variable.** - -.. code-block:: text - - MAILER_URL=gmail://username:password@local - -.. note:: - - Email delivery is disabled for test, dev and staging environments by default. The prod environment has delivery turned on. You can learn more about configuring mailer service in :doc:`How to configure mailer? ` diff --git a/docs/cookbook/emails/mailer.rst b/docs/cookbook/emails/mailer.rst index 09c0ef2b3e..d029f6a833 100644 --- a/docs/cookbook/emails/mailer.rst +++ b/docs/cookbook/emails/mailer.rst @@ -8,16 +8,7 @@ In Sylius emails are configured the Symfony way, so you can get inspired by the We are recommending to use `Symfony Mailer `_ where out of the box, you can deliver emails by configuring the ``MAILER_DSN`` variable in your .env file. -If you prefer using the SwiftMailer service you will need to: - -1. **Create an account on a mailing service.** -2. **In the your** ``.env`` **file modify/add the** ``MAILER_URL`` **variable.** - -.. code-block:: text - - MAILER_URL=gmail://username:password@localhost - -Emails delivery is disable for `test`, `dev` and `stage` environments by default. The `prod` environment has delivery turned +Emails delivery is disabled for `test`, `dev` and `stage` environments by default. The `prod` environment has delivery turned on by default, so there is nothing to worry about if you did not change anything about it. **That's pretty much all! All the other issues are dependent on the service you are using.**