Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bug #30995 [Mailer] allow user/pass on dsn while using failover/round…
…robin (scuben) This PR was merged into the 4.3-dev branch. Discussion ---------- [Mailer] allow user/pass on dsn while using failover/roundrobin | Q | A | ------------- | --- | Branch? | master <!-- see below --> | Bug fix? | yes | New feature? | no <!-- don't forget to update src/**/CHANGELOG.md files --> | BC breaks? | no <!-- see https://symfony.com/bc --> | Deprecations? | no <!-- don't forget to update UPGRADE-*.md and src/**/CHANGELOG.md files --> | Tests pass? | yes <!-- please add some, will be required by reviewers --> | Fixed tickets | n/a | License | MIT | Doc PR | n/a this PR provides two things: 1. It is possible now to user `username` and `password` in a failover or round robin transport when using smtp 2. Fixed a type problem with `username` and `password` for the smtp transport as `getUsername()` cannot return `null` because of its signature but if no `username` is provided then the property would have been `null`. Fixed with setting an empty string as default. Same for `password`. (This was discovered by adding a test - yeah!) Commits ------- 4518ac5 allow user/pass on dns while using failover/roundrobin and type fix for username/password
- Loading branch information