Re: questions for scripting apple mail
Re: questions for scripting apple mail
- Subject: Re: questions for scripting apple mail
- From: Luther Fuller <email@hidden>
- Date: Wed, 11 Jul 2007 15:07:08 -0500
On Jul 11, 2007, at 2:30 PM, Bob Cuilla wrote:
I have a mailbox "valid" in an account ""abc". I would like to
select mailbox "valid", then select all the messages therein and
then delete them.
How can I script this?
According to the dictionary, you use the 'delete' command. If you
have a list of messages, you might write something like ...
repeat with msg in msgList
delete msg
...
But ... where does a message go when it's deleted? It depends on your
mailbox behaviors for that account. If you have a check next to "Move
deleted messages to ...", then deleted messages go to the Trash
mailbox. If not, then I think a message simply disappears.
You should some experimenting with this.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden