• 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: creating mailbox inside the mailbox
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: creating mailbox inside the mailbox


  • Subject: Re: creating mailbox inside the mailbox
  • From: John M <email@hidden>
  • Date: Sun, 23 Jul 2006 11:17:14 +0100

Hi,

I think you need to specify the path to the mailbox in the name, like "dxbgen/jhon".

You also say the mailbox is "level one", are you sure it is contained by the account.

Try this:



Applescript:
------------
--this mailbox is at level one
set parent_mailbox to "dxbgen"
set child_mail_box to "jhon"

tell application "Mail"
--trying to create the new mailbox
-- Check to see if this mailbox does not exist.
if not (exists mailbox (parent_mailbox & "/" & child_mail_box)) then
-- If it doesn't exist, make it.
make new mailbox with properties {name:parent_mailbox & "/" & child_mail_box}
end if
end tell
------------




Best wishes

John M

www.nhoj.co.uk




_______________________________________________ Do not post admin requests to the list. They will be ignored. Applescript-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Prev by Date: creating mailbox inside the mailbox
  • Next by Date: Re: Case sensitive find/replace
  • Previous by thread: creating mailbox inside the mailbox
  • Next by thread: Choose Application
  • Index(es):
    • Date
    • Thread