如何在asp.net和vb.net中使用at-command? [英] How can use at-command in asp.net and vb.net ?

查看:72
本文介绍了如何在asp.net和vb.net中使用at-command?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

请任何人告诉我如何在asp.net命令中使用该命令发送短信,请告诉我以及我如何在命令中检查哪个移动设备支持此操作

请告诉我是否支持7610和6680诺基亚手机?

please any one tell me how i can use at command asp.net for sending sms please tell me and how i can check that which mobile supported for this at command

please tell me 7610 and 6680 nokia moble supported or not?

推荐答案

要发送移动SMS,您需要相应的库.在下面的代码中,使用了ActiveXperts SMS消息传递API.您可以从他们的页面下载它.代码是:

To send mobile SMS, you need the respective library. In the below code, ActiveXperts SMS messaging APIs are used. You can download it from their page. Code is:

Dim objMessageDB, objConstants

Set objMessageDB = CreateObject("AxMmServer.MessageDB")
Set objConstants = CreateObject("AxMmServer.Constants")

objMessageDB.Open

objMessage.Type = objConstants.MESSAGETYPE_SMS
objMessage.Status = objConstants.MESSAGESTATUS_PENDING
objMessage.Recipient = "+0011234567890"
objMessage.Body = "Mobile SMS Test message"
obJMessageDB.Send(objMessage);

objMessageDB.Close


这篇关于如何在asp.net和vb.net中使用at-command?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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