从VB.NET发送短信 [英] SMS Sending from VB.NET

查看:87
本文介绍了从VB.NET发送短信的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

伙计们.

希望你们中的任何一个都能帮助我.我有一个asp.net网站,应该使用AT命令通过串行端口发送通知短信.当我连接了诺基亚电话时,所有这些都很好用,但是一旦我添加了USB GSM调制解调器或DigiCell GSM路由器/网关,它似乎就停止工作了.当我使用超级终端或Putty并手动输入相同的AT命令时,它对所有这些命令均有效.我什至尝试过在这里找到的ATSMS和SMSCOMMS东西,但似乎都无法正常工作...请帮助新手:sigh:

Hey Guys.

Hope any of you can help me. I have a asp.net site which is supposed to send a notification sms through a serial port using AT command. This all works well when I have a nokia phone connected to it, but as soon as I add a USB GSM modem or DigiCell GSM router/gateway it just seems to stop functioning. When I use HyperTerminal or Putty and enter the same AT command by hand, then it works on all of them. I even tried the ATSMS and SMSCOMMS thingies I found on here, but none seems to work... Please help a newbie :sigh:

推荐答案

服务器将在哪里?我从未听说有人以这种方式发送短信,我只是听说他们付钱给服务提供商来发送短信.使用自己的电话帐户便宜吗?如果是这样,为什么不将电话插入服务器呢?我敢打赌电话比调制解调器或路由器便宜....
Where will the server be ? I''ve not heard of people sending SMS this way, I''ve only heard of them paying a service provider to do it. Is it cheaper to use your own phone account ? If it is, why not just leave a phone plugged in to the server ? I bet the phone is cheaper than a modem or router....


这实际上将在我们公司的服务器上,客户可以通过该服务器进行预订.作为回报,Servl将通知所有相关人员bias短信,并通过短信与客户确认预订.

但是,我设法解决了这个问题:-D但是,现在我面临的问题是,当几个人同时连接到同一页面时,系统无法全部访问调制解调器.因此,我试图让站点通过tcplistener通过tcpclient将数据发送到服务器,但是似乎它在一段时间内处于非活动状态,它关闭并处理了SerialPort连接,这给我带来了以下问题:程序正在等待来自服务器的数据,无法发送短信....:confused:
This will actually be on our companies server, on which our clients connect to make bookings. In return the servel will notify all the relevant personnel bia sms and also confirm the booking via sms with the client.

But, I managed toget that problem solved :-D However, now I am faced with the problem of, when several people connect to the same page at the same time, the system cannot access the modem for all. So I am trying to get the site to send the data via a tcpclient to the server with a tcplistener, but it seems as soon as it was inactive for a while it closes and disposses of the SerialPort connection, which leaves me with the problem that the program waiting for the data from the server, cannot send the sms....:confused:


这篇关于从VB.NET发送短信的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆