• 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.app - Delete mailbox does not work?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Mail.app - Delete mailbox does not work?


  • Subject: Mail.app - Delete mailbox does not work?
  • From: Diggory Laycock <email@hidden>
  • Date: Thu, 16 Jan 2003 17:20:15 +0000

Hi,

If I have an empty mailbox in mail called "test mailbox"


This 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:

tell application "Mail"
delete (mailboxes whose name is "Test Mailbox")
end tell
[/code]

nothing happens - no result - no errors - no deletion.

Am I missing something?


Diggory Laycock
----------------------
http://www.monkeyfood.com
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Mail.app - Delete mailbox does not work?
      • From: Michelle Steiner <email@hidden>
  • Prev by Date: UI scripting, windows order
  • Next by Date: Multiple commands to a single terminal window
  • Previous by thread: UI scripting, windows order
  • Next by thread: Re: Mail.app - Delete mailbox does not work?
  • Index(es):
    • Date
    • Thread