Support inline Base64 encoded img tags in LoadBodyText()
MailMessage.LoadBodyText() with the ImportBodyOptions.ImportRelatedFiles flag does not properly handle inline images.
E.g. <img src="data:image/png;base64,v5th9[...]65tDF">
It would be awesome if inline encoded images were extracted, saved to temp files, added as attachments, and the img src replace by the newly generated content-ids.
2
votes
Dan
shared this idea
AdminAfterlogic
(Manager, AfterLogic)
responded
The very purpose of base64 encoded images is that they don’t need to be saved elsewhere (processing becomes simpler, less requests to the web server and so on). We got some requests to do opposite thing – embed attachments as base64 images instead of adding them as separate entities.