Skip to content

Add note about custom port being ignored by specific mailer transport DSN #18118

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 25, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions mailer.rst
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,17 @@ OhMySMTP ohmysmtp+smtp://API_TOKEN@default n/a

Note that the protocol is *always* HTTPs and cannot be changed.

.. note::

The specific transports, e.g. ``mailgun+smtp`` are designed to work without any manual configuration.
Changing the port by appending it to your DSN is not supported for any of these ``<provider>+smtp` transports.
If you need to change the port, use the ``smtp`` transport instead, like so:

.. code-block:: env

# .env
MAILER_DSN=smtp://KEY:DOMAIN@smtp.eu.mailgun.org.com:25

High Availability
~~~~~~~~~~~~~~~~~

Expand Down