Friday, November 24, 2017
ExamplesHere some ASP VB-Script examples, intended to be used on a IIS (Internet Information Server) from Microsoft or any other application that supports ActiveX/COM-Objects.
You may change the code according to the documentation.
Delivery NotificationsOptional you may set a transaction number and transmit it together with the SMS to our aspsms servers. This enables you to track the delivery of each message. Just add a unique transaction number to the method SMS.AddRecipient separated with a comma.
In this example we will execute an HTTP GET Request to http://mysite.com/sms/delivered.asp?ID=0001 if the SMS has been delivered succesfully to the recipients mobile phone.
If the SMS has been buffered first, we will first execute an HTTP GET Request to your webserver like http://mysite.com/sms/buffered.asp?ID=0001
If the SMS couldn't be delivered, we will execute an HTTP GET Request to your webserver like http://mysite.com/sms/notdelivered.asp?ID=0001
Naming of the URLs and Querystring parameters:
Your completely free how you want to name the URLs and the querystring parameters. We will just add the transaction number behind the URL that you specified within the methods.
More ASP VB-Script examples: