You are here: > SMS Component > Objects > Snpp
ActiveXperts SMS Component


SMS Component - Snpp object


Simple Network Paging Protocol (SNPP) is a standard for sending one- and two-way wireless messages to pagers. In its simplest form, SNPP provides a simple way to make a link between the Internet and a Telocator Alphanumeric input Protocol (TAP) paging terminal.

The SNPP object features the following:

  • Send Pager messages through the SNPP protocol
  • No additional hardware needed, just an internet connection

The Dialup object is part of the ActiveXperts SMS Component. Overview of all SMS Component objects:

  • Gsm - Send and receive SMS messages using a GSM modem or a modem-capable GSM phone.
  • Smpp - Send and receive SMS messages via an SMPP provider.
  • SmppServer - Accept incoming SMPP connections.
  • Http - Send SMS messages through an HTTP based SMSC provider interface over the internet.
  • Dialup - Send SMS messages using a Hayes compatible modem through TAP/XIO or UCP.
  • Snpp - Send pager messages via an SNPP provider through the internet/VPN.

Sample code

VBScript sample: Send a Pager message via SNPP

Option Explicit

' Declare objects
Dim objSnpp, objMessage

' Create objects
Set objSnpp                   = CreateObject ( "AxSms.Snpp" )
Set objMessage                = CreateObject ( "AxSms.Message" )

' Set Server
objSnpp.Server                = ""
objSnpp.ServerPort            = 444
objSnpp.ServerTimeout         = 2500

objMessage.Recipient          = "12345678"
objMessage.Data               = "Hello World!"

' Send the message
WScript.Echo "Sending the message..."
objSnpp.Send ( objMessage )
WScript.Echo "Send, result: " & objSnpp.LastError
If ( objSnpp.LastError = 0 ) Then
  WScript.Echo "Last response: " & objSnpp.ProviderResponse
End If

WScript.Echo "Ready."
Wscript.Sleep 3000

More samples

Samples are available for: C# .NET, Visual Basic .NET, Visual C/C++, VBA, ASP, ASP .NET, Java, Javascript, PHP, HTML, ColdFusion, Delphi and more.

On, you can find many SMS Component samples. Samples are also part of the SMS Component installation.