Problem creating new mailbox
Problem creating new mailbox
- Subject: Problem creating new mailbox
- From: Mark Lawrence <email@hidden>
- Date: Fri, 5 Jun 2009 11:21:42 +0100
I'm trying to automate the create of mailboxes and am failing dismally. The first piece of code shows that I can access the target mailbox and retrieve the contents. tell application "Mail" set supplierMailbox to mailbox "Suppliers" of mailbox "futuremedia" of account "shared" set supplierMailbox to mailboxes in supplierMailbox end tell
The next piece of code gives AppleScript Error Mail got an error: AppleEvent handler failed. tell application "Mail" set supplierMailbox to mailbox "Suppliers" of mailbox "futuremedia" of account "shared" make new mailbox in supplierMailbox with properties {name:"test"} end tell
I've tried google for answers but simply do not understand what I read as I'm new to the mac and applescript. Can someone please help before the suicide rate goes up by one:)
Regards,
Mark Lawrence Future Media Systems Ltd. Unit 2 Grange Rd. Industrial Estate, Christchurch, Dorset, BH23 4JD Tel. +44 (0)1425 270511 Fax: +44 (0)1425 278615 Website: www.futuremediasystems.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:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden