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

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


  • Subject: Re: Mail OS X, can't move message or get date?
  • From: Paul Marcos <email@hidden>
  • Date: Tue, 30 Oct 2001 09:33:50 -0800

On Monday, October 29, 2001, at 11:01 , Cornwall wrote:
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.

Unfortunately getting dates from Cocoa apps does not work properly in 10.1. As for moving messages, I use the following test script on Mail to move messages back and forth between folders:

tell application "Mail"
set lacct to account "Personal Mailboxes"
set box1 to mailbox "Box1" of lacct
set box2 to mailbox "Box2" of lacct
set msgs1 to messages of box1 whose is deleted is false
set msgs2 to messages of box2 whose is deleted is false

if the (count of msgs1) is greater than 0 then
set the container of every message in box1 to box2
else if the (count of msgs2) is greater than 0 then
set the container of every message in box2 to box1
end if

end tell

Paul
---
\
\ Paul Marcos
/ email@hidden
/
---


  • Follow-Ups:
    • Re: Mail OS X, can't move message or get date?
      • From: Cornwall <email@hidden>
References: 
 >Mail OS X, can't move message or get date? (From: Cornwall <email@hidden>)

  • Prev by Date: End of file??
  • Next by Date: Re: End of file??
  • Previous by thread: Mail OS X, can't move message or get date?
  • Next by thread: Re: Mail OS X, can't move message or get date?
  • Index(es):
    • Date
    • Thread