Mail OS X, can't move message or get date?
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