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

creating mailbox inside the mailbox


  • Subject: creating mailbox inside the mailbox
  • From: "qas qwes" <email@hidden>
  • Date: 23 Jul 2006 09:20:33 -0000

Dear Apple friends ,

                  I am trying to create a mailbox inside a existing mailbox by using apple
script .As per the requirement script has to check the predefined standard names of
mailboxes in  in the existing mailbox , and if it is not there just create a mailbox in the
existing mailbox. I am trying to create it , but getting stuck with this error  - Mail got an
error: NSInternalScriptError . Is anybody having any solution or suggest me where I can get
solution , please help me in this case.

--this mailbox is at level one
set  parent_mailbox to "dxbgen" 
set child_mail_box to "jhon"
tell application "Mail"
set account_name to "IMAP Account"

tell account account_name
--trying to create the new mailbox
make new mailbox of mailbox parent_mailbox with properties{name:child_mail_box}

end tell

end tell

when I run this script , I got the following error :

Mail got an error: NSInternalScriptError

Please help me to get solution of this problem .

Thanks in advance


Best regards

krishna

Model: iMac
AppleScript: 1.10.6
Browser: Safari 417.9.2
Operating System: Mac OS X (10.4)



 _______________________________________________
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: Re: Keychain scripting
  • Next by Date: Re: creating mailbox inside the mailbox
  • Previous by thread: Re: Applescript-users Digest, Vol 3, Issue 369
  • Next by thread: Re: creating mailbox inside the mailbox
  • Index(es):
    • Date
    • Thread