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

    Parsing text file

    TiGGi Level 1

      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;
      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
      Geston2@Juno.com - Rejected with: 550 Access denied...102da5f5dcf5454508c8dc=

      Thank you!