Rank: Member Groups: Member
Joined: 1/11/2012 Posts: 27
|
Hi have a .NET 'MailMessage' object, which consists of the Body html, but also some embedded images which are referred to by CID's in the markup (eg <img src="cid:myImage"...). Each of those are attached to the email with disposition of 'inline' so they are displayed nicely by outlook in the document, rather than appearing as attachments.
Is it possible to render the PDF and include these images? They currently display as little question marks.
Many thanks
Mark
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
No. We do not support that yet. The best thing you can do for now is to write a simple parser to extract those images into temp files, then modify the img tag's src property (for example, using regular expression) to point to your temp files.
Thanks!
|
Rank: Member Groups: Member
Joined: 1/11/2012 Posts: 27
|
Thanks for that. I was actually thinking along those lines myself, it shouldn't be too hard. Thanks!
|