PHP Classes
elePHPant
Icontem

What is the best PHP display email with images class?: IMAP function to find an inline email images

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  All requests RSS feed  >  What is the best PHP display email with images class?  >  Request new recommendation  >  A request is featured when there is no good recommended package on the site when it is posted. Featured requests  >  No recommendations No recommendations  

What is the best PHP display email with images class?

Edit

Picture of asad ali by asad ali - 2 months ago (2015-12-10)

IMAP function to find an inline email images

This request is clear and relevant.
This request is not clear or is not relevant.

+4

I need to get emails with inline images attached to the message and display them.

Ask clarification

1 Recommendation

MIME E-mail message parser: Decode MIME e-mail messages

This recommendation solves the problem.
This recommendation does not solve the problem.

+3

Picture of Manuel Lemos by Manuel Lemos package author package author Reputation 11100 - 2 months ago (2015-12-12) Comment

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.


Recommend package
: 
: