I want a script which can send e-mail automatically at system startup.
I need only that script either writtern in PERl or SH or any other.
anybody have/create this script with following parameters
tomail=shakirz1@hotmail.com subject="auto mail" bodytext="send on system startup"
thanks
Auto send e-mail Script
Re: Auto send e-mail Script
stick this in your /etc/rc.local:
that'll be rs 600, thanks.
Code: Select all
echo 'send on system startup' | mail -s 'auto mail' shakirz1@hotmail.com
-
- Battalion Quarter Master Havaldaar
- Posts: 207
- Joined: Sat Aug 09, 2003 5:00 pm
- Location: Karachi
- Contact:
Auto send e-mail Script
thanks, this script work for me.