Skip to main content

Posts

Showing posts with the label Sending sms through dynamics axapta

Sending SMS Microsoft dynamics axapta

You can try following code in job to send sms via axapta. This is code sample to get hints to apply in your program. System.Net.WebClient custWebclient; System.IO.Stream InfoData; System.IO.StreamReader Streamreader; System.String URLStr; Str SMSConfirmID; str mobileno='9834045959'; str message='Test SMS'; ; custWebclient=newSystem.Net.WebClient(); URLStr="http://www.smszone.in/sendsms.asp?page=SendSmsBulk&username=87676767645&password=8787&number="+mobileno+"&message="+message; InfoData=custWebclient.OpenRead(URLStr); Streamreader=newSystem.IO.StreamReader(InfoData); SMSConfirmID=Streamreader.ReadToEnd(); InfoData.Close(); Streamreader.Close(); You can try other website too to send sms here smszone.in has been considered to send messages. You need to put your username and password in given url string.