Re: Mail Search surrogate
Re: Mail Search surrogate
- Subject: Re: Mail Search surrogate
- From: "Mark J. Reed" <email@hidden>
- Date: Thu, 9 Apr 2009 17:44:51 -0400
Sounds like it's getting "date received" from the earliest "Received:"
header, when it should probably use the latest one instead. Messages
arrive with info about every hop along the way - its just about how
much of that info the app exposes.
The Date: header is the logical source to use for a "date sent";
if Mail.app puts the draft creation time there, that's a bug on the
sending side, not the receiving side.
On 4/9/09, Doug McNutt <email@hidden> wrote:
> At 13:01 -0500 4/9/09, Luther Fuller wrote:
>>date sent --- This is when the author of the message CREATED the
>>message. If a message is created on 1 Jan 2008, then left in the
>>drafts mailbox and not sent until 8 April 2009, then the date sent
>>is 1 Jan 2008.
>>(This is something Apple can and should change.)
>
> It has to be the date in the Date: header of the message. My mail
> client inserts the date that it was passed to an SMTP server.
> Spammers often apply an advanced date. I don't know what Apple's mail
> APPL does but it might take the file creation date which would be as
> you say. Mail sent out without a date will have a Date; header added
> by the first SMTP server encountered.
>
> Luther Fuller continued:
>>date received --- This is when the message arrived at the sender's
>>ISP. Usually only a few seconds or minutes after the date sent. It
>>has nothing to do with when the message arrived in your computer.
>>(This should also be changed. It should probably be the date/time
>>when the message became available to the recipient, but that may be
>>hard to do.)
>
> That would usually be the most recent Received: header and it is
> easily read if you look at the full message.
>
> The local mail client surely knows when it accessed the POP or IMAP
> server. For clients like Apple mail which save messages in separate
> files that would be the creation date of the file which AppleScript
> ought to be able to find. Clients that use MBX format - Eudora -
> don't preserve the actual time received except in a log file.
>
> In general on this thread. . . I have been using a perl script to
> get the kind of information the OP wants from the claws email client
> running on another unmentionable machine. It simply works down the
> directories in the mail storage area of the file system and reads the
> headers of all messages. The result is a tab separated file that I
> open as a spreadsheet. All the dates and other header items are
> present in columns. Ask off line, without changing the subject, if
> anyone would like a copy but you'll need to know a bit of perl and
> you'll need to figure out where Apple mail stores its messages.
>
> --
> --> Marriage and kilo are troubled words. Turmoil results when
> centuries-old usage is altered in specialized jargon <--.
> _______________________________________________
> 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
>
--
Sent from my mobile device
Mark J. Reed <email@hidden>
_______________________________________________
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