download the dll from above link and give reference in your vs
using SMSClientLib; using System.Net;
public partial class SMS : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { string mymobilenow = "";//Add ur mobileno string mypassword = "";//add ur password string reciever = "";//add reciever mobileno string status = ""; CookieContainer cookie = SMSClientLib.Login.Connect(mymobilenow, mypassword, out status); string[] siteParameters = SMSClientLib.Login.GetSiteParameters(cookie); string messgeSentResult = SendSMS.Send_Processing(reciever, "Helo this is shibashish!", cookie, siteParameters); }
My status is showing Invalid User Name or Password. But it is a valid username and password. I have tried everything. Please help.
ReplyDeletehttp://shibashishdotnetocean.blogspot.in/2012/02/send-sms-using-way-to-sms-dll.html
DeletePlease check it it is running fine.Thanks shibashish mohanty.
If you need windows application for this then reply me.thanks again.
http://shibashishdotnetocean.blogspot.in/2012/02/send-sms-using-way-to-sms-dll.html
Deletehttp://shibashishdotnetocean.blogspot.in/2012/02/send-sms-using-way-to-sms-dll.html
ReplyDeleteRahul try this link it will help you.
hi..i tried ur code but status (output variable)is showing failed to connect host..
ReplyDeletehttp://shibashishdotnetocean.blogspot.in/2012/02/send-sms-using-way-to-sms-dll.html
ReplyDeleteTry this url
way2sms.dll
ReplyDeleteFIle not found
yes my dear friend.Thats why i have given another method in below link.
Deletehttp://shibashishdotnetocean.blogspot.in/2012/02/send-sms-using-way-to-sms-dll.html
i have posted the latest one please go for it,its working fine http://shibashishdotnetocean.blogspot.in/2013/04/send-free-sms-using-aspnet-source-code.html
ReplyDelete