Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit91aa728

Browse files
committed
Minor tweaks
1 parent7d360e6 commit91aa728

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

‎mailer.rst

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -423,21 +423,20 @@ setting the ``auto_tls`` option to ``false`` in the DSN::
423423
Ensure TLS
424424
~~~~~~~~~~
425425

426-
You may want to ensure TLS is used, either directly or via ``STARTTLS``,
427-
for sending mail over SMTP regardless of other options set or SMTP server
428-
support. You can set TLS as required by calling ``setRequireTls(true)``
429-
on the ``EsmtpTransport`` instance, or by setting the ``require_tls`` option
430-
to ``true`` in the DSN::
426+
You may want to ensure that TLS is used (either directly or via ``STARTTLS``)
427+
when sending mail over SMTP, regardless of other options or SMTP server support.
428+
To require TLS, call ``setRequireTls(true)`` on the ``EsmtpTransport`` instance,
429+
or set the ``require_tls`` option to ``true`` in the DSN::
431430

432431
$dsn = 'smtp://user:pass@10.0.0.25?require_tls=true';
433432

434-
When TLS isset asrequired, a:class:`Symfony\\Component\\Mailer\\Exception\\TransportException`
435-
will bethrown if a TLS connection cannot beachieved during initialcommunications
433+
When TLS is required, a:class:`Symfony\\Component\\Mailer\\Exception\\TransportException`
434+
isthrown if a TLS connection cannot beestablished duringtheinitialcommunication
436435
with the SMTP server.
437436

438437
..note::
439438

440-
This setting onlyworks when the ``smtp://`` protocol is used.
439+
This setting onlyapplies whenusingthe ``smtp://`` protocol.
441440

442441
..versionadded::7.3
443442

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp