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

bug: email template content truncated in Outlook desktop client #4557

Closed
techfg opened this issue Feb 4, 2025 · 0 comments · Fixed by #4559
Closed

bug: email template content truncated in Outlook desktop client #4557

techfg opened this issue Feb 4, 2025 · 0 comments · Fixed by #4559

Comments

@techfg
Copy link
Collaborator

techfg commented Feb 4, 2025

When viewing emails in Outlook desktop (at least on Windows), emails are not formatted correctly. The same email when viewed through Outlook online as well as gmail looks fine - this seems to be a problem only with Outlook desktop.

It appears the reason for this is that our email templates are "formatted" in our source code so there are line breaks, etc. in places that Outlook doesn't like/understand leading to parsing issues more than likely.

For example, changing

                      ><span
                        ><!--[if mso
                          ]><i
                            style="mso-font-width: 450%; mso-text-raise: 18"
                            hidden
                            >&#8202;&#8202;</i
                          ><!
                        [endif]--></span
                      >

to

                      ><span
                        ><!--[if mso]><i
                            style="mso-font-width: 450%; mso-text-raise: 18"
                            hidden
                            >&#8202;&#8202;</i
                          ><!
                        [endif]--></span
                      >

Solves the issue - note the only change was making sure the <!--[if mso]> conditional was all on a line single instead of the ending bracket on the next line.

All email templates need to be reviewed for proper display in at least all major email clients (outlook desktop, outlook online, gmail, etc.).

Signup email

Outlook Desktop

Image

Outlook Online/Gmail

Image

@techfg techfg changed the title bug: email templates not displayed/formatted properly in Outlook client bug: email template content truncated in Outlook desktop client Feb 4, 2025
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 a pull request may close this issue.

1 participant