Skip to content

Commit 50dff0d

Browse files
committed
minor #22131 Document SES SMTP port and TLS configuration options (lacatoire)
This PR was merged into the 8.1 branch. Discussion ---------- Document SES SMTP port and TLS configuration options Fixes #22130 Documents the ability to configure the port in the `ses+smtp` DSN, introduced in Symfony 8.1. Commits ------- c81727b Document SES SMTP port and TLS configuration options
2 parents 2fd804f + c81727b commit 50dff0d

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

mailer.rst

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ party provider:
160160
| | - HTTP n/a |
161161
| | - API ``ahasend+api://KEY@default`` |
162162
+------------------------+-------------------------------------------------------------------------------------------+
163-
| `Amazon SES`_ | - SMTP ``ses+smtp://USERNAME:PASSWORD@default`` |
163+
| `Amazon SES`_ | - SMTP ``ses+smtp://USERNAME:PASSWORD@default:PORT`` |
164164
| | - HTTP ``ses+https://ACCESS_KEY:SECRET_KEY@default`` |
165165
| | - API ``ses+api://ACCESS_KEY:SECRET_KEY@default`` |
166166
+------------------------+-------------------------------------------------------------------------------------------+
@@ -251,6 +251,12 @@ party provider:
251251
you need to add the ``ping_threshold`` parameter to your ``MAILER_DSN`` with
252252
a value lower than ``10``: ``ses+smtp://USERNAME:PASSWORD@default?ping_threshold=9``
253253

254+
.. versionadded:: 8.1
255+
256+
The ability to configure the port in the ``ses+smtp`` DSN was introduced
257+
in Symfony 8.1. The port defaults to ``465`` (implicit TLS). When using
258+
port ``587`` or ``25``, STARTTLS is used instead of implicit TLS.
259+
254260
.. note::
255261

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

0 commit comments

Comments
 (0)