Skip to content
Closed
Changes from 1 commit
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
a22a973
use namespaced PHPUnit TestCase class
xabbuh Apr 28, 2017
3c9588e
use namespaced PHPUnit TestCase class
xabbuh Apr 28, 2017
fead634
[PhpUnitBridge] fix Stopwatch API usage
xabbuh Apr 28, 2017
879347c
Replace calls to setDefinition() by register()
GuilhemN Apr 30, 2017
b161bd8
update swiftmailer reference
mykiwi Feb 17, 2017
2bd1a22
Minor tweaks
javiereguiluz Feb 19, 2017
0e2853a
add mail transport as deprecated
mykiwi Feb 23, 2017
3333723
Added the missing "versionadded" directives
javiereguiluz Mar 13, 2017
3395258
Fixed ... again ... the versionadded directives
javiereguiluz Mar 13, 2017
8eaccef
Removed "encryption" and "auth_mode" from the list of %env()% compati…
javiereguiluz Mar 13, 2017
1c39991
fix versionadded directives
xabbuh Apr 30, 2017
7dbf4c5
add labels for old headlines
xabbuh May 1, 2017
2b187c8
minor #7867 add labels for old headlines (xabbuh)
xabbuh May 4, 2017
23bdb62
minor #7862 Backport #7510 for the Symfony 2.7 docs (mykiwi, javiereg…
xabbuh May 4, 2017
7ec94fe
minor #7856 [PhpUnitBridge] fix Stopwatch API usage (xabbuh)
xabbuh May 4, 2017
a360e3c
minor #7855 [PhpUnitBridge] use namespaced PHPUnit TestCase class (xa…
xabbuh May 4, 2017
a256fed
minor #7854 [PhpUnitBridge] use namespaced PHPUnit TestCase class (xa…
xabbuh May 4, 2017
5982698
minor #7861 Replace calls to setDefinition() by register() (GuilhemN)
xabbuh May 4, 2017
a481fdf
Merge commit '59826981d604c02eb5dfa53bf679cf6d86d278fc' into DEFINITION
GuilhemN May 6, 2017
36caee0
Merge branch 'DEFINITION' into MERGE3.2
GuilhemN May 6, 2017
08b531a
Merge branch 'MERGE3.2' into MERGEMASTER
GuilhemN May 6, 2017
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
update swiftmailer reference
  • Loading branch information
mykiwi authored and xabbuh committed Apr 30, 2017
commit b161bd80e40129dcdbeaf4e318d102ba122c7861
42 changes: 42 additions & 0 deletions reference/configuration/swiftmailer.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,15 @@ a mailer. It is also possible to configure several mailers (see
Configuration
-------------

* `url`_
* `transport`_
* `username`_
* `password`_
* `host`_
* `port`_
* `timeout`_
* `source_ip`_
* `local_domain`_
* `encryption`_
* `auth_mode`_
* `spool`_
Expand All @@ -37,6 +41,15 @@ Configuration
* `disable_delivery`_
* `logging`_

url
~~~

**type**: ``string``

The URL to configure swift mailer.

Example: ``smtp://user:pass@host:port/?timeout=60&encryption=ssl&auth_mode=login&...``

transport
~~~~~~~~~

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

timeout
~~~~~~~

**type**: ``integer``

The timeout when using ``smtp`` as the transport

source_ip
~~~~~~~~~

**type**: ``string``

The source IP when using ``smtp`` as the transport

local_domain
~~~~~~~~~~~~

**type**: ``string``

The domain name to use in HELO command.

encryption
~~~~~~~~~~

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

.. tip::

The following configuration options are compatible with ``%env()%`` parameters:
``url``, ``transport``, ``username``, ``password``, ``host``,
``port``, ``timeout``, ``source_ip``, ``local_domain``,
``encryption``, ``auth_mode``.
For details, see the :doc:`/configuration/external_parameters` article.

Full Default Configuration
--------------------------

Expand Down