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!
  All requests RSS feed  >  What is the best PHP display email wi...  >  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

by asad ali - 3 years 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.

+5

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

  • 1 Clarification request
  • 1. by Unique Divya - 7 months ago (2019-04-19) Reply

    how to get

    Ask clarification

    1 Recommendation

    PHP MIME Email Message Parser: Decode MIME e-mail messages

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

    +4

    by Manuel Lemos package author package author Reputation 17800 - 3 years 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
    : 
    :