note 52538 rejected from function.imap-fetchbody by betz
| From: | betz@php.net | Date: | Thu, 05 May 2005 07:54:02 +0000 |
| Subject: | note 52538 rejected from function.imap-fetchbody by betz | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-88951@lists.php.net to get a copy of this message | ||
Note Submitter: yorkkie at gmail dot com
----
Hi guys, I have a question that I hope you can help me with.
Say I have an email with 3 parts:
text/plain (id 1)
text/html (id 1.1)
image/jpeg (id 2)
Let's suppose in this example, the text/html part contains a reference to the image/jpeg part
(by having a <IMG SRC=... tag in the HTML codes). So, by using imap_fetchbody and returning the
result to the browser, I will get a broken image link. Is there a way to to return the text/html
part together with the image/jpeg part (when there is a dependency) so that the browser displays the
html page correctly?
Thank you for your help. This issue has been eating my brains away.
-YK