Saturday, February 04, 2012



































Microsoft Outlook 2010






asptoken Logo



ActiveX-Component aspsms.dll
SOAP Webservice
XML
XML
HTTP-Post
HTTP-Post


global two-way sms
get a new number
my mobile numbers
inbox and statistic













 


Here some XML examples for some script languages like PHP, Python, ASP, VBscript-Class, Java, C#, Jabber, ...

PHP | Python | ASP | VBscript Class | C# | Java | Jabber



 


The following example in Python has been sent to us by a client which uses this script language to connect to our XML-gateway.

#!/usr/bin/python2
print 'Content-Type: text/html'
print # Blank line marking end of HTTP headers

import socket

HOST = 'xml1.aspsms.com' # The remote host
PORT = 5061 # The same port as used by the server
userkey = #please fill in your USERKEY
password = #please enter your PASSWORD
originator = #please fill in the ORIGINATOR
recipient = #please insert the RECIPIENT here
text = #Your SMS Text

CONTENT="""<?xml version="1.0" encoding="ISO-8859-1"?>
  <aspsms>
   <Userkey>"""+str(userkey)+"""</Userkey>
    <Password>"""+str(password)+"""</Password>
    <Originator>"""+ str(originator) +"""</Originator>
    <Recipient>
    <PhoneNumber>"""+ str(recipient) +"""</PhoneNumber>
    </Recipient>
    <MessageData>"""+ str(text) +"""</MessageData>
    <Action>SendTextSMS</Action>
    </aspsms>"""

length=len(CONTENT)
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
s.connect((HOST, PORT))
s.send("POST /xmlsvr.asp HTTP/1.0\r\n")
s.send("Content-Type: text/xml\r\n")
s.send("Content-Length: "+str(length)+"\r\n\r\n")
s.send(CONTENT)
datarecv=s.recv(1024)
print "Reply Received: "+ str(datarecv)
s.close()



 

More XML examples:

PHP | Python | ASP | VBscript Class | C# | Java | Jabber


Available SMS tools and interfaces for ASPSMS

SMS tools for End Users
NamePricing
NEW: Microsoft Office Outlook 2010 Mobile Servicefree
Microsoft Office Outlook 2007 Mobile Servicefree
SMS Blaster Web Editionfree
SMS Blaster Windows Editionfree
SMS touch for iPhone and iPod touchShareware
ECO-SMS - Ökologische SMS!Shareware
@SMS Outlook PluginShareware
Cybersystems mscrmSMSsee price list for details
swissjabber for End Usersfree (open source)
Jabber-Client Chatopus for Palm OSsmall one-time payment
delight Software GmbHsee price list for details
ASPSMS Widget for Macfree
SKyPRO eSMS: SMS Gateway for mail serversmall one-time payment
SMS scripts and interfaces for developers
NamePricing
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
NEW: ASPTOKENfree
Premium SMS GatewayDetails