"outgoing message" and "message" classes in Mail's AppleScript dictionary
"outgoing message" and "message" classes in Mail's AppleScript dictionary
- Subject: "outgoing message" and "message" classes in Mail's AppleScript dictionary
- From: Jashanjeet Singh <email@hidden>
- Date: Mon, 26 Jul 2010 23:11:56 +0530
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