• 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: André Renault <email@hidden>
  • Date: Mon, 26 Jul 2010 18:59:25 -0400

I think the Outgoing Msg is for what you want to send, while message is an object of any generic one. Also the make command requires the at parameter.
On Jul 26, 2010, at 1:41 PM, Jashanjeet Singh wrote:

> Hi,
> Mail's AppleScript dictionary has following two classes "outgoing
> message" and "message"
>
> I can make "outgoing message" by using the below code
> tell application "Mail"
> 	make new outgoing message with properties {visible:true, subject:"My
> Subject", content:"My test content"}
> end tell
>
> but when I try to make "message" object
> tell application "Mail"
> 	make new message with properties {subject:"My Subject", content:"My
> test content"}
> end tell
> than I get error "Mail got an error: Can’t make or move that element
> into that container." number -10024
>
> Why I cannot create "message" object?
> I am trying of create "message" object because I want to set "date
> sent" field in the "message".  And I cannot set "date sent" field in
> "outgoing message".
> Can I create object of type "message"?
> or
> Do we have any way to set  "date sent" field in newly created
> "outgoing message".
>
> Thanks
> Jashan
> _______________________________________________
> 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

 _______________________________________________
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

  • Follow-Ups:
    • Re: "outgoing message" and "message" classes in Mail's AppleScript dictionary
      • From: Jashanjeet Singh <email@hidden>
References: 
 >"outgoing message" and "message" classes in Mail's AppleScript dictionary (From: Jashanjeet Singh <email@hidden>)

  • Prev by Date: Re: Zoom text in Safari window
  • Next by Date: Is there any way to move to a certain position in AppleScript Editor 2.3
  • Previous by thread: "outgoing message" and "message" classes in Mail's AppleScript dictionary
  • Next by thread: Re: "outgoing message" and "message" classes in Mail's AppleScript dictionary
  • Index(es):
    • Date
    • Thread