Re: Recipients in Mail.app
Re: Recipients in Mail.app
- Subject: Re: Recipients in Mail.app
- From: John Delacour <email@hidden>
- Date: Tue, 24 Jun 2003 23:59:20 +0100
- Mac-eudora-version: 6.0a23
At 5:17 pm -0400 24/6/03, Marc K. Myers wrote:
I'm writing a script to generate a message in Mail.app, based on
Apple's Create New Message.scpt. According to the Event Log
everything is working fine. I get an entry:
"make new to recipient at end of every to recipient of outgoing
message id 48555296 with properties {name:"Jane Doe", address:"
email@hidden"}"
The problem is that the recipient(s) never get into the message.
The "To:" line is empty!
Frustrating isn't it! Try this:
tell application "Mail"
set _message to make outgoing message with properties {visible:true}
tell _message
set r1 to {name:"me", address:"me@home"}
make to recipient at end with properties r1
end
end
I do hope they've replaced the team that is responsible for this mess.
JD
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.