Skip to content
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

Prevent empty HTML email when sending raw message with Symfony Mail #55

Merged
merged 1 commit into from
Mar 12, 2024

Conversation

shaffe-fr
Copy link
Contributor

@shaffe-fr shaffe-fr commented Mar 7, 2024

Hi,
When sending a raw mail (Mail::raw), the null HTML body is replaced by the HTML body doctype (<!DOCTYPE html>\r\n).
As a result, mail clients ignores the raw mail content and only show an empty HTML mail.
Thanks

@shaffe-fr shaffe-fr marked this pull request as ready for review March 7, 2024 14:46
@shaffe-fr shaffe-fr changed the title Handle raw messages with Symfony Mail Prevent empty HTML message recevied with raw messages with Symfony Mail Mar 7, 2024
@shaffe-fr shaffe-fr changed the title Prevent empty HTML message recevied with raw messages with Symfony Mail Prevent empty HTML email when sending raw message with Symfony Mail Mar 7, 2024
@eduardokum eduardokum merged commit dfdb688 into eduardokum:master Mar 12, 2024
15 of 16 checks passed
@eduardokum
Copy link
Owner

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants