email is no longer available
authorDan White <dan@whiteaudio.com>
Thu, 25 Oct 2012 17:57:25 +0000 (12:57 -0500)
committerDan White <dan@whiteaudio.com>
Thu, 25 Oct 2012 17:57:25 +0000 (12:57 -0500)
sms

diff --git a/sms b/sms
index 58507b43953f191ce18c4bcf2fcbf64b0048c903..2e8a12890a85c847e35ca3c6de48ce793249b13d 100755 (executable)
--- a/sms
+++ b/sms
@@ -2,7 +2,7 @@
 
 # Dan White <dan@whiteaudio.com>
 
-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