LinuxSA Mailing list archives

Index: [thread] [date] [subject] [author] [stats]
  From: David Newall <davidn@rebel.net.au>
  To  : Jim O <jim@kendle.com.au>
<linuxsa@linuxsa.org.au> Date: Fri, 10 Nov 2000 13:20:15 +1030

Re: A few questions (auto mail script + SSH related)

While sendmail certainly can be used for that purpose, the mail program is
more appropriate:

  echo -e "If you get this message, your cron job is working
  Jim." | mail -s "Scripted Email" someone@somewhere.org


> echo "From: Jim OHalloran <jim@kendle.com.au>"
> ...
> PS: If someone could tell me why messages created by the above script
[have]
> invalid from field

Is there really a single quote in OHalloran?  If so put double quotes around
the complete name.

-- 
LinuxSA WWW: http://www.linuxsa.org.au/  IRC: #linuxsa on irc.linux.org.au
To unsubscribe from the LinuxSA list:
  mail linuxsa-request@linuxsa.org.au with "unsubscribe" as the subject


Index: [thread] [date] [subject] [author] [stats]
Return to the LinuxSA Mailing List Information Page