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

Mail app: extract date received


  • Subject: Mail app: extract date received
  • From: Jonathan Lewis <email@hidden>
  • Date: Sat, 09 Mar 2002 18:44:24 +0900

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.

  • Follow-Ups:
    • Re: Mail app: extract date received
      • From: Michael Turner <email@hidden>
  • Prev by Date: RE: Running a Script Automatically
  • Next by Date: Keychain Scripting for Program Linking "unstable"
  • Previous by thread: Re: Problems with "load script" revisited
  • Next by thread: Re: Mail app: extract date received
  • Index(es):
    • Date
    • Thread