Re: text additions or library for parsing email headers
Re: text additions or library for parsing email headers
- Subject: Re: text additions or library for parsing email headers
- From: Doug McNutt <email@hidden>
- Date: Sat, 12 Apr 2008 06:49:00 -0600
At 07:54 +0200 4/12/08, Beatrix Willius wrote:
>I wrote
>>You may not need all of that. (But get thee to perl if you really do.)
>
>Can you give a link for this?
<http://www.perl.org>
perl, Practical Extraction and Report Language, is a command-line scripting language that has very good text manipulation capabilities along with a c-like structure that can do checksums and the like. Apple delivers it as a part of OS neXt. It is not appropriate for this list. I'll be happy to send some samples of code for e-mail handling that I run on my web host before even downloading mail. Ask using dmcnutt[at]the_rest_from_above. One example, in development, happens to be at:
<ftp://ftp.macnauchtan.com/Pair/qfilter_list.pl>
>I continued
>>Message-Id: <<email@hidden">mailto:email@hidden>email@hidden>
>
>Wouldn't the message ID be different if the two mails came by a different route?
No. The header is created by the original sending client in almost all cases. Some mail transfer agents, qmail zB, will create the header if it does not already exist but even then it's created before the message is sent to any of its named recipients. MTAs also create Date: and From: headers if the originator doesn't include them. In a way it would be nice if they always did that so they would be impossible to fake.
Mailing lists can sometimes add stuff to messages and they might deliberately change the Message-ID header but even if they did the new header would be identifiable with something unique to the list software. In digest mode the header would surely be all new.
--
--> If you are presented a number as a percentage, and you do not clearly understand the numerator and the denominator involved, you are surely being lied to. <--
_______________________________________________
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