search
Search keywords
Category
Featured Applications
MailWorks Professional let's you create and manage your own e-mail marketing campaigns.
We offer FREE voting polls for your web site.
The new auction site that has all the features of a successfull market place.
Banner Advertisement to give you a channel to present your products to a targeted Web Development audience.
Give your Application the exposure it deserves! Your application will be displayed on each and every page header.
Your application holds one of the top positions and seen first when browsing through your Application's category.
Full application details

Full application details

SMS over SMPP
Utilities > Network
Modified: 30/11/2005
Application ID: #5809
Author:
License:
Commercial license(s) available (license information)
Platforms:
Programming language:
Visual Basic
Source Code Available:
No
Option Explicit

Dim objSmpp
Dim objConstants

Dim i

Set objSmpp = CreateObject ( "ActiveXperts.Smpp" )
Set objConstants = CreateObject ( "ActiveXperts.SmsConstants" )

Wscript.Echo "ActiveXperts SMS and Pager Toolkit " & objSmpp.Version & " demo."
Wscript.Echo "Expiration date: " & objSmpp.ExpirationDate & vbCrLf

' Set server properties

objSmpp.Server = "smpp.activexperts-labs.com"
objSmpp.ServerPort = 2775
objSmpp.SystemID = "AX005"
objSmpp.SystemPassword = "812056"
objSmpp.SystemType = "SMPP"
objSmpp.ServerTimeout = 3000
objSmpp.SystemMode = objConstants.asSMPPMODE_TRANSMITTER

' Set Logfile

objSmpp.LogFile = "c:\SmppLog_vbs.txt"

' Connect SMPP provider

objSmpp.Connect

If objSmpp.IsConnected = True Then

WScript.Echo "Connected to provider"

Do
objSmpp.MessageRecipient = inputbox( "Enter the recipients phone number." & vbCrLf & "( Use international number format. )", "Enter Recipient Number", "+31647134225")
Loop until objSmpp.MessageRecipient <> "" ' Set recipient
objSmpp.MessageData = "ActiveXperts Test Message" ' Set message text
objSmpp.MessageType = objConstants.asMESSAGETYPE_TEXT
objSmpp.ValidityPeriod = 60 ' Set Validity period ( in minutes )

WScript.Echo "Sending the message..."

objSmpp.Send ' Send the message

End If

' Show the result

If( objSmpp.LastError <> 0 ) Then
WScript.Echo "Failed to send message, error: " & objSmpp.LastError & " (" & objSmpp.GetErrorDescription( objSmpp.LastError ) & ")"
WScript.Echo "To view the trace file, open " & objSmpp.LogFile & "."
Else
WScript.Echo "Message successfully submitted" & vbCrLf & vbCrLf & "Message ID : " & objSmpp.MessageReference
End If

objSmpp.Disconnect ' Disconnect

WScript.Echo "Disconnected."
License Information Direct link:
Rate this application now
hits: 52
downloads: 489
reviews: 0
rating: 0.0 / 5 (0 votes)
Statistics
Today
  • New listings
    0
  • Downloads
    0
This week
  • New listings
    0
  • Downloads
    0
This month
  • New listings
    0
  • Downloads
    0
Total
  • Members
    63
  • Listings
    657
  • Downloads
    63461
  • Categories
    137
  • Reviews
    2721