OS X Mail app bug? Can't get 'date received'
OS X Mail app bug? Can't get 'date received'
- Subject: OS X Mail app bug? Can't get 'date received'
- From: Allan Trautman <email@hidden>
- Date: Thu, 7 Feb 2002 08:02:22 -0800
I'm writing a script to archive older mail from the Mail application in
OS X to an AppleWorks database, but there seems to be a problem reading
the message's 'date received'. I'd appreciate it if someone would try to
reproduce the problem. Here's a script that will demonstrate the problem:
tell application "Mail"
set theMessage to message 1 of mailbox "INBOX" of account "Personal
Mailboxes"
set theProperties to {}
set theProperties to theProperties & the subject of theMessage
set theProperties to theProperties & mailbox name of the container of
theMessage
set theProperties to theProperties & date received of theMessage
set theProperties to theProperties & the content of theMessage
end tell
get theProperties
and here's the Result:
{"New Email Address", "INBOX",, "Please note that my email address has
changed."}
Notice that the spot in the Result where the 'date received' should be
is blank. Just two commas in a row. This is true for any message I
reference, all of which display dates in the Mail app.
Is this true for anyone else? Or is there some way to retrieve this
information? (An archiving utility is pretty useless without recording
the date!)
Thanks!
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.