...
Code Block |
---|
Set client = Server.CreateObject("MSSOAP.SoapClient") client.ClientProperty("ServerHTTPRequest") = True client.MSSoapInit("http://test.smartmessagingservices.net:8080/gateway/services/SMSService?wsdl") Dim username Dim password Dim recipients(1) Dim message Dim documentId username = "username" password = "password" recipients(0) = "0410111111" recipients(1) = "0410222222" message = "Hello World" documentId = client.send(username, password, recipients, message) |
JAVA
Sending an advanced SMS document
This is an example using JAVA to send a more advanced message to the SMS gateway using the Web Service's sendDocument method.
...
Code Block |
---|
http://www.example.com/replyto.php?smsid=MYUNIQUEID&text=This is the reply&from=61412345678 |