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
Hello! I've been using the results of this repo in combination with a downstream CLI tool https://github.com/shellscape/doiuse-email that relies on the "API" data to perform linting on some HTML templates.
My main consumers will be OutLook email clients. My email templates are currently structured with:
If I run this against the doiuse-email linter, I get the errors:
- `<body> element` is not supported by `outlook.macos`
- `<body> element` is not supported by `outlook.ios`
- `<body> element` is not supported by `outlook.android`
I have access to OutLook for MacOS 16.82.1, and I was curious to see what this test validates.
Screenshot of html-body.html in Chrome browser
Screenshot of html-body.html in my OutLook Mac 16.82 inbox sent using Python3 smtplib's sendmail()
Apologies if these are basic questions. But what do these tests mean? Is the fact that the OutLook email screenshot not having a yellow background indicate that color styling can't be applied? What alternative does OutLook need to use in place of <body> or is it just I can't have styling attributes applied to it? I'm also thrown by what the Chrome screenshot shows, but that may be because the test is built for emails-only and not for browser previewing.
The text was updated successfully, but these errors were encountered:
Hello! In this exact case, this means the Outlook email clients replace the <body> element by another element (in this case, a <div>). But this makes me realize that the values are not very consistent here as the Not supported values here should probably be more a Partial support (with the first note appended). Would that make more sense?
Hello! I've been using the results of this repo in combination with a downstream CLI tool https://github.com/shellscape/doiuse-email that relies on the "API" data to perform linting on some HTML templates.
My main consumers will be OutLook email clients. My email templates are currently structured with:
If I run this against the
doiuse-email
linter, I get the errors:This correctly reflects the entries in this file:
caniemail/_features/html-body.md
Line 42 in 3c2b1e4
...where values for these booleans were confirmed by creating emails with this content: https://github.com/hteumeuleu/caniemail/blob/main/tests/html-body.html
I have access to
OutLook for MacOS 16.82.1
, and I was curious to see what this test validates.Screenshot of html-body.html in Chrome browser
Screenshot of html-body.html in my OutLook Mac 16.82 inbox sent using Python3 smtplib's sendmail()
Apologies if these are basic questions. But what do these tests mean? Is the fact that the OutLook email screenshot not having a yellow background indicate that color styling can't be applied? What alternative does OutLook need to use in place of
<body>
or is it just I can't have styling attributes applied to it? I'm also thrown by what the Chrome screenshot shows, but that may be because the test is built for emails-only and not for browser previewing.The text was updated successfully, but these errors were encountered: