@@ -128,7 +128,7 @@ Service Install with Webhook su
128
128
129
129
The Mailomat, Mailtrap, Postal and Sweego integrations were introduced in Symfony 7.2.
130
130
131
- .. versionadded :: 7.3
131
+ .. deprecated :: 7.3
132
132
133
133
The AhaSend integration was introduced in Symfony 7.3.
134
134
@@ -347,7 +347,7 @@ the retry period by setting the ``retry_period`` option in the DSN:
347
347
348
348
MAILER_DSN="failover(postmark+api://ID@default sendgrid+smtp://KEY@default)?retry_period=15"
349
349
350
- .. versionadded :: 7.3
350
+ .. deprecated :: 7.3
351
351
352
352
The ``retry_period `` option was introduced in Symfony 7.3.
353
353
@@ -378,7 +378,7 @@ the retry period by setting the ``retry_period`` option in the DSN:
378
378
379
379
MAILER_DSN="roundrobin(postmark+api://ID@default sendgrid+smtp://KEY@default)?retry_period=15"
380
380
381
- .. versionadded :: 7.3
381
+ .. deprecated :: 7.3
382
382
383
383
The ``retry_period `` option was introduced in Symfony 7.3.
384
384
@@ -426,6 +426,27 @@ setting the ``auto_tls`` option to ``false`` in the DSN::
426
426
427
427
This setting only works when the ``smtp:// `` protocol is used.
428
428
429
+ Binding to IPv4 or IPv6
430
+ ~~~~~~~~~~~~~~~~~~~~~~~
431
+
432
+ .. deprecated :: 7.3
433
+
434
+ The option to bind to IPv4 or IPv6 or a specific IP address was introduced in Symfony 7.3.
435
+
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::
439
+
440
+ $dsn = 'smtp://smtp.example.com?source_ip=0.0.0.0';
441
+
442
+ As per RFC2732, IPv6 addresses must be surrounded by square brackets. To bind to IPv6, use::
443
+
444
+ $dsn = 'smtp://smtp.example.com?source_ip=[::]';
445
+
446
+ .. note ::
447
+
448
+ This setting only works when the ``smtp:// `` protocol is used.
449
+
429
450
Overriding default SMTP authenticators
430
451
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
431
452
0 commit comments