Re: Sending Mail
Re: Sending Mail
- Subject: Re: Sending Mail
- From: Yvan KOENIG <email@hidden>
- Date: Tue, 28 Jul 2009 17:37:14 +0200
Le 28 juil. 2009 à 17:21, Mike Lally a écrit :
Hello AppleScript Gurus,
I'm still stumbling my way through Jerry Lee Ford's book and I've
hit another of his scripts that for some reason won't work.
This one is about creating an email by AppleScript and I have
altered his script to my own addresses.
Anyway this is the script I'm stuck on . . .
tell application "Mail"
set MessageText to make new outgoing message
tell MessageText to make new to recipient
set sender of MessageText to "email@hidden"
set subject of MessageText to "Mail Script"
set content of MessageText to " This is an AppleScript mail test"
set address of recipient of MessageText to "email@hidden"
send MessageText
end tell
It seems to do everything except address the recipient.
As ever, I'd appreciate some help!
Thanks
I ran it under 10.4.11 and it behaves flawlessly !
Yvan KOENIG (from FRANCE mardi 28 juillet 2009 17:37:09)
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden