Inline CSS styles, so mailers can display the mail properly #15

Merged
deblan merged 2 commits from smainz/woodpecker-email:bugfix/issue13-inline-css-styles into develop 2025-03-02 16:12:00 +01:00
Contributor

Uses symfony css inliner: https://symfony.com/doc/current/mailer.html#inlining-css-styles

I do not think one should add a flag to inline styles or not, as many mailers do not display non-inlined styles properly.

Tested and it works for outlook classic (really picky)

fixes #13

Uses symfony css inliner: https://symfony.com/doc/current/mailer.html#inlining-css-styles I do not think one should add a flag to inline styles or not, as many mailers do not display non-inlined styles properly. Tested and it works for outlook classic (really picky) fixes #13
Inline CSS styles, so mailers can display the mail properly
Some checks are pending
ci/woodpecker/pr/woodpecker Pipeline is pending approval
ci/woodpecker/pull_request_closed/woodpecker Pipeline was successful
486e9c13d6
Uses symfony css inliner: https://symfony.com/doc/current/mailer.html#inlining-css-styles
deblan requested changes 2025-03-02 10:07:52 +01:00
Dismissed
@ -9,2 +9,3 @@
"twig/twig": "^3.8",
"symfony/google-mailer": "^7.1"
"symfony/google-mailer": "^7.1",
"symfony/process": "^7.2",
Owner

symfony/process is not necessary. You can remove it.

`symfony/process` is not necessary. You can remove it.
Author
Contributor

Done.

Done.
deblan marked this conversation as resolved
Remove symfony/process from dependencies
Some checks are pending
ci/woodpecker/pr/woodpecker Pipeline is pending approval
ci/woodpecker/pull_request_closed/woodpecker Pipeline was successful
7360be6207
Owner

Thanks!

Thanks!
deblan approved these changes 2025-03-02 16:11:32 +01:00
deblan merged commit 909fc3de7f into develop 2025-03-02 16:12:00 +01:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
deblan/woodpecker-email!15
No description provided.