|
|
Use sendmail for iCal reminders
Woops. The only script that gets used is Mail.scpt, and I had modified Mail.applescript incorrectly before compiling it into Mail.scpt. In order to get iCal reminders flowing through sendmail with the latest iCal (which, at the time of this writing, is 1.5.1), copy the Mail.applescript file from /Applications/iCal.app/Contents/Resources to some other convenient location (such as your ~/Desktop directory). Use ScriptEditor to change the function send_mail_sbr to be
on send_mail_sbr(subjectLine, messageText, myrecipient)
do shell script ("echo \"" & messageText & "\" | mail -s \"" & subjectLine & "\" " & myrecipient)
end send_mail_sbr
and then use the ScriptEditor's "Save As Run-Only..." command to save a compiled version of this script; call this file Mail.scpt. Then, use /Developer/Tools/MvMac to change the name of the old Mail.scpt to something else (like Mail.scpt.old) and use /Developer/Tools/CpMac to copy the new Mail.scpt to /Applications/iCal.app/Contents/Resources. Finally, to make the ownership and permissions be identical to the old version of Mail.scpt, do a
sudo chown root:admin Mail.scpt sudo chmod 664 Mail.scpt Repeat this entire procedure for the Mail.applescript and Mail.scpt files in the directory /Applications/iCal.app/Contents/Resources/iCal Helper.app/Contents/Resources, so that e-mail reminders will flow through sendmail even when iCal is not running. N.B.: As far as I can tell, you must be logged in to receive e-mail reminders from iCal. |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysNo new commentsLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.05 seconds |
|