Could anyone share some insight on the format of mailboxes and single mails?
If i want to parse them myself, how do I know where the headers end and the
body begins?


A single mail in its simplest format:

Received: from [whatever was HELO'ed] [1.2.3.4] by mail.foo.com
  (SMTPD32-8.02) id A18F3800FA; Fri, 19 Sep 2003 11:51:11 +0200
[body]



And if sendt from, say Outlook 2000:

Received: from [whatever was HELO'ed] [1.2.3.4] by mail.foo.com
  (SMTPD32-8.02) id A1612D00CA; Fri, 19 Sep 2003 11:50:25 +0200
Reply-To: <[EMAIL PROTECTED]>
From: "Eric Carr" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Subject:
Date: Fri, 19 Sep 2003 11:50:25 +0200
Message-ID: <[EMAIL PROTECTED]>
MIME-Version: 1.0
Content-Type: text/plain;
        charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0)
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
[body]



Any ideas?

Regards,
Eric


To Unsubscribe: http://www.ipswitch.com/support/mailing-lists.html
List Archive: http://www.mail-archive.com/imail_forum%40list.ipswitch.com/
Knowledge Base/FAQ: http://www.ipswitch.com/support/IMail/

Reply via email to