iCal notification emails -> mailScript.applescript
iCal notification emails -> mailScript.applescript
- Subject: iCal notification emails -> mailScript.applescript
- From: Stefan Seiz <email@hidden>
- Date: Thu, 19 Sep 2002 14:26:34 +0200
Hi,
in case anyone's interrested, here's a modified AppleScript which uses the
system's "mail" command instead of Mail.app to send out iCal notifications.
This might come handy if you don't want to have Mail.app open all day.
<disclaimer>
To make this work, your sendmail installation has to be configured (and
started) correctly. You know:
sudo chmod -R g-w /etc/mail
sudo chmod g-w /
and all that...
</disclaimer>
Here's the script:
--- snip ---
set mysubject to "$1"
set mybody to "$2"
set myrecipient to "$3"
do shell script "echo " & mybody & " | /usr/bin/mail -s" & "\"" & mysubject
& "\" " & myrecipient
--- snap ---
--
Stefan Seiz <
http://www.StefanSeiz.com>
Spamto: <email@hidden>
_______________________________________________
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.