PHP Classes

Inline images

Recommend this page to a friend!

      PHP MIME Email Message Parser  >  All threads  >  Inline images  >  (Un) Subscribe thread alerts  
Subject:Inline images
Summary:identifying inline images
Messages:3
Author:Rob Mills
Date:2007-08-10 14:36:15
Update:2007-08-16 22:40:24
 

  1. Inline images   Reply   Report abuse  
Picture of Rob Mills Rob Mills - 2007-08-10 14:36:15
How can i identify firstly the evidence of, then secondly the boundaries of an inline image as opposed to an attached file ?

Thanks.

  2. Re: Inline images   Reply   Report abuse  
Picture of Rob Mills Rob Mills - 2007-08-10 15:22:52 - In reply to message 1 from Rob Mills
just to extend this, (all tests sent from thunderbird)

+ if i send a html only email from thunderbird containing an inline image, this is identified as containing an attachment but the raw image data is contained within the html body of the image

+ if i send a plain text email with inline image then the image is lost but the alt text is shown instead.

+ if i send a multipart email then the image is lost with the attachment identified as multipart/related but not captured


  3. Re: Inline images   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2007-08-16 22:40:24 - In reply to message 2 from Rob Mills
Inline images only make sense when you send HTML messages.

Usually they are embedded in multipart/related parts and tagged as inline.

You may also take a look at the MIME message composing and sending class to see how messages are sent.

phpclasses.org/mimemessage