Skip to content

Commit ba6944a

Browse files
committed
Minor tweaks
1 parent 799b63b commit ba6944a

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

mailer.rst

+6-6
Original file line numberDiff line numberDiff line change
@@ -431,21 +431,21 @@ Binding to IPv4 or IPv6
431431

432432
.. versionadded:: 7.3
433433

434-
The option to bind to IPv4 or IPv6 or a specific IP address was introduced in Symfony 7.3.
434+
The option to bind to IPv4, or IPv6, or a specific IP address was introduced in Symfony 7.3.
435435

436-
By default, the underlying SocketStream will bind to IPv4 or IPv6 depending on the available
437-
interfaces. By specifying the ``source_ip`` option, binding to either IPv4 or IPv6 can be enforced,
438-
or even to a specific address. To bind to IPv4, use::
436+
By default, the underlying ``SocketStream`` will bind to IPv4 or IPv6 based on the
437+
available interfaces. You can enforce binding to a specific protocol or IP address
438+
by using the ``source_ip`` option. To bind to IPv4, use::
439439

440440
$dsn = 'smtp://smtp.example.com?source_ip=0.0.0.0';
441441

442-
As per RFC2732, IPv6 addresses must be surrounded by square brackets. To bind to IPv6, use::
442+
As per RFC2732, IPv6 addresses must be enclosed in square brackets. To bind to IPv6, use::
443443

444444
$dsn = 'smtp://smtp.example.com?source_ip=[::]';
445445

446446
.. note::
447447

448-
This setting only works when the ``smtp://`` protocol is used.
448+
This option only works when using the ``smtp://`` protocol.
449449

450450
Overriding default SMTP authenticators
451451
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

0 commit comments

Comments
 (0)