I'm having trouble figuring out how to set the recipient address
property. If recipAddr = "email@hidden" how do I set the recipient
address using these properties?
set foo to make new outgoing message with properties {visible:true,
subject:"test"}
Addressees are elements, not properties, so they have to be added
after the message is created.
tell application "Mail"
set foo to make new outgoing message with properties
{subject:"test", content:"this is a test", visible:true}
tell foo
make new to recipient with properties {name:"Michelle Steiner",
address:"email@hidden"}
end tell
end tell
--
You can not change the world without perforce changing yourself.