• 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: Mail Search surrogate
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Mail Search surrogate


  • Subject: Re: Mail Search surrogate
  • From: Doug McNutt <email@hidden>
  • Date: Thu, 9 Apr 2009 14:09:39 -0600

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
References: 
 >Re: Unicode Character in File Name (From: CYB <email@hidden>)
 >Re: Unicode Character in File Name (From: Luther Fuller <email@hidden>)
 >Re: Unicode Character in File Name (From: "Mark J. Reed" <email@hidden>)
 >Re: Unicode Character in File Name (From: Luther Fuller <email@hidden>)
 >Re: Unicode Character in File Name (From: Christopher Nebel <email@hidden>)
 >Re: Unicode Character in File Name (From: Luther Fuller <email@hidden>)
 >Re: Unicode Character in File Name (From: Christopher Nebel <email@hidden>)
 >Re: Unicode Character in File Name (From: "Mark J. Reed" <email@hidden>)
 >Re: Unicode Character in File Name (From: Doug McNutt <email@hidden>)
 >Mail Search surrogate (From: Gil Dawson <email@hidden>)
 >Re: Mail Search surrogate (From: Luther Fuller <email@hidden>)

  • Prev by Date: Re: DS_Store files
  • Next by Date: Re: DS_Store files
  • Previous by thread: Re: Mail Search surrogate
  • Next by thread: Re: Mail Search surrogate
  • Index(es):
    • Date
    • Thread