ok i have a text file that looks like this
<<<<<<--------text file start-------->>>>>>
x-sender: <>
x-receiver: user@fcn.dnsart.com
From: postmaster@fcn.dnsart.com
To: user@fcn.dnsart.com
Date: Thu, 13 May 1999 18:45:06 -0500
MIME-Version: 1.0
Content-Type: multipart/report; report-type=delivery-status;
boundary="9B095B5ADSN=_01C1FA2CEF2932200000000Frobert"
Message-ID: <bpH71yEXU00000007@robert>
Subject: Delivery Status Notification (Failure)
This is a MIME-formatted message.
Portions of this message may be unreadable without a MIME-capable mail program.
--9B095B5ADSN=_01C1FA2CEF2932200000000Frobert
Content-Type: text/plain; charset=unicode-1-1-utf-7
This is an automatically generated Delivery Status Notification.
Delivery to the following recipients failed.
Jwhite@ncen.com
--9B095B5ADSN=_01C1FA2CEF2932200000000Frobert
Content-Type: message/delivery-status
Reporting-MTA: dns;robert
Received-From-MTA: dns;robert
Arrival-Date: Thu, 13 May 1999 18:45:06 -0500
Final-Recipient: rfc822;Jwhite@ncen.com
Action: failed
Status: 5.0.0
--9B095B5ADSN=_01C1FA2CEF2932200000000Frobert
Content-Type: message/rfc822
Received: from robert ([66.233.19.207]) by robert with Microsoft SMTPSVC(5.0.2195.2966);
Thu, 13 May 1999 18:45:06 -0500
Date: Thu, 13 May 1999 18:45:06 -0600
From: user@fcn.dnsart.com
Subject: This is the subject
To: Jwhite@ncen.com
Return-Path: user@fcn.dnsart.com
Message-ID: <ROBERT7ITVAXaqwXQKM00000007@robert>
X-OriginalArrivalTime: 13 May 1999 23:45:06.0808 (UTC) FILETIME=[A134F780:01BE9D9A]
The body of the message
--9B095B5ADSN=_01C1FA2CEF2932200000000Frobert--
<<<<<<<<<<<-----end-------------->>>>>>>>
<-------------question-------------->
ok now how would i get the text past line (Content-Type: text/plain; charset=unicode-1-1-utf-7) and read it then end at the begining of (--9B095B5ADSN=_01C1FA2CEF2932200000000Frobert). also the char set will change from message to message so how would i also make room for that? all help is appreciated.