• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: text additions or library for parsing email headers
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: text additions or library for parsing email headers


  • Subject: Re: text additions or library for parsing email headers
  • From: Beatrix Willius <email@hidden>
  • Date: Sat, 12 Apr 2008 07:54:40 +0200

Von: Doug McNutt <email@hidden> wrote

At 19:22 +0200 4/11/08, MB wrote:
The objective is to be able to compare 2 or more email messages in
applicatin PowerMail and determine they are duplicates, even though one
of them may have been taking a different route and have had some new
attribute lines added.

SNIP by DPM

You may not need all of that. (But get thee to perl if you really do.)

Can you give a link for this?

This header is from your posting. It is quite reliable about duplicate messages and I haven't seen a message without the header in years. It's created by the sending mail client and is unique enough that simply comparing that header with another copy of the message is adequate.  Eudora uses that technique to handle its "delete duplicates" option and I have never been upset with it.

Message-Id: <email@hidden">email@hidden>

Wouldn't the message ID be different if the two mails came by a different route?

You don't need to compare the complete headers to get a reliable indication for duplicate mails. I use a checksum on the concatenation of Originator, Receiver, Date and Mail Body. If AppleScript can calculate checksums would be the next question.

HTH

 

Mit freundlichen Grüßen/Regards


Trixi Willius


http://www.mothsoftware.com

Mail Archiver X: archive, clean and search email

http://www.beatrixwillius.de

Fractals, 3d landscapes etc.


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: text additions or library for parsing email headers
      • From: Doug McNutt <email@hidden>
    • Re: text additions or library for parsing email headers
      • From: Doug McNutt <email@hidden>
    • Re: text additions or library for parsing email headers
      • From: Michelle Steiner <email@hidden>
References: 
 >Re: text additions or library for parsing email headers (From: Doug McNutt <email@hidden>)

  • Prev by Date: Re: When can you use the 'whose' clause (Filter)
  • Next by Date: Re: text additions or library for parsing email headers
  • Previous by thread: Re: text additions or library for parsing email headers
  • Next by thread: Re: text additions or library for parsing email headers
  • Index(es):
    • Date
    • Thread