Results 1 to 5 of 5
  1. #1
    Super Moderator BATcher's Avatar
    Join Date
    Feb 2008
    Location
    A cultural area in SW England
    Posts
    3,413
    Thanks
    33
    Thanked 195 Times in 175 Posts

    Dealing with bounced emails

    I am trying to find a software utility which would satisfy some or all of the following requirements.

    Assume that I have a directory in which there are a large number of files, each of which being the full text of an email, including all the header information and possibly a few MB of attachment.

    I wish to process all these email files (maybe just those for a particular day, perhaps), selecting all the emails which have 'bounced', whose Subject lines will contain one of the following strings:<UL><LI>Delivery failure:<LI>Delivery Status Notification (Failure)<LI>Failure message<LI>Mail delivery failure<LI>Message delayed:<LI>Returned mail:<LI>Undelivered mail returned to sender<LI>Expired Delivery Retry Notification[/list]and no doubt some others that I haven't yet come across. I am intending to ignore the "Out of Office" messages as irrelevant for this exercise.

    Having identified one of these Bounce messages, I wish then to obtain the useful information which would tell me why the email was bounced, the usual 'mailbox full', 'invalid email address', etc etc, and proceed to correct it in our email database. Since this might be quite messy, I'm prepared to grab the first 1000 or 2000 bytes (say) of each selected message and inspect the results visually.

    Does anyone have any suggestions for a utility I can use for this, preferably <img src=/S/free.gif border=0 alt=free width=30 height=15>? Obviously I can wrap it up in a BATch file, so that the utility need deal only with a single file.

    Thanks!
    BATcher

    Time prevents everything happening all at once...

  2. #2
    Platinum Lounger
    Join Date
    Nov 2001
    Location
    Melbourne, Victoria, Australia
    Posts
    5,016
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Dealing with bounced emails

    John

    I'd suggest you search Google using "freeware search regular expression command line" (sans quotes). I found one that might suit - Seeker: Fast advanced file search and replace utility (v3.7.0.9). I think it could be used in a batch file from commandline mode, to generate a file list for further processing.

    Alan

  3. #3
    Super Moderator BATcher's Avatar
    Join Date
    Feb 2008
    Location
    A cultural area in SW England
    Posts
    3,413
    Thanks
    33
    Thanked 195 Times in 175 Posts

    Re: Dealing with bounced emails

    Thanks, Alan, but that seems rather too similar to GSAR, which I already use and which doesn't do what I want in this instance.

    I don't think my problem is really with identifying the files=emails I want to work on; it's processing a selected email to extract what I want!

    But anyway, I'll download it and see whether it can do more than GSAR does!
    BATcher

    Time prevents everything happening all at once...

  4. #4
    Uranium Lounger
    Join Date
    Dec 2000
    Location
    Salt Lake City, Utah, USA
    Posts
    9,508
    Thanks
    0
    Thanked 6 Times in 6 Posts

    Re: Dealing with bounced emails

    If the client is Outlook, perhaps you can code this by looking for Item.Class = olReport. Don't think the server needs to be Exchange. <img src=/S/anigrin.gif border=0 alt=anigrin width=19 height=19>
    -John ... I float in liquid gardens
    UTC -7ąDS

  5. #5
    Platinum Lounger
    Join Date
    Nov 2001
    Location
    Melbourne, Victoria, Australia
    Posts
    5,016
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Dealing with bounced emails

    It allows regular expressions in search criteria, which GSAR does not it appears:

    Limitations
    No wildcards or regular expressions allowed in search
    string.


    From your post, I assumed you could also use this feature to search for the reason for the bounce.

    Alan

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •