Re: Problem with Reply, Forward and Outgoing Messages in Application "Mail"
Re: Problem with Reply, Forward and Outgoing Messages in Application "Mail"
- Subject: Re: Problem with Reply, Forward and Outgoing Messages in Application "Mail"
- From: Michelle Steiner <email@hidden>
- Date: Fri, 9 Jun 2006 09:24:41 -0700
On Jun 9, 2006, at 8:59 AM, Joseph Pollone wrote:
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.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden