You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This PR was squashed before being merged into the 4.3 branch (closes#32814).
Discussion
----------
Create mailBody with only attachments part present
| Q | A
| ------------- | ---
| Branch? | 4.3
| Bug fix? | yes
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets | #32811
| License | MIT
Commits
-------
b500f92 Create mailBody with only attachments part present
Uh oh!
There was an error while loading. Please reload this page.
Symfony version(s) affected: 4.3.3
Description
Current logic
https://github.com/symfony/mime/blob/c71b839cc39d446f14afaef771c16f221d85c331/Email.php#L424
requires to have either text or html part before adding attachment part
https://github.com/symfony/mime/blob/c71b839cc39d446f14afaef771c16f221d85c331/Email.php#L443
which effectively prevents sending email message with only attachments.
How to reproduce
The text was updated successfully, but these errors were encountered: