• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
iCal notification emails -> mailScript.applescript
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Re: Unicode to plain text
  • Next by Date: Re: Lookup if an application...
  • Previous by thread: Re: Lookup if an application...
  • Next by thread: Re: The State of the Nation [was: Re: Search a file question - Mac OS 9]
  • Index(es):
    • Date
    • Thread