Hi,
How to send sms from ASP.Net? I have requirement in my project that after registration of user send sms to user that "You are registered with us".
Loading
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Subhendu DeRank #1,108 · 1.7K reputationPosted Dec 11, 2010, 12:07 AM EST
http://www.wirelessduniya.com/2007/08/28/list-of-vas-companies-in-india/
They will give you the link for web service or simple aspx page. What you need to do is to call the web service/ web page with inputs as querystring and it will return you status message like true(0) or false(1), indicating your message has been sent or not.
If you want to know how to call web request and get response from code, take a look at the following link
http://www.c-sharpcorner.com/UploadFile/mahesh/WebRequestNResponseMDB12012005232323PM/WebRequestNResponseMDB.aspx
If you need any other information, let me know.
Thanks.....
Gauri4 reputationPosted Dec 11, 2010, 12:11 AM EST
Is there any way to send SMS from ASP.Net free?
Because I dont want to buy SMS package.
Subhendu DeRank #1,108 · 1.7K reputationPosted Dec 11, 2010, 12:20 AM EST
http://www.webservicex.net/sendsmsworld.asmx
http://www.aswinanand.com/2008/07/send-free-sms-web-service/
Remember they are free, so no gaurantee about the delivery of message.
Thanks.....
CrishRank #1,487 · 1.1K reputationPosted Dec 12, 2010, 11:32 PM EST
You can check this below code for to send sms from asp.net.Before using the below code you must link the web service.
'http://sal006.salnetwork.com:83/lucin/SMSMessaging/Process.xml 'Information available on www.salcentral.com Example : Private Sub SendMessage(ByVal p_sPhoneNumber As String, ByVal p_sMessage As String, ByVal p_sUsername As String, ByVal p_sPasskey As String) Dim smsService As New SMSService.SMSMessagingprocessService() Dim sCountryCodes As String Try If smsService.ValidPhoneNumber(p_sPhoneNumber) Then Dim result As Boolean = smsService.SendMessage(p_sPhoneNumber, p_sMessage, p_sUsername, p_sPasskey) If result = True Then MsgBox("The message was sent", MsgBoxStyle.Information, "SMS Messaging") Else MsgBox("The message could not be sent", MsgBoxStyle.Information, "SMS Messaging") End If End If Catch ex As SoapException MsgBox("An exception occured. " & ex.Detail.InnerText, MsgBoxStyle.Critical, "SMS Messaging") End Try End Sub