This will not be anything to do with your code, but your email client's content display rules. You should have a message above the email with a link that will allow images from the sender. Or you may be able to add your domain to a whitelist that allows all images from that location.
Either way, it is not something you can fix in your code, it has to be enabled in the email client itself.
Follow up question, when client's use a MS Outlook App the styles is not working. (margin, padding, etc..) also the site logo is not displayed but the social icons are displayed.
Sounds like the OUtlook app is blocking requests to your domain but allowing them to other, commonly used domains. That would explain why the social icons are displayed (if they are hosted off-site).
The social icons are also in my server. I guess the inline css is not working that is why my site logo didn't display, and also my social icons , they have no space (margin-right)
Something else, the email software we use (mailbee.net) has a setting that allows you to turn image embedding on/off, this could be an issue. AND you need to be sure you render any urls with the full domain included.
I have never been able to get linked CSS to work in any of our email reliably, so I render any CSS directly in the email itself.
Image not displayed in Outlook
Hi all, Good day!
After sending an email the logo is not displayed in Outlook but it works in Gmail.
I found that in the inspect element that the image src is changed into
blockedimagesrc
In my Controller :
Email Helpers :
in my Email Template
I badly need help, I'm stock on this. Any help would be appreciated. Thanks
Regards,
Jin
Hi Jin,
This will not be anything to do with your code, but your email client's content display rules. You should have a message above the email with a link that will allow images from the sender. Or you may be able to add your domain to a whitelist that allows all images from that location.
Either way, it is not something you can fix in your code, it has to be enabled in the email client itself.
See https://litmus.com/blog/rendering-css-support-more-in-office-365s-outlook-web-app
Hi Barry,
Follow up question, when client's use a MS Outlook App the styles is not working. (margin, padding, etc..) also the site logo is not displayed but the social icons are displayed.
Any idea about this??
Regards,
Jin
Hi Barry,
Thanks for your reply. And for the good information.
Regards,
Jin
Sounds like the OUtlook app is blocking requests to your domain but allowing them to other, commonly used domains. That would explain why the social icons are displayed (if they are hosted off-site).
The social icons are also in my server. I guess the inline css is not working that is why my site logo didn't display, and also my social icons , they have no space (margin-right)
Regards,
Jin
Something else, the email software we use (mailbee.net) has a setting that allows you to turn image embedding on/off, this could be an issue. AND you need to be sure you render any urls with the full domain included.
I have never been able to get linked CSS to work in any of our email reliably, so I render any CSS directly in the email itself.
Hi John,
It's okay now, some of the css property is not working on the Outlook Desktop App.
Thanks your help.
Regards,
Jin
is working on a reply...