Skip to content

Commit

Permalink
minor #12664 #12630 Update .env for "send grid" recipe change (Thomas…
Browse files Browse the repository at this point in the history
… Berends)

This PR was squashed before being merged into the 4.4 branch (closes #12664).

Discussion
----------

#12630 Update .env for "send grid" recipe change

Fixes #12630

#SymfonyHackday

Commits
-------

3dfe2d6 #12630 Update .env for \"send grid\" recipe change
  • Loading branch information
wouterj committed Nov 23, 2019
2 parents 0ad9a9f + 3dfe2d6 commit dc4dc63
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions mailer.rst
Original file line number Diff line number Diff line change
Expand Up @@ -63,15 +63,14 @@ You'll now have a new line in your ``.env`` file that you can uncomment:
.. code-block:: bash
# .env
SENDGRID_KEY=
MAILER_DSN=sendgrid://$SENDGRID_KEY@default
MAILER_DSN=sendgrid://KEY@default
The ``MAILER_DSN`` isn't a *real* address: it's a simple format that offloads
most of the configuration work to mailer. The ``sendgrid`` scheme activates the
SendGrid provider that you just installed, which knows all about how to deliver
messages to SendGrid.

The *only* part you need to change is to set ``SENDGRID_KEY`` to your key (in
The *only* part you need to change is to replace ``KEY`` in the ``MAILER_DSN`` (in
``.env`` or ``.env.local``).

Each provider has different environment variables that the Mailer uses to
Expand Down

0 comments on commit dc4dc63

Please sign in to comment.