• 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: "outgoing message" and "message" classes in Mail's AppleScript dictionary
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >"outgoing message" and "message" classes in Mail's AppleScript dictionary (From: Jashanjeet Singh <email@hidden>)
 >Re: "outgoing message" and "message" classes in Mail's AppleScript dictionary (From: André Renault <email@hidden>)
 >Re: "outgoing message" and "message" classes in Mail's AppleScript dictionary (From: Jashanjeet Singh <email@hidden>)

  • Prev by Date: Re: Is there any way to move to a certain position in AppleScript Editor 2.3
  • Next by Date: Re: Is there any way to move to a certain position in AppleScript Editor 2.3
  • Previous by thread: Re: "outgoing message" and "message" classes in Mail's AppleScript dictionary
  • Next by thread: Re: Has anyone created a script for AD 2008 home and shares in OS X.5/6?
  • Index(es):
    • Date
    • Thread