eb6860b
#!/bin/sh
eb6860b
TO=root@localhost
eb6860b
( echo From: $1 ; echo Date: $2 ; echo ; cat ) | mail -s "SMS from $1" $TO