如果./sms --help能出來幫助信息就證明安裝成功了,接下來就可以用來發送手機簡訊了,前提是你的手機必須要開通飛信了. [root@localhost opt]# ./sms --help ./sms: /usr/lib/libssl.so.0.9.8: no version information available (required by ./sms) ************************ IMPORTANT STATEMENT ************************ ** ** ** PLEASE DON'T USE THIS SOFTWARE TO SEND JUNK SHORT MESSAGES. ** ** OTHERWISE PLEASE BEAR YOUR OWN CONSEQUENCES. ** ** ** ** [version:2008-4-2] ** ********************************************************************* This program is for sending short messages via CMCC Fetion! [url]http://www.fetion.com.cn/[/url]
Usage: sms -f mobile -p pwd -t mobile1,.. -m message -a message -d sms -f mobile -p pwd -t mobile1,.. -i file_name[utf8] -a invite_message -d 1 -f:Fetion mobile account(only supports mobile phone No.) -p:Account password -t:Destination mobile list -m:Message -i:File name(only supports utf8) -a:Auto send invite using invite_message. -d:Debug on.
上面的幫助信息告訴我們-f是自己飛信手機號 -p是密碼 -t是發送給誰(必須已經加成你飛信好友的號碼)-m是發送信息內容 可以看到後面有一個提示,發送到號碼成功 [root@localhost opt]# ./sms -f 13524486160 -p 123456 -t 13524486160 -m hello ./sms: /usr/lib/libssl.so.0.9.8: no version information available (required by ./sms) [Thu May 15 16:52:46 2008] :) Send msg to 13524486160 ok!