Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Email headers
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Email headers

 Post Reply Post Reply
Author
Mart View Drop Down
Senior Member
Senior Member
Avatar

Joined: 30 November 2002
Status: Offline
Points: 2304
Post Options Post Options   Thanks (0) Thanks(0)   Quote Mart Quote  Post ReplyReply Direct Link To This Post Topic: Email headers
    Posted: 08 September 2003 at 2:06pm

Hi i am making a webmail app in .Net using System.Net.Sockets. Its all working but i have no idea how to parse and remove the message headers e.g.

Return-Path:
Received: from moutng.kundenserver.de ([212.227.126.184])
by mta03-svc.ntlworld.com
(InterMail vM.4.01.03.37 201-229-121-137-20020806) with ESMTP
id <20030823164514.RTXG14590.mta03-svc.ntlworld.com@moutng.k undenserver.de>
for ;
Sat, 23 Aug 2003 17:45:14 +0100
Received: from [212.227.126.148] (helo=mxng05.kundenserver.de)
by moutng.kundenserver.de with esmtp (Exim 3.35 #1)
id 19qbVq-0005eb-00
for x@x.com; Sat, 23 Aug 2003 18:45:14 +0200
Received: from [66.35.110.10] (helo=web01.portalwebhosting.com)
by mxng05.kundenserver.de with esmtp (Exim 3.35 #1)
id 19qbVn-0008Bb-00
for x@x.com; Sat, 23 Aug 2003 18:45:12 +0200
Received: from mail pickup service by web01.portalwebhosting.com with Microsoft SMTPSVC;
Sat, 23 Aug 2003 12:47:00 -0400
From:
To:
Subject: DotNetNuke - The Web of the Future New User Registration
Date: Sat, 23 Aug 2003 12:47:00 -0400
Message-ID: <000401c36996$2c0a76c0$0a6e2342@portalwebhosting.com>
MIME-Version: 1.0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
X-Mailer: Microsoft CDO for Windows 2000
Thread-Index: AcNpliwK5NmSpPJFQQut8EGNhjK/jA==
Content-Class: urn:content-classes:message
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
X-OriginalArrivalTime: 23 Aug 2003 16:47:00.0156 (UTC) FILETIME=[2C0CE7C0:01C36996]

blah blah blah

Get things like subject, date, to and then hide the headers so it would be like this

Subject: DotNetNuke - The Web of the Future New User Registration
 
blah blah blah

Could anyone help me?

Thanks, Mart.



Edited by Mart
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.