使用飞信机器人可以在Linux/windows环境下,命令行调用飞信。
使用举例:
fetion --mobile=135xxxxxxxx --pwd=mypwd --to=137xxxxxxxx --msg-gb=测试 --msg-type=1
向137xxxxxxxx 手机发送内容为“测试”的短信,机器人手机号是135xxxxxxxx
如果Windows环境运行失败,可能需要安装VC2008或VC2005运行库http://www.greendown.cn/soft/14395.html#downhttp://www.microsoft.com/downloads/details.aspx?FamilyID=200b2fd9-ae1a-4a14-984d-389c36f85647&DisplayLang=zh-cn