Changes

Embedding images in emails

1 byte added, 21:02, 4 May 2018
m
no edit summary
This worked fine until the bad guys put evil spy software in the images and so the email software manufacturers started stopping downloading of images automatically.
[https://security.stackexchange.com/questions/81677/how-is-it-possible-to-embed-executable-code-in-an-image?utm_medium=organic&utm_source=google_rich_qa&utm_campaign=google_rich_qa|Link]
[[File:emailarticle_001.png|800px]]
[https://www.howtogeek.com/howto/27045/beginner-make-outlook-always-display-images-in-email-from-specific-senders/|Link]
As the old expression goes, "if you can't bring the mountain to Mohammed, then Mohammed must go to the mountain." [https://en.wiktionary.org/wiki/if_the_mountain_won%27t_come_to_Muhammad|Link]
</syntaxhighlight>
[https://sendgrid.com/blog/embedding-images-emails-facts/|Link 1][https://www.paperstreet.com/blog/email-marketing-embeded-images-cid-what-a-mess/|Link 2]
You can create a pretty PDF document and attach that but again PDFs can have malicious code in them... so people are wary and won't open attachments, especially if they may be harmful. [https://www.drchaos.com/distributing-malware-inside-adobe-pdf-documents/|Link]
Unfortunately modern versions of Outlook don't fall for this form of embedding. [https://stackoverflow.com/questions/16242489/send-a-base64-image-in-html-email|Link 1] [https://www.campaignmonitor.com/blog/email-marketing/2013/02/embedded-images-in-html-email/|Link 2]
If you want to see will it work programs like Litmus can be extremely handy [https://litmus.com/blog/the-ultimate-guide-to-email-image-blocking|Link]
Now you can just give in and link the images. You know it's not going to display immediately but you work the text that will display using the alt tag to try encourage the user to show the images. [https://www.campaignmonitor.com/resources/guides/alt-text-in-email/|Link]
Now an email reader is not a browser and doesn't have to conform to web standards so you can "cheat a bit" in your html in your email. Normally you cannot add style to an img in a browser, but in email... it's worth a go. [https://litmus.com/blog/the-ultimate-guide-to-styled-alt-text-in-email|Link] This is known as styled alt text and looks something like
Give us a shot shout at sales@bxpsoftware.com or call us on +353 1 429 4000 to see how we can help you today.
[[Category:Topic:About bxp]]
7,528
edits