Afficher un message
Vieux 27/04/2006, 15h02   #1
John K. Nygaard
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Need Fetching Multipart from Exchange.

Was forced to convert application from POP3 to IMAP.

Seems the only thing I can't figure out is how to fetch the body of
the multiparts "text/plain" and "text/html". I've searched the
internet and found many examples, but no actual syntax for the fetch
on getting [2.mime] parts. If anyone could point me to a site or give
me the syntax I'd really appreciate it. Here's what I'm looking at:

========================================
================================================== ======================================
Given the following message that was created by an Outlook form:

qq fetch 1 RFC822
* 1 FETCH (RFC822 {1256}
Received: from ms012.parknicollet.com ([192.168.36.112]) by
ms016.parknicollet.
com with Microsoft SMTPSVC(6.0.3790.1830); Tue, 25 Apr 2006 14:07:20
-0500
MIME-Version: 1.0
Content-Type: multipart/alternative;
boundary="----_=_NextPart_001_01C6689B.79D72400"
Content-class: urn:content-classes:message
Return-Path: <John.Nygaard@ParkNicollet.com>
X-OriginalArrivalTime: 25 Apr 2006 19:07:20.0078 (UTC)
FILETIME=[79E30AE0:01C668
9B]
X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0
Subject: Message From DT5XMD981 nygaaj
Date: Tue, 25 Apr 2006 14:07:18 -0500
Message-ID:
<B6E50D3B491D3C408E3D7507475C797E15D4F545@ms012.pa rknicollet.com>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
Thread-Topic: Message From DT5XMD981 nygaaj
Thread-Index: AcZom3j5eKirv3sIQa2TC8XaIXmxnQ==
From: "Nygaard, John K." <John.Nygaard@ParkNicollet.com>
To: "pnmbrd" <pnmbrd@ParkNicollet.com>

This is a multi-part message in MIME format.

------_=_NextPart_001_01C6689B.79D72400
Content-Type: text/plain;
charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable



------_=_NextPart_001_01C6689B.79D72400
Content-Type: text/html;
charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable



------_=_NextPart_001_01C6689B.79D72400--
)
qq OK FETCH completed.



I would like to fetch the text/html. What is the exact syntax in IMAP
to retrieve it from an exchange server.
(i.e a006 fetch 1 body[…….])

================================================== =============================

TIA~!
  Réponse avec citation
 
Page generated in 0,05774 seconds with 9 queries