Support Blog

SMPP 3.4 Protocol Specification Archive

For archive purposes, I’m posting a copy of the SMPP 3.4 Specification here. The SMS standards organization that created the specification has disbanded, and there are plans for their web site to be shut down. This doesn’t mean that SMPP is not still important for SMS. It remains the de-facto standard for application based SMS messaging. It’s just that the SMPP v3.4...

Read More

Provisioning MMS Short Codes on the NowSMS MMSC

When using the NowSMS MMSC as an operator MMSC, one frequently asked question is how to provision short codes for MMS content providers, or Value Added Service Providers (VASP). The MMS specifications from the 3GPP define MM7 as the standard protocol for Value Added Service Providers to interface with operator MMSCs. Since many MMS content providers are existing SMS content providers, it may help...

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

XML Status Query for SMSC Connection Status and Statistics

NowSMS 2008 added an XML-based status query interface that reports information similar to what is reported on the “Status” page of the NowSMS configuration dialog. The query results include information about SMSC connection status, the number of messages processed via the different connections, and the number of messages pending in the queues, among other information. The XML-based...

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

Connecting to an Operator MMSC with MM7

While NowSMS can function as an MMSC for direct MMS message delivery, this is not an option for most content providers, as most mobile operators block MMS message delivery from any MMSCs other than the mobile operator. In these situations, it is necessary to submit all MMS messages via an operator MMSC, or a service provider with operator MMSC connectivity. (For more information on how MMS works,...

Read More

Dynamic SMS Message Routing with HTTP Callbacks

If you need control over routing to particular SMSC connections, the logic that NowSMS uses for SMS message routing is described in detail in the following article: https://nowsms.com/routing-sms-messages-to-a-specifc-smsc-route For some installations, the routing control offered by NowSMS does not provide enough control. For these installations, an HTTP based callback exists which allows an...

Read More

TON and NPI Settings for SMPP and UCP/EMI

One of the most confusing issues involved in setting up an SMSC connection is when your SMS service provider requires specific TON (type of number) and NPI (numbering plan identification) values. In the majority of cases, you can ignore any requirements that your provider has for these settings, because NowSMS uses intelligent default values. For SMPP environments, these are the rules that NowSMS...

Read More

Sending WAP Push and Binary SMS from the Command Line

In past postings, we’ve provided a variety of command line script examples that make it easy to interface with NowSMS from a command line interface. The original command line interface, designed to send standard text messages can be found at the following link: https://nowsms.com/sending-sms-from-command-line A script to enable sending MMS messages from a command line interface was...

Read More