Israel

Israel

  • NA
  • 1.3k
  • 204.5k

For Clickatell services users

Dec 2 2017 12:08 PM
Hi,
Please I need to know something that I never try with Clickatell services.
I do use this service and working very well. From my Database windows application I do send normally SMS to mobile phone. This is the code:
 
try
{
WebClient client1 = new WebClient();
string to, msg;
to = txtSMSNumber.Text;
msg = txtTransfSMS.Text;
string baseurl = "http://api.clickatell.com/http/sendmsg?user=AAA&password=BBB&api_id=12345&to='" + txtSMSNumber.Text + "'&text='" + txtTransfSMS.Text + "'";
client1.OpenRead(baseurl);
MessageBox.Show("Message sent...");
}
catch (Exception ex)
{
MessageBox.Show(ex.Message);
}
 
Then how can I send to my database windows application from my mobile phone. Then later receiving a answer to my request. Anyone here already do this? I made days loking for the solution. Nothing!!!

Thank you very much,
Israel
 

Answers (1)