-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
[SwiftMailer] Update future reference #7510
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
287b71f
54ad41c
635a0ab
ef7536c
76ce6af
6aa0117
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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`_ | ||
|
@@ -37,6 +41,15 @@ Configuration | |
* `disable_delivery`_ | ||
* `logging`_ | ||
|
||
url | ||
~~~ | ||
|
||
**type**: ``string`` | ||
|
||
The URL to configure swift mailer. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Swiftmailer There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. "The URL" doesn't look precise enough to me. What about "The URL describing the mail server to connect with"? |
||
|
||
Example: ``smtp://user:pass@host:port/?timeout=60&encryption=ssl&auth_mode=login&...`` | ||
|
||
transport | ||
~~~~~~~~~ | ||
|
||
|
@@ -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 | ||
~~~~~~~~~~ | ||
|
||
|
@@ -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``. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Considering symfony/swiftmailer-bundle#159 (comment), we should remove these two parameters for now, wdyt? |
||
For details, see the :doc:`/configuration/external_parameters` article. | ||
|
||
Full Default Configuration | ||
-------------------------- | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing version added? (same for other options below)