Hello you can try my app, i have used the dll of www.way2sms.com
First you have to register a free account on www.way2sms.com
then you can use the app
You will need 3 text boxes
1.your number
2.destination number
3.Message body
I am not pasting the Html Mark up i am just pasting the code behind and also attaching the app.
Code behind.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using SmsClient;
public partial class SendSmS : System.Web.UI.Page
{
string errdesc = "0";
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
}
}
protected void btnSend_Click(object sender, EventArgs e)
{
try
{
SendSms sms = new SendSms();
errdesc = sms.send(xtxtWay2smsNumber.Text, xtxtWay2smsPassword.Text, xtxtSMSBody.Text, xtxtRecieversMobileNumber.Text);
switch (errdesc)
{
case "1":
errdesc = "Message Sent Successfully";
xdesc.Text = errdesc;
xdesc.Visible = true;
break;
case "2":
errdesc = "No Internet Connection";
xdesc.Text = errdesc;
xdesc.Visible = true;
break;
case "3":
errdesc = "No Internet Connection or Login Number and Password Do not match.Please check Internet Connection or your Credentials";
xdesc.Text = errdesc;
xdesc.Visible = true;
break;
}
}
catch (Exception ex)
{
errdesc = ex.Message;
xdesc.Text = errdesc;
}
}
}
Download source fileRegard's
Raj.Trivedi
"Sharing is Caring"
Please mark as answer if your Query is resolved
Shanky11, if this helps please login to Mark As Answer. | Alert Moderator