SMS Communication Through The Internet

白昼怎懂夜的黑 提交于 2019-12-22 08:19:30

问题


If I am to send a message to a mobile device from a website and viceversa, how can that be done?

What I know: A couple of years ago I developed a simple enrollment system on J2ME platform(just for trying J2ME out). I had a mysql database that I setup in a pc/server, and for the communication I used the static IP of that server. I had a bridge, a mobile phone which was connected to the internet, where clients would send a formatted message. That bridge then would send the message to the server, after verification and validation, the server would respond back to the bridge, and finally the bridge will forward that message to the client. (I know..I know..!)


回答1:


It can be done by using a mobile phone connected to your computer, but a more robust way would be to use an SMS aggregator - well known ones are Mblox or Hay, but a google search will show many more.

They will support both sending and receiving SMS messages

(Disclaimer: no connection with either, although my employer does use Hay)




回答2:


The short answer is that you have 4 options:

  • Having your own SMS server

OR

  • Having to use the webportal for each provider you want to sent the message

OR

  • Some provider let you send SMS with email to SMS

OR

  • Use some services that let you send SMS via their webservices (this usually cost some money to subscribe).


来源:https://stackoverflow.com/questions/326305/sms-communication-through-the-internet

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!