File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -58,15 +58,14 @@ You'll now have a new line in your ``.env`` file that you can uncomment:
58
58
.. code-block :: bash
59
59
60
60
# .env
61
- SENDGRID_KEY=
62
- MAILER_DSN=sendgrid://$SENDGRID_KEY @default
61
+ MAILER_DSN=sendgrid://KEY@default
63
62
64
63
The ``MAILER_DSN `` isn't a *real * address: it's a simple format that offloads
65
64
most of the configuration work to mailer. The ``sendgrid `` scheme activates the
66
65
SendGrid provider that you just installed, which knows all about how to deliver
67
66
messages to SendGrid.
68
67
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
70
69
``.env `` or ``.env.local ``).
71
70
72
71
Each provider has different environment variables that the Mailer uses to
You can’t perform that action at this time.
0 commit comments