Friday, November 24, 2017
 

Examples

Here 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.

Simple Text SMS | Bulk SMS | Flashing SMS | Alphanumeric Originator | SMS with delivery notification | SMS with error validation | WAP-Push |

Delivery Notifications

Optional 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.

<html>
<body>

<%

  '------------------------------------------------------------
  ' aspsms.com(ponent) (c) 2001 by VADIAN.NET AG
  '------------------------------------------------------------
  ' with delivery notification
  '------------------------------------------------

  Set SMS = Server.CreateObject("ASPSMS.Booster")
  SMS.Userkey = "I3QHMYKEY6E"
  SMS.Password = "mypassword"
  SMS.Originator = "0041763255533"
  SMS.MessageData = "hello dad, call me in an hour! love, cathy"
  SMS.FlashingSMS = False
  SMS.URLDeliveryNotification = "http://mysite.com/sms/delivered.asp?ID="
  SMS.URLBufferedMessageNotification = "http://mysite.com/sms/buffered.asp?ID="
  SMS.URLNonDeliveryNotification = "http://mysite.com/sms/notdelivered.asp?ID="
  SMS.AddRecipient "0044734255533", "0001"
  SMS.SendTextSMS
  lResult = SMS.ErrorCode
  SMS.DeleteAllRecipients
  Set SMS = Nothing

%>

done.

</body>
</html>

Additional comments:

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:

Simple Text SMS | Bulk SMS | Flashing SMS | Alphanumeric Originator | SMS with delivery notification | SMS with error validation | WAP-Push |
New User Registration

Click here for the ASPSMS new user registration.

Have you already registered? Log in with your user e-mail address and password.


Forgot Login Password?

Available SMS tools and interfaces for ASPSMS

Factsheets
Purpose and business examplesPDF
SMS tools for End Users
NamePricing
ASPSMS WinLog free
Microsoft Office Outlook 2013-2016: Email to SMSfree
Microsoft Office Outlook 2010 Mobile Servicefree
Microsoft Office Outlook 2007 Mobile Servicefree
SMSBLASTER web editionfree
SMS Blaster Windows Editionfree
SMS touch for iPhone and iPod touchShareware
ECO-SMS - Ökologische SMS!Shareware
Cybersystems mscrmSMSsee price list for details
Jabber-Client Chatopus for Palm OSsmall one-time payment
delight Software GmbHsee price list for details
ASPSMS Widget for Macfree
SMS scripts and interfaces for developers
NamePricing
ASPSMS Dot Net Assembly on NuGet free
ASPSMS JSON API (REST) free
C# Microsoft ASP.NET Identity MVC (for SOAP)free
Node.js interface for ASPSMSfree
PHP Class for ASPSMS SOAP web servicefree
aspsms.dll (Active-X)free
SOAP Web Servicefree
XML-Interfacefree
ASPSMS SMTP Interfacefree
VBscript Class (ASP)free
HTTPfree
PHP - Python - C# - Javafree
Jabber to SMS for Server Adminsfree (open source)
SMS Blaster Visual Basic Source Codefree
ASPTOKENfree
Network coverage
Supported networks around the world
VADIAN.NET AG
Katharinengasse 10
CH - 9004 St.Gallen
 
Phone: +41 71 246 56 56
Fax: +41 71 246 56 57
E-Mail: keyaccounts@aspsms.com
 
Founded: 1995
Company Number: CH-170.3.020.905-6
VAT-Number: CHE-102.692.722 MWST

Mastercard - Mastercard Securecode Mastercard - Mastercard Securecode Visa Visa - Verified by Visa Diners Club American Express PayPal Postcard Bank Transfer

Swiss Quality

OFCOM registered Telecommunications Service Provider (254900005).

ASPSMS is a product of VADIAN.NET AG (founded in 1995), a Swiss based Internet and Mobile Solutions pioneer. Thus, all data collected from you are automatically subject ofthe strict privacy policies of Switzerland. ASPSMS is Swiss technology that is fully developed in Switzerland. The support team also works in Switzerland. VADIAN.NET AG is today one of the leading global providers of SMS solutions with more than 200000 satisfied business clients. The product ASPSMS was launched in 2001.