Hi there,
Thanks so much for your C# SMS API i found on
http://code.google.com/p/textmagic-c-sharp-wrapper-class-library/
I am facing some issues. I am trying out the SMS API of textmagic with
my
asp.net application.
I signed up to a trial account with textmagic to test my codes. So far
i can get my application to send out an sms using these codes.
using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.IO;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using System.Net;
namespace Fruits
{
public partial class WebForm15 :
System.Web.UI.Page
{
TextMagicServices.TextMagicMessageService TMS;
protected void Page_Load(object sender, EventArgs e)
{
string user = "username";
string pass = "password";
string strMessage = "testing message";
string strPhone = "61423871777";
//initialize the Service
TMS = new TextMagicServices.TextMagicMessageService(user,
pass);
// to send message to single phone
TextMagicServices.SentMessage objSentMessage = new
TextMagicServices.SentMessage();
objSentMessage = TMS.send(strMessage, strPhone);
}
}
}
However i would like to know if someone can point me in the direction
of how write the code for receiving smses from my
asp.net application
page? I read the developer help SMS API guide but i am not really sure
how to do it.
I would greatly appreciate some help. Thanks so much :)