Please read the MIME specification. Your question indicates to me that you have not read it. It is impossible to write a quality email program without reading -- and understanding -- all the email specifications.
There are no shortcuts to doing the necessary research. The text is question designed to be seen only by non-MIME mail reading algorithms. Such text is invisible to MIME routines since it is not supposed to be presented to users of a MIME mail reader. The mail_fetch_structure() routine fetches a MIME structure, just as mail_fetch_body() fetches MIME text. You must use the raw routines that fetch the entire text without regard to MIME structure. There are very few good reasons why you need to access that text. If you have one of those reasons (e.g., certain usage of S/MIME) you are already using the raw routines. -- Mark -- http://panda.com/mrc Democracy is two wolves and a sheep deciding what to eat for lunch. Liberty is a well-armed sheep contesting the vote. Date: Mon, 10 Nov 2008 19:59:18 +0530 From: [EMAIL PROTECTED] To: [email protected] Subject: [Imap-uw] "This is a multipart mime message" Hi, In some multipart messages I saw strings similar to this "This is a multipart mime message" before the boundary starts. In C-Client API which variable holds this if I executed "mail_fetchstructure" OR whether I need to execute anything else ?. Actually I want this string seperately for my project. eg: Subject: Fwd: Fwd: Coin trick -- see it Content-type: multipart/mixed; boundary="Next_1150885174---0-203.199.83.27-757" This is a multipart mime message --Next_1150885174---0-203.199.83.27-757 Content-type: multipart/alternative; boundary="Next_1150885174---1-203.199.83.27-757" This is a multipart mime message --Next_1150885174---1-203.199.83.27-757 Content-type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Thanks in advance, Manoj _________________________________________________________________ Color coding for safety: Windows Live Hotmail alerts you to suspicious email. http://windowslive.com/Explore/Hotmail?ocid=TXT_TAGLM_WL_hotmail_acq_safety_112008_______________________________________________ Imap-uw mailing list [email protected] http://mailman2.u.washington.edu/mailman/listinfo/imap-uw
