Wednesday, 4 January 2012

Send Sms To mobile in Asp.net Using way2sms dll

Way2sms.zip
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", cookie, siteParameters);
}

2 comments:

  1. this code is not working properly

    ReplyDelete

  2. To select the best bulk SMS API available in the market I would suggest you go for Msgclub SMS platform where they have their bulk SMS API available in many programming languages like PHP, Java, .Net and more

    ReplyDelete