Click here to Skip to main content
15,909,597 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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?
Posted

1 solution

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:

VB
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
 
Share this answer
 
Comments
irfanansari 17-Jan-12 4:29am    
please tell me about name space call and please tell me i just use my cell phone with data-cable is there need any driver of that data cable which i attached with my cell phone and please tell these code enough or is there any more code required?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900