-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Update Swiftmailer configuration docs #7152
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
Conversation
@jverdeyen thanks for documenting this missing option. Looking at the code of Swiftmailer, we can see the following:
So I guess we should also do the following:
|
Updated! |
I was going to create a new issue in the Symfony repo to mention the If that's correct, my previous comment was completely wrong and we should revert the b34d046 commit. I'm really sorry. |
So both |
@jverdeyen yes, because even the master branch in the Symfony Standard edition requires this: "symfony/swiftmailer-bundle": "^2.3", See https://github.com/symfony/symfony-standard/blob/master/composer.json#L19 |
@javiereguiluz Updated! |
👍 @jverdeyen thanks for completing this and sorry for having given you wrong directions in my previous comments. |
@javiereguiluz No problem! |
@@ -53,12 +53,12 @@ will not be sent when you run tests, but will continue to be sent in the | |||
If you'd also like to disable deliver in the ``dev`` environment, simply | |||
add this same configuration to the ``config_dev.yml`` file. | |||
|
|||
Sending to a Specified Address | |||
Sending to a Specified Address(es) | |||
------------------------------ |
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.
you need to make the underlining longer here as the title is longer
@javiereguiluz but the policy was to avoid documenting deprecated features though, so the doc should describe only the new way IMO |
@jverdeyen I've updated your pull request to remove any mention to the deprecated I have a question for XML config experts (@xabbug, @wouterj) How can I define the |
@javiereguiluz You wil define several |
@@ -235,7 +236,6 @@ Full Default Configuration | |||
auth_mode="" | |||
sender_address="" | |||
delivery_address="" |
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.
Should this delivery_address
option be removed to?
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.
done
Any update? |
Thank you @jverdeyen. |
…guiluz, xabbuh) This PR was submitted for the master branch but it was merged into the 2.7 branch instead (closes #7152). Discussion ---------- Update Swiftmailer configuration docs Added `delivery_addresses` configuration. Commits ------- bbc673a add missing dot at the end of sentence 45cbc55 add labels for old headlines 2c97e50 delivery adresses are separate XML element nodes daaa24a Removed the description of the deprecated `delivery_address` option 55c38a6 Removed any mention of the deprecated delivery_address option ea508f9 Removed the mention to the deprecated delivery_address option 56f6f53 Fixed a minor syntax issue 2f58823 Fixed a minor syntax issue 660aaa1 Update Swiftmailer configuration docs
Added
delivery_addresses
configuration.