Hi,
I have a script program running on my "Puppy server" that checks a number of properties and I want to be able to send a mail message when some are exceeded. The problem I have is I can't find a way of sending mail?
I'm not a programmer , but have some scripting experience is in Unix on Sun Solaris or Silicon Graphics workstations . Normally I would have written something like
Code: Select all
if [ $wind_speed_now > $wind_speed_max ]
then
mail alison@host < warning_message.txt
fi
However there is no native "mail" command in Puppy, nor in busybox. , my ISP provides a SMTP server, so what I am looking for is a way of using this from within a script.
I've read about "send mail" but can't see it in Puppy, and I'm no linux admin! does anyone know of a simple way to do this?
Thanks for reading this far
Alison