• 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 OS X, can't move message or get date?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Mail OS X, can't move message or get date?


  • Subject: Mail OS X, can't move message or get date?
  • From: Cornwall <email@hidden>
  • Date: Mon, 29 Oct 2001 23:01:45 -0800

Has anyone managed to move a message between mailboxes, or get a messages date? I have gotten the following commands to work, but getting a messages date doesn't return a value, and I just can't get the syntax right to move a message. If anyone can help on the last, I'd appreciate it.

Corny

tell application "Mail"
set a to the container of message 1 of mailbox "AppleScript Users" of account "Personal Mailboxes"
--> mailbox 1 of account 1 of application "Mail"
set b to the subject of message 1 of a
set c to the date received of message 1 of a
--> no value returned
set d to the count of the messages of a
set e to the content of the messages of a
set f to the content of message 1 of a
set g to the sender of message 1 of a
set h to the reply to of message 1 of a
set j to the is read of message 1 of a
set k to the message size of message 1 of a
set l to the is deleted of message 1 of a
set the is deleted of message 1 of a to 1
--> completely deletes message
set m to the is read of message 1 of a
end tell


  • Follow-Ups:
    • Re: Mail OS X, can't move message or get date?
      • From: Paul Marcos <email@hidden>
  • Prev by Date: Re: Files to Text-file
  • Next by Date: Re: Script Menu In OS X
  • Previous by thread: Re: Files to Text-file
  • Next by thread: Re: Mail OS X, can't move message or get date?
  • Index(es):
    • Date
    • Thread