Skip to content

Commit e769f16

Browse files
committed
update swiftmailer reference
1 parent 7893772 commit e769f16

File tree

1 file changed

+42
-0
lines changed

1 file changed

+42
-0
lines changed

reference/configuration/swiftmailer.rst

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,15 @@ a mailer. It is also possible to configure several mailers (see
1818
Configuration
1919
-------------
2020

21+
* `url`_
2122
* `transport`_
2223
* `username`_
2324
* `password`_
2425
* `host`_
2526
* `port`_
27+
* `timeout`_
28+
* `source_ip`_
29+
* `local_domain`_
2630
* `encryption`_
2731
* `auth_mode`_
2832
* `spool`_
@@ -37,6 +41,15 @@ Configuration
3741
* `disable_delivery`_
3842
* `logging`_
3943

44+
url
45+
~~~
46+
47+
**type**: ``string``
48+
49+
The URL to configure swift mailer.
50+
51+
Example: ``smtp://user:pass@host:port/?timeout=60&encryption=ssl&auth_mode=login&...``
52+
4053
transport
4154
~~~~~~~~~
4255

@@ -79,6 +92,27 @@ port
7992
The port when using ``smtp`` as the transport. This defaults to 465 if encryption
8093
is ``ssl`` and 25 otherwise.
8194

95+
timeout
96+
~~~~~~~
97+
98+
**type**: ``string``
99+
100+
The timeout when using ``smtp`` as the transport
101+
102+
source_ip
103+
~~~~~~~~~
104+
105+
**type**: ``string``
106+
107+
The source IP when using ``smtp`` as the transport
108+
109+
local_domain
110+
~~~~~~~~~~~~
111+
112+
**type**: ``string``
113+
114+
The domain name to use in HELO command.
115+
82116
encryption
83117
~~~~~~~~~~
84118

@@ -191,6 +225,14 @@ logging
191225
If true, Symfony's data collector will be activated for Swift Mailer and
192226
the information will be available in the profiler.
193227

228+
.. tip::
229+
230+
The following configuration options are compatible with ``%env()%`` parameters:
231+
``url``, ``transport``, ``username``, ``password``, ``host``,
232+
``port``, ``timeout``, ``source_ip``, ``local_domain``,
233+
``encryption``, ``auth_mode``
234+
For details, see the :doc:`/configuration/external_parameters` article.
235+
194236
Full Default Configuration
195237
--------------------------
196238

0 commit comments

Comments
 (0)