Re: Adding a message to a mailbox in Mail
Re: Adding a message to a mailbox in Mail
- Subject: Re: Adding a message to a mailbox in Mail
- From: Rob Jorgensen <email@hidden>
- Date: Sat, 28 Sep 2002 16:56:47 -0400
On 9/28/02, you commented:
Thanks for the suggestions,
I had tried the mailbox as a property with no luck. I get an
NSArgumentsWrongScriptError although mailbox is not marked r/o and
is a property of message.
make new message with properties {subject:"test", contents:"this is
a test"} at end of mailbox (mailbox "test")
Gives me an NSContainerSpecifier error so I tried:
set theMBOX to mailbox "test"
make new message with properties {subject:"test", contents:"this is
a test"} at end of theMBOX
Which brought back the familiar NSInternalScriptError.
Does anyone know if this is possible with Mail, it seems Eudora and
OE can add mail messages using AppleScript, why can't the built-in
mailer?
Does Mail require outgoing/new messages to be in a specific location,
such as Drafts or Out?
--
Rob Jorgensen
Ohio, USA
_______________________________________________
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.