API

Send MMS Message from PHP Script

Note: For additional APIs for sending and receiving SMS and MMS messages, please see our Developer APIs for SMS + MMS page. Back in 2003, we posted an example PHP script for sending MMS via NowSMS on our discussion board at https://nowsms.com/discus/messages/1/1113.html. While this script has worked well over the years, it has a serious limitation in that it does not support SSL/TLS. Version 2...

Read More

Send SMS from PHP Script

Note: For additional APIs for sending and receiving SMS and MMS messages, please see our Developer APIs for SMS + MMS page. Back in 2003, we posted an example PHP script for sending SMS via NowSMS on our discussion board at https://nowsms.com/discus/messages/1/867.html. While this script has worked well over the years, it has a serious limitation in that it does not support SSL/TLS. Version 2 of...

Read More

Understanding SMS Accounting Callbacks for Billing and Charging

Accounting callbacks provide an interface between the NowSMS SMS Gateway and external billing and charging systems.  They can also be used to control message routing, providing a way for a  user application to control which SMSC connections are used for sending particular messages. These accounting callbacks are HTTP-based. When accounting callbacks are enabled, NowSMS will issue HTTP requests...

Read More

Send MMS from C# .NET

A .NET C# example for sending MMS messages via NowSMS has been posted at the following link: https://nowsms.com/download/sendmms.c#.txt For a VB.NET version of this example, please see the related article Send MMS from VB.NET. MMS examples for other environments (PHP, Java, command line) can be found at https://nowsms.com/sending-mms-messages-with-nowsms. As discussed in Sending MMS Messages...

Read More

Send MMS from VB.NET

A VB.NET example for sending MMS messages via NowSMS has been posted at the following link: https://nowsms.com/download/sendmms.vb.txt For a C# .NET version of this example, please see the related article Send MMS from C# .NET. MMS examples for other environments (PHP, Java, command line) can be found at https://nowsms.com/sending-mms-messages-with-nowsms. As discussed in Sending MMS Messages...

Read More

NowSMS/MMS API Information

APIs

The primary API for sending and receiving SMS and MMS messages with NowSMS is HTTP-based. Because the API is HTTP based, applications that wish to send or receive messages via NowSMS do not have to run on the same physical server, they can interface with NowSMS over a network. This page contains links to additional information that describes the raw HTTP interface, as well as links to example...

Read More

Sending Multimedia Content Push Messages with NowSMS

One of the ways that NowSMS can be used for multimedia content delivery is a service that we refer to as Multimedia Content Push (also referred to as Multimedia WAP Push). When you send a Multimedia WAP Push message with NowSMS, you post all of the message content (e.g., images, video, text, applet) to the NowSMS server. NowSMS packages the content and dynamically generates a URL on the NowSMS...

Read More

Sending MMS Messages with NowSMS

Once you have succesfully configured NowSMS so that it is possible to send MMS messages via the web interface, you may want to explore APIs for sending MMS messages programmatically. The NowSMS APIs for sending MMS messages are based upon either the HTTP or SMTP protocols. However, before we go into details about these protocols, there may be an easy way to interface with NowSMS without learning...

Read More

Send MMS from Java (or JSP)

A Java example for sending MMS messages via NowSMS has been posted at the following link: https://nowsms.com/download/sendmms.java.txt This class supports all of the MMS related parameters available in NowSMS, most of which are described later in this posting. For a related PHP script, please see: https://nowsms.com/nowsms-php-example-send-mms-message To use this Java class, begin by creating a...

Read More

Send SMS from Java (or JSP)

The following example Java class, sendsms, can be used to send an SMS text message via NowSMS from Java. This script can also be downloaded from https://nowsms.com/download/sendsms.java.txt. To send MMS messages from Java, please see: https://nowsms.com/doc/submitting-mms-messages/send-mms-message-with-java The sendsms class defined in this example can be used to send simple SMS text messages,...

Read More

Provisioning SMS and MMSC User Accounts via HTTP

For NowSMS v5.51 and later, an HTTP-based interface has been added to allow for account provisioning by external applications. This interface is enabled when the web-based administration interface is enabled by checking “Enable Web Account Administration” on the “Web” page of the NowSMS configuration dialog. This interface is accessed via the NowSMS web interface port,...

Read More