|All requests||>||What is the best PHP display email wi...||>||Request new recommendation||>||Featured requests||>||No recommendations|
by asad ali - 7 years ago (2015-12-10)
I need to get emails with inline images attached to the message and display them.
1. by Unique Divya - 3 years ago (2019-04-19) Reply
how to get
This class can parse the email messages that you pass to it complete with headers and body and extracts the message structure.
If there are any inline images in HTML parts the IMG tag would have an URL starting with cid: followed by the ID of the part of the image attachment.
So using this class you just need to process the message structure array to find the inline image parts and then replace cid:image-id in the HTML part by the URL of a script that would get the image data, or use data: URLs to insert the image data in the HTML.
If you need help regarding this class, just post a request in its support forum.