Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Use sendmail for iCal reminders' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Use sendmail for iCal reminders
Authored by: dbikel on Oct 16, '03 10:21:45AM
Argh! You have to escape backslashes with a backslash. Even though they appear correctly when you Preview your comment, there is apparently another level of processing that requires them to be escaped. So, for the final time, here's the code:
on send_mail_sbr(subjectLine, messageText, myrecipient)
	do shell script ("echo \"" & messageText & "\" | mail -s \"" & subjectLine & "\" " & myrecipient)
end send_mail_sbr


[ Reply to This | # ]