Send mail using AppleScript
Send mail using AppleScript
- Subject: Send mail using AppleScript
- From: Rob Werner <email@hidden>
- Date: Thu, 31 Jul 2003 11:34:30 +1000
I've been trying to send mail from my AppleScript using Mail.app, but I'm
running in to problems. I can successfully set most details of the outgoing
mail, but I'm having no luck setting the recipient address. I found the
script on this page:
http://developer.apple.com/qa/qa2001/qa1018.html
However, it does not compile. It throws up the error:
"Expected "," but found class name"
when it gets to this line, highlighting the word 'message':
set composeMessage to (a reference to (make new compose message ,
at beginning of compose messages))
Is there a simple way of doing this? It doesn't have to be anything fancy
because the details of the outgoing mail will always be exactly the same.
Do I even need to use Mail.app?
Cheers,
-Rob
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.