Free TrialM:Science Free Trial

Select product to try:Select which product you would like to try:

  • Free SMS Account
  • No Contract Required
  • 25 Free Messages
  • Trial Inbound Number

If you have a query, suggestion or want more information on any of our products and services, we’d love to hear from you.

Contact Us

Telephone:

0370 334 4200

Support Email:

Follow us

Twitter

Google+

LinkedIn

Visit Us

Address:

M:Science
2 Nuffield Road
Nuffield Ind. Estate
Poole
Dorset
BH17 0RB

Close

SMS Developer Tools FAQ

Find answers to common questions about SMS for Developers. If you cannot find an answer to your query do not hesitate to contact one of our friendly advisors.

What languages can I use with it?

SMS for Developers can be used with any language which understands how to communicate with Microsoft Active-X DLLs. This includes the following:

  • ASP
  • C#
  • C++
  • HTML
  • Java
  • Perl
  • PHP
  • Python
  • Visual Basic .NET
  • VB6

Can I integrate it with my website?

Yes, as long as your website runs using Microsoft IIS 5+ as ASP (Active Server Pages) will be available to you. If you are using a Unix derived platform with a Web server such as Apache, you are recommended to consider using the M:Science SMS Web Service which will happily communicate with non-Microsoft products.

Is there sample code?

There are numerous Zip files containing sample code in most popular languages. These can be downloaded from here.

Will it work over a network?

SMS for Developers is designed to operate via a standard Microsoft Domain based network. The API allows the programmer to specify the name of the machine hosting the SMS Server to connect to. It should be noted that the DCOM configuration on the server machine needs to be set to allow the calling server permission to connect.

Can I receive messages?

In order to receive messages when using SMS Server, you must firstly implement what is known as an inbound plug-in. Different inbound plug-ins can be allocated to handle each inbound number or delivery receipt. A template for an inbound plug-in can be found in the program directory where SMS Server is installed.

When using the SMS Web Service, there are two mechanisms that can be used in order to facilitate the delivery of inbound messages. The first option is to route incoming messages via HTTP PUSH to one or more registered PUSH URL’s. The other option is use HTTP GET. This mechanism will enable you to check for messages by calling GetNextInboundMessages on the SMS Web Service. Please refer to the Web Service developer guide for further details.

How do I write my own inbound number handlers?

The simplest way is to modify the template code which is supplied in the installation directory of SMS Server. To compile these, Microsoft VB6 or VB.NET will be required.

I keep losing the connection....

The API contains a KeepAlive function. This can be called periodically from a timer to ensure that the link is not dropped due to inactivity.

Further FAQs