Unable to show inline images in Mail_MIME
| From: | Alex Choo | Date: | Sat, 02 Aug 2003 19:03:00 +0000 |
| Subject: | Unable to show inline images in Mail_MIME | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-6958@lists.php.net to get a copy of this message | ||
hello.
MIME mails with an inline graphic has
content-type='multipart/related'. This means there is
more than 1 boundary marker
the problem i face is that Mail_MIME parses only the
parts with the boundary stated in the header, but
ignores the other boundary. for example.
content-type="multipart/related";boundary="abc" (in
the header)
--abc
content-type="multipart/altrnative";boundary="123"
--123
text here
--123
text here and <inline graphic with cid='pic'>
--123--
--abc
content-type="image/jpeg"
content-id='pic'
<jpeg data>
--abc--
I can only see information related to --abc in the
object returned by Mail_Mime.
can someone please offer pointers?
thanks,
alex
__________________________________________________
Do You Yahoo!?
Send free SMS from your PC!
http://sg.sms.yahoo.com