SMS via SMTP / Mail-To-SMS

Email address

Please send your queries to apismtp@octopush-dm.com

Encoding: UTF8

Email subject

The object contains your credentials, as well as the parameters of the send and also the number(s) of the recipients, similar to a query string in a get url. The data must therefore be url_encoded, and the parameters separated by &.

Exemple

user_login=login%40login.com&api_key=my_api_key&sms_type=FR&sms_sender=TestSender&request_id=zRET65Y6UTJ78Jghjuj87&sms_recipients=0033601020304

Email body

The body of the email contains only the plain text. To avoid possible errors such as signatures or footers, we advise you to end your text with the string : _____, and to start it with -----. This will be deleted.

Example

bla bla bla. text text text. STOP au XXXXX

Or, for safety:

-----bla bla bla. text text text. STOP au XXXXX_____

Special parameters

NameTypeDescription
request_idstringAllows you to add a security to the sending. If this field is not null, then the system will check if there is already one of your sendings with the same request_id. If this is the case, the request is ignored.