Emails not rendered properly in Outlook (classic) #13
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
reproduced
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
deblan/woodpecker-email#13
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Since the migration from go to php emails do not render properly in outlook classic
With version 1.0.1-wp:
With version 3.1.0:
(hidden white on white before 'Pipeline #258' is the Text 'Success', which is the
levelfor this mail)The templates are almost equal, but the go version used an inliner to inline all styles which the PHP version does not do:
https://gitnet.fr/deblan/woodpecker-email/src/tag/1.0.1-wp/plugin.go#L226-L230
Source code of the Mail from 1.0.0-wp:
@deblan can you please give a comment, if you consider this an issue and it should be fixed?
Hello!
I will try to inline the mail. But I don't use Outlook so testing will be complicated.
If you want me to help, I can at least do some testing.
Give me a ping, once you have some code ready.I can build it myself.
Could you try this image:
gitnet.fr/deblan/woodpecker-email:issue13and add this setting:inline: trueplease?The inliner works, but I had to change the path to the
inlinerexecutableAs you changed from go to php, why not use the CSS inliner built into the symfony mailer: https://symfony.com/doc/current/mailer.html#inlining-css-styles
Would you accept a PR?
I didn't know this inliner! Feel free to make a PR ;)
It's already there :-)
#15
Versions 3.2.0, 3.2 and 3 now contain your contribution. Thanks!