Dienstag, 19. März 2024
Innovative SMS Gateway & Messaging solutions

Beispiele

Hier einige ASP VB-Script Beispiele, welche für den IIS (Internet Information Server) von Microsoft oder jede andere Application die ActiveX/COM-Objekte unterstützt, gedacht sind. Sie können den Code nach belieben ändern, sofern Sie die Definitionen in der Dokumentation einhalten.

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

SMS mit Auswertung möglicher Fehler

If you want to be sure, that the SMS has been sent succesfully to the ASPSMS gateway, just add some lines of additional code. Here is the complete list of possible error codes.

<html>
<body>

<%

  '------------------------------------------------------------
  ' aspsms.com(ponent) (c) 2001 by VADIAN.NET AG
  '------------------------------------------------------------
  ' simple sms example with error validation
  '------------------------------------------------

  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.AddRecipient "0044734255533"
  SMS.SendTextSMS
  SMS.DeleteAllRecipients

  if SMS.ErrorCode<>1 then
   response.write("An error occured:<br>")
   response.write("SMS.Errorcode = " & SMS.ErrorCode & "<br>")
   response.write("SMS.ErrorDescription = " & SMS.ErrorDescription)
  else
   response.write("SMS sent to gateway.")
  end if

  Set SMS = Nothing

%>

</body>
</html>
Weitere ASP VB-Script Beispiele:

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

Neuanmeldung

Hier geht's zur ASPSMS Neuanmeldung.

Haben Sie sich bereits registriert? Melden Sie sich mit Benutzer E-Mail Adresse und Login-Passwort an.


Login-Passwort vergessen?

SMS Tools und Interfaces für ASPSMS