note 46041 added to function.imap-fetchbody

From: Date: Tue, 28 Sep 2004 06:12:22 +0000
Subject: note 46041 added to function.imap-fetchbody
Groups: php.notes 
Request: Send a blank email to php-notes+get-77458@lists.php.net to get a copy of this message
It took me a while to figure out how part id's(numbers) are assigned to different parts of a message. After getting a few AOL e-mails that had a semi-complex structure I was finally able to break it down. 0 multipart/mixed 1 multipart/alternative 1.1 text/plain 1.2 text/html 2 message/rfc822 2 multipart/mixed 2.1 multipart/alternative 2.1.1 text/plain 2.1.2 text/html 2.2 message/rfc822 2.2 multipart/alternative 2.2.1 text/plain 2.2.2 text/html Hopefully this will help others get the different body parts of a message. ---- Manual Page -- http://www.php.net/manual/en/function.imap-fetchbody.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+46041 Delete -- http://master.php.net/manage/user-notes.php?action=delete+46041&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+46041&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#77458) next »