Skip to content

Commit dc4dc63

Browse files
committed
minor #12664 #12630 Update .env for "send grid" recipe change (Thomas 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
2 parents 0ad9a9f + 3dfe2d6 commit dc4dc63

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

mailer.rst

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,15 +63,14 @@ You'll now have a new line in your ``.env`` file that you can uncomment:
6363
.. code-block:: bash
6464
6565
# .env
66-
SENDGRID_KEY=
67-
MAILER_DSN=sendgrid://$SENDGRID_KEY@default
66+
MAILER_DSN=sendgrid://KEY@default
6867
6968
The ``MAILER_DSN`` isn't a *real* address: it's a simple format that offloads
7069
most of the configuration work to mailer. The ``sendgrid`` scheme activates the
7170
SendGrid provider that you just installed, which knows all about how to deliver
7271
messages to SendGrid.
7372

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

7776
Each provider has different environment variables that the Mailer uses to

0 commit comments

Comments
 (0)