From: Dan White Date: Thu, 25 Oct 2012 17:57:25 +0000 (-0500) Subject: email is no longer available X-Git-Url: http://git.whiteaudio.com/gitweb/?a=commitdiff_plain;h=7258d41c02cbc106add21f56b348966708820a36;p=pubbin.git email is no longer available --- diff --git a/sms b/sms index 58507b4..2e8a128 100755 --- a/sms +++ b/sms @@ -2,7 +2,7 @@ # Dan White -SMSTO=${SMSTO:-"dansms"} +SMSTO=${SMSTO:-"4028904049@messaging.sprintpcs.com"} function usage { cat << EOF @@ -20,7 +20,9 @@ fi SUBJECT=$1 if [ -r "$2" ]; then - cat "$2" | email -s "$SUBJECT" $SMSTO + #cat "$2" | email -s "$SUBJECT" $SMSTO + cat "$2" | mail -s "$SUBJECT" $SMSTO else - email -b -s "$SUBJECT" $SMSTO + #email -b -s "$SUBJECT" $SMSTO + echo "$SUBJECT" | mail $SMSTO fi