note 52538 added to function.imap-fetchbody

From: Date: Thu, 05 May 2005 06:33:04 +0000
Subject: note 52538 added to function.imap-fetchbody
Groups: php.notes 
Request: Send a blank email to php-notes+get-88948@lists.php.net to get a copy of this message
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 ---- Manual Page -- http://www.php.net/manual/en/function.imap-fetchbody.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+52538 Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+52538&report=yes&reason=added+to+the+manual Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+52538&report=yes&reason=bad+code Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+52538&report=yes&reason=spam Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+52538&report=yes&reason=useless Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+52538&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+52538&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#88948) next »