Mail to recipients
Mail to recipients
- Subject: Mail to recipients
- From: "Larry Staton Jr." <email@hidden>
- Date: Mon, 17 Feb 2003 22:39:05 -0500
I copied the following from Apple's example Mail Scripts.
-- CODE --
tell application "Mail"
set newMessage to make new outgoing message with properties
{subject:"Close panel in iCal", content:"I received the following
error: " & return & return}
tell newMessage
set visible to true
make new to recipient at end of to recipients with properties
{address:"email@hidden", name:"Larry Staton, Jr."}
end tell
-- return {name, address} of to recipient 1 of newMessage
send
end tell
-- END CODE --
This script fails to display the "to recipient" name or address in the
To: field. When I ask for the return values, Script Editor returns the
proper values of name and address.
Any thoughts? TIA.
--
Larry Staton Jr.
E-mail/iChat: email@hidden
AIM: lstatonjr
http://www.statonlaw.net/weblog/
Brought to you by Mail on Mac OS X
Public PGP Key available upon request
_______________________________________________
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.