Skip to content

Commit 3f51b96

Browse files
committed
Merge branch '5.0' into 5.1
* 5.0: Added a caution about encoding DSN credentials
2 parents 5665008 + 6de312e commit 3f51b96

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

components/mailer.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,12 @@ For third-party providers, refer to the following table:
9898
Sendgrid sendgrid+smtp://apikey:KEY@default n/a sendgrid+api://KEY@default
9999
==================== ========================================== =========================================== ========================================
100100

101+
.. caution::
102+
103+
If your credentials contain special characters, you must URL-encode them.
104+
For example, the DSN ``ses+smtp://ABC1234:abc+12/345@default`` should be
105+
configured as ``ses+smtp://ABC1234:abc%2B12%2F345@default``
106+
101107
.. note::
102108

103109
When using SMTP, the default timeout for sending a message before throwing an

0 commit comments

Comments
 (0)