Commit c0787c7
committed
minor #16428 [Mailer] Capitalise From and Bcc header names in global mailer configuration (andyexeter)
This PR was submitted for the 5.4 branch but it was merged into the 5.3 branch instead.
Discussion
----------
[Mailer] Capitalise From and Bcc header names in global mailer configuration
If the `From` header name is not capitalised, the header is replaced by the `Sender` address in the Mime component's Message object:
https://github.com/symfony/symfony/blob/6a52b66da0d35b21031bb344e79522f73d60e05a/src/Symfony/Component/Mime/Message.php#L76-L81
I capitalised `Bcc` as well because the component also looks for this header in a case-sensitive way.
Commits
-------
418426a Capitalise From and Bcc header names in global mailer configuration1 file changed
+6
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
535 | 535 | | |
536 | 536 | | |
537 | 537 | | |
538 | | - | |
539 | | - | |
| 538 | + | |
| 539 | + | |
540 | 540 | | |
541 | 541 | | |
542 | 542 | | |
| |||
558 | 558 | | |
559 | 559 | | |
560 | 560 | | |
561 | | - | |
562 | | - | |
| 561 | + | |
| 562 | + | |
563 | 563 | | |
564 | 564 | | |
565 | 565 | | |
| |||
578 | 578 | | |
579 | 579 | | |
580 | 580 | | |
581 | | - | |
582 | | - | |
| 581 | + | |
| 582 | + | |
583 | 583 | | |
584 | 584 | | |
585 | 585 | | |
| |||
0 commit comments