Re: "outgoing message" and "message" classes in Mail's AppleScript dictionary
Re: "outgoing message" and "message" classes in Mail's AppleScript dictionary
- Subject: Re: "outgoing message" and "message" classes in Mail's AppleScript dictionary
- From: Michelle Steiner <email@hidden>
- Date: Mon, 26 Jul 2010 19:47:21 -0700
On Jul 26, 2010, at 7:15 PM, Jashanjeet Singh wrote:
> I tried with following code by using at parameter:-
> tell application "Mail"
> make new message at mailbox "Filed" with properties {subject:"My
> Subject", content:"My test content"}
> end tell
> But I am getting the error:-
> "Mail got an error: Can’t make or move that element into that
> container." number -10024
It has to be "make new outgoing message", and you can't make it at a mailbox. After you save it, you can move it from the drafts mailbox to another mailbox.
-- Michelle
--
Don't dream it. Be it. --RHPS
_______________________________________________
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