Re: Mail - someone get me started!
Re: Mail - someone get me started!
- Subject: Re: Mail - someone get me started!
- From: "Marc K. Myers" <email@hidden>
- Date: Fri, 27 Sep 2002 15:47:17 -0400
Date: Fri, 27 Sep 2002 17:20:18 +0100
Subject: Mail - someone get me started!
From: Simon Forster <email@hidden>
To: Applescript List <email@hidden>
Hi
As ever when starting out with an application which I've never scripted
before, I'm stuck. I need to get Mail to send out messages for me but
my neophyte attempts have failed.
tell application "Mail" to make new outgoing message to recipient "xyz"
with properties myPresetProps
looks like it should work but of course doesn't.
I've thrashed around Apple's site and a couple of script resource sites
but haven't found any example scripts. Would someone point me in the
right direction please?
There's a script provided with a standard install that should provide
you with all the syntax you need to create and address a message. Do a
search for "Create New Message". Once the message is constructed, just
tell Mail to "send outgoing message 1". The first time in a mail
session that you do this you'll have to clear a dialog. After that
it'll process automatically.
Marc K. Myers <email@hidden>
http://AppleScriptsToGo.com
4020 W.220th St.
Fairview Park, OH 44126
(440) 331-1074
[9/27/02 3:46:47 PM]
_______________________________________________
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.