Creating mail message with signature
Creating mail message with signature
- Subject: Creating mail message with signature
- From: Neil Faiman <email@hidden>
- Date: Fri, 16 Nov 2007 07:58:48 -0500
For years, I've been using this command to tell Mail to create a new
mail message:
tell application "Mail"
make new outgoing message with properties {
subject:"The subject",
content:"The message",
sender:"Wilton ZBA <email@hiddenn>",
message signature:signature "ZBA Chair"}
Now, under Leopard, it creates the message, fills in the body and the
sender, and then dies with the error "Mail got an error: AppleEvent
handler failure.". The problem is apparently the "message signature"
property. If I remove that from the "with properties" record, and add
the line
set message signature of the result to signature "ZBA Chair"
it works.
-Neil Faiman
_______________________________________________
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