Hi,
If I have an empty mailbox in mail called "test mailbox"
This code:
Code:
tell application "Mail"
get properties of (mailboxes whose name is "Test Mailbox")
end tell
results in this:
{{name:"Test Mailbox", class:mailbox, unread count:0, account:missing value}}
but if I try and run this code:
Code:
tell application "Mail"
delete (mailboxes whose name is "Test Mailbox")
end tell
nothing happens - no result - no errors - no deletion.
Am I missing something?