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 11:24:40 -0700
On Jun 9, 2006, at 10:55 AM, Joseph Pollone wrote:
Thank you. I think I'm beginning to get it.
I've been trying to figure out how to add multiple addressees to a
message, but the best I've been able to do is with a loop, like this:
tell application "Mail"
set addressList to {{name:"Michelle Steiner",
address:"email@hidden"}, ¬
{name:"test tester", address:"email@hiddenid"}, ¬
{name:"invalid address", address:"email@hiddenid"}}
set foo to make new outgoing message with properties ¬
{subject:"test", content:"this is a test", visible:true}
tell foo
repeat with thisAddress in addressList
make new to recipient with properties thisAddress
end repeat
end tell
end tell
I can't figure out how to get the entire list into the message at
once; I don't know whether it is possible.
-- Michelle
--
Those who extol the "nobility of labor" mean the labor of others.
_______________________________________________
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