Skip to content

Commit 9675880

Browse files
committed
Merge branch '4.4' into 5.0
* 4.4: #12630 Update .env for \"send grid\" recipe change
2 parents f777f7a + dc4dc63 commit 9675880

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
@@ -58,15 +58,14 @@ You'll now have a new line in your ``.env`` file that you can uncomment:
5858
.. code-block:: bash
5959
6060
# .env
61-
SENDGRID_KEY=
62-
MAILER_DSN=sendgrid://$SENDGRID_KEY@default
61+
MAILER_DSN=sendgrid://KEY@default
6362
6463
The ``MAILER_DSN`` isn't a *real* address: it's a simple format that offloads
6564
most of the configuration work to mailer. The ``sendgrid`` scheme activates the
6665
SendGrid provider that you just installed, which knows all about how to deliver
6766
messages to SendGrid.
6867

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

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

0 commit comments

Comments
 (0)