-
Notifications
You must be signed in to change notification settings - Fork 35
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
HTML rendering in Outlook not the same as in web browsers #3
Comments
Outlook use Word for viewing. blame Microsoft :) |
Just circling back around to this. I'm thinking of modifying the plugin architecture to make it easier to support different export options for each plugin. However, this should be (fairly) easy to implement. I'll just need to remove the outer |
@janegilring @McAndersDK Apologies for the delay 😊. There is now a |
not sure how this fix anything? :O) but the styling is just bad in outlook. and alwayse will as word is a bad HTML render.
|
@McAndersDK If you have Word installed then that's certainly an option! The problem with the HTML outputting was the 'page look-and-feel' CSS causing Outlook issues. The |
I tried to add -Options @{ NoPageLayoutStyle = $true } to Export-Document when using the builtin Demo 2 for testing, but the issue seem to remain (Outlook 2016). |
@janegilring I'll need to check that out. Presumably there's something more fundamental in the styles (not) being rendered incorrectly by Outlook (grrr) |
OK - looks like I need to digest this to determine what's not being supported by Outlook. My gut feel is that this is probably due to lack of |
I just noticed that the rendering in the Outlook.com mobile app also is broken. |
Any Update to support Save to HTML feature in Microsoft Word? |
When sending HTML-reports via e-mail, the HTML is not rendered the same way in Outlook as a web browser.
Here is an example:
$html = Get-Content '~\Desktop\PScribo Demo 1.html'
Send-MailMessage -To [email protected] -From [email protected] -SmtpServer smtp.domain.com -Subject Test-report -BodyAsHtml -Body ($html | Out-String)
In the below image, e-mail content from Outlook is on the left while the same HTML-file viewed in a web browser is on the right side:
The text was updated successfully, but these errors were encountered: