fetching recursive mail parts
| From: | Madis Malv | Date: | Mon, 16 Apr 2001 06:16:44 +0000 |
| Subject: | fetching recursive mail parts | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-48711@lists.php.net to get a copy of this message | ||
I have that message (at the end of this message) which has recursive
parts. First part is a message itself and second is an attachment.
Message part is divided into two parts (text/plain and text/html). Is
there any way I can fetch only text/html that is part[0]->part[1] to
$body variable with imap functions?
Thanks,
Madis
*********************************************************
This is a multi-part message in MIME format.
------=_NextPart_000_0012_01C0C331.9C5F9EE0
Content-Type: multipart/alternative;
boundary="----=_NextPart_001_0013_01C0C331.9C5F9EE0"
------=_NextPart_001_0013_01C0C331.9C5F9EE0
Content-Type: text/plain;
charset="iso-8859-4"
Content-Transfer-Encoding: quoted-printable
see kiri on qp formaadis
vaatame, mis formaadis on attachment
------=_NextPart_001_0013_01C0C331.9C5F9EE0
Content-Type: text/html;
charset="iso-8859-4"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-4">
<META content=3D"MSHTML 5.50.4522.1801" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT size=3D2>see kiri on qp formaadis</FONT></DIV>
<DIV><FONT size=3D2>vaatame, mis formaadis on=20
attachment</FONT></DIV></BODY></HTML>
------=_NextPart_001_0013_01C0C331.9C5F9EE0--
------=_NextPart_000_0012_01C0C331.9C5F9EE0
Content-Type: application/x-msexcel;
name="EXHIBIT_C.xls"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
filename="EXHIBIT_C.xls"
0M8R4KGxGuEAAAAAAAAAAAAAAAAAAAAAPgADAP7/CQAGAAAAAAAAAAAAAAABAAAAGQAAAA
AAAAAA
EAAA/v///wAAAAD+////AAAAABgAAAD///////////////////////////////////////
//////
//////////////////////////////////////////////////////////////////////
//////etc.
------=_NextPart_000_0012_01C0C331.9C5F9EE0--