Quantcast
Channel: AX Developer Forum
Viewing all articles
Browse latest Browse all 9880

How send sms through ax 2012

$
0
0

Hi All,

I am creating a wizard for customer mobile service centre and i want to send sms to customer. I tried this code to send message but I can't create id in smszone.in. Can anybody tell me another way or give another link to send sms through code.

Thanks

 

System.Net.WebClient custWebclient;

System.IO.Stream InfoData;

System.IO.StreamReader Streamreader;

System.String URLStr;

Str SMSConfirmID;

str mobileno='9898989887';

str message='Test SMS';

;

custWebclient=newSystem.Net.WebClient();

URLStr="http://www.smszone.in/sendsms.asp?

page=SendSmsBulk&username=9898989898&password=9898&number="+mobileno+"&message="+message;

InfoData=custWebclient.OpenRead(URLStr);

Streamreader=newSystem.IO.StreamReader(InfoData);

SMSConfirmID=Streamreader.ReadToEnd();

InfoData.Close();

Streamreader.Close();


Viewing all articles
Browse latest Browse all 9880

Trending Articles