How to send SMS through code in ax 2012
public static void sendsms(Args _args)
{
System.Net.WebClient custWebclient;
System.IO.Stream InfoData;
System.IO.StreamReader Streamreader;
System.String URLStr;
Str SMSConfirmID;
str mobileno='98xxxxxxx';
str message='Test SMS';
;
custWebclient=new System.Net.WebClient();
URLStr="http://www.smszone.in/sendsms.asp?
page=SendSmsBulk&username=87676767645&password=8787&number="+mobileno+"&message="+message;
//URLStr="http://site5.way2sms.com/content/index.html/Login1.action?//username=9910zzzzzz&password=26&phone="+mobileno+"&msg="+message;
//URLStr="http://site5.way2sms.com/content/index.html/Login1.action?username=9910zzzzzz&password=26&number="+mobileno+"&message="+mess
//URLStr="http://site5.way2sms.com/content/index.html/Login1.action?username=9910zzzzzz&password=26&phone=9910cccccc&msg=hggfjhfhggf";
//URLStr="http://site5.way2sms.com/content/index.html/Login1.action?username=9910zzzzzz&password=26&number=9910cccccc&message=hggfjhfhggf";
InfoData=custWebclient.OpenRead(URLStr);
Streamreader=new System.IO.StreamReader(InfoData);
SMSConfirmID=Streamreader.ReadToEnd();
InfoData.Close();
Streamreader.Close();
}
{
System.Net.WebClient custWebclient;
System.IO.Stream InfoData;
System.IO.StreamReader Streamreader;
System.String URLStr;
Str SMSConfirmID;
str mobileno='98xxxxxxx';
str message='Test SMS';
;
custWebclient=new System.Net.WebClient();
URLStr="http://www.smszone.in/sendsms.asp?
page=SendSmsBulk&username=87676767645&password=8787&number="+mobileno+"&message="+message;
//URLStr="http://site5.way2sms.com/content/index.html/Login1.action?//username=9910zzzzzz&password=26&phone="+mobileno+"&msg="+message;
//URLStr="http://site5.way2sms.com/content/index.html/Login1.action?username=9910zzzzzz&password=26&number="+mobileno+"&message="+mess
//URLStr="http://site5.way2sms.com/content/index.html/Login1.action?username=9910zzzzzz&password=26&phone=9910cccccc&msg=hggfjhfhggf";
//URLStr="http://site5.way2sms.com/content/index.html/Login1.action?username=9910zzzzzz&password=26&number=9910cccccc&message=hggfjhfhggf";
InfoData=custWebclient.OpenRead(URLStr);
Streamreader=new System.IO.StreamReader(InfoData);
SMSConfirmID=Streamreader.ReadToEnd();
InfoData.Close();
Streamreader.Close();
}
Best content & valuable as well. Thanks for sharing this content.
ReplyDeleteApproved Auditor in DAFZA
Approved Auditor in RAKEZ
Approved Auditor in JAFZA
i heard about this blog & get actually whatever i was finding. Nice post love to read this blog
Approved Auditor in DMCC
ReplyDeleteAlways look forward for such nice post & finally I got you. Really very impressive post & glad to read this.
Architects in Indore
Civil Contractors in Indore
blockfi wallet is a cryptocurrency wallet and lending app that enables investors to buy, sell, store, borrow, and earn interest on crypto assets. Moreover, BlockFi users can earn rewards paid in cryptocurrency using the BlockFi Rewards Credit Card.
ReplyDeleteuphold wallet is ideal if you want one place where you can buy and trade a variety of assets. It offers quite a few cryptocurrencies, along with precious metals, national currencies, and U.S. equities.