Dynamic parameters in SMTP messages

Ozeki NG SMS Gateway can operate with SMTP messages containing dynamically set SMPP parameters in the SMTP messages' header. This guide explains how you can use dynamically set SMPP parameters by sending SMTP messages - note that this feature is only available in Ozeki NG SMS Gateway 4.2.5 or above.

You can read about dynamic SMPP parameter settings here: Dynamic SMPP parameters

You can read about the email to SMS feature here: Email to SMS feature

How to send an SMTP message containing SMPP parameters

SMTP messages' header fields (field-value pairs) carry information about the SMTP message. By adding source_addr_ton, dest_addr_ton, source_addr_npi, dest_addr_npi, esm_class and data_coding fields to SMTP messages, you can dynamically set SMPP parameter values. Have a look at Figure 1 below.

sending an smtp message
Figure 1 - Sending an SMTP message

After logging in Ozeki NG SMS Gateway's SMTP server via telnet, I sent a message to +36206543212. I added source_addr_ton, source_addr_npi, dest_addr_ton, dest_addr_npi, esm_class and data_coding fields with various values.

By sending the message, these dynamic parameters will be passed to Ozeki NG SMS Gateway, and it will use them for the SMPP message's appropriate parameters. Note that you have to use decimal values.

If you do not set a parameter dynamically Ozeki NG SMS Gateway will use the appropriate SMPP service connection's configured parameters (Figure 2).

smpp parameter settings
Figure 2 - SMPP parameter settings

If you have left these fields blank, default values will be used.

For more information please contact us at info@ozekisms.com.

More information