我们有一个日历安排应用,需要能够向手机发送短信。我不知道如何开始这个。该应用程序是一个使用jQuery Mobile在Lamp Stack上制作的Web应用程序。
答案 0 :(得分:3)
之前我曾使用Twilio这样的东西。文档是here,他们有一个PHP库here。
您可以设置Twilio帐户,然后当您的应用想要发送短信时,它会调用服务器上的PHP处理程序,将PHP请求发送给Twilio。对于我去年制作的设备监控应用程序非常有用。
答案 1 :(得分:2)
如果您可以使用LAMP堆栈实现SMS网关,则可以实现它。网络只是它的前端。
答案 2 :(得分:2)
之前我通过电子邮件发过短信。已经有几年了,但是上次我这样做了,我只是使用了这些电子邮件后缀:
T-Mobile: phonenumber@tmomail.net Virgin Mobile: phonenumber@vmobl.com Cingular: phonenumber@cingularme.com Sprint: phonenumber@messaging.sprintpcs.com Verizon: phonenumber@vtext.com Nextel: phonenumber@messaging.nextel.com where phonenumber = your 10 digit phone number