Re: Emailer scripts
Re: Emailer scripts
- Subject: Re: Emailer scripts
- From: Shane Stanley <email@hidden>
- Date: Mon, 29 Oct 2001 21:04:26 +1100
On 29/10/01 8:12 PM +1000, kim, email@hidden, wrote:
>
Can someone please indicate the correct way to specify the recipient's
>
email address with Emailer? Also how to attach an attachment (I gotta
>
say I'm finding the dictionary quite confusing)
You probably should have this on a CD there somewhere:
set someText to "Hello world"
tell application "Claris Emailer"
make new outgoing message with properties {enclosure encoding:binhex,
compress enclosures:true, subject:"My computer", content:someText}
set theMessage to result
make file at theMessage with properties {name:((choose file) as text)}
make new recipient at theMessage with properties {recipient type:to
recipient, address:{display name:"Foo", address:"email@hidden"}}
open theMessage
end tell
--
Shane Stanley, email@hidden