3 Replies Latest reply on Mar 13, 2008 5:55 AM by ssawka

    Parsing text file

    TiGGi Level 1
      Greetings,

      Could someone point me to a right direction, I am trying to grab To: email of the orignal email from Undeliverable Email text files which look like this:

      Received: from scout.com by
      with SMTP (Code-Crafters Ability Mail Server 2.61);
      Sat, 08 Mar 2008 01:30:20 -0600
      From: <admin@scout.com>
      To: <admin@scout.com>
      Subject: Mail System Error - Undeliverable Mail
      Date: Sat, 08 Mar 2008 01:30:20 -0600
      Message-ID: <5276787816.20080308013020@DOMAIN>
      MIME-Version: 1.0
      Content-Type: text/plain;
      charset="us-ascii"
      Content-Transfer-Encoding: quoted-printable

      The following mail failed to be delivered...

      From: admin@scout.com
      Sent: Fri, 7 Mar 2008 22:30:20 -0600 CST
      Subject: Search Results
      To:-
      Geston2@Juno.com - Rejected with: 550 Access denied...102da5f5dcf5454508c8dc=
      48c8c9f861f8c9c14dd5b14c7d6d6549b16da1091c691cc51cc5a18c6c9c2525e5...

      Thank you!