• 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 app: extract date received
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Mail app: extract date received


  • Subject: Re: Mail app: extract date received
  • From: Michael Turner <email@hidden>
  • Date: Mon, 11 Mar 2002 09:22:16 -0500

An earlier thread identified this problem as an bug in "Cocoa":

I found this inconvenient myself.

>> My more profound problem is with "message" property "date received" which returns null every time I attempt to use it. I >> think it is broken, can anyone confirm?

> Paul Marcos (Apple's Mail dept.) told me that the Cocoa date object does not function properly, we have to wait for them > until they fix this. It's not Mail's fault, it's the Cocoa framework .. (correct me if i'm wrong)
>
> until then no FileMaker back-ups with dates :-(
>
>--
> Best,
> Jacco Rens
> Netherlands
> _______________________________________________


I'm trying to export email messages from Apple's Mail application (Mac0S
10.1.3). I can extract the subject, sender, and content of messages without
problems, but am having problems extracting the date. To be precise, the
script

Tell application "mail"
set this_date to date received of message 1 of mailbox 1 of account 1
Set this_date to this_date as string
End tell

Returns an error message complaining that this_date hasn't been defined.

I would greatly appreciate it if someone could offer any advice.

Jonathan Lewis

Tokyo Denki University
_______________________________________________
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.
_______________________________________________
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.

References: 
 >Mail app: extract date received (From: Jonathan Lewis <email@hidden>)

  • Prev by Date: genetic engineering
  • Next by Date: Curses! How to make new window in OSX Finder?
  • Previous by thread: Mail app: extract date received
  • Next by thread: Re: Mail app: extract date received
  • Index(es):
    • Date
    • Thread