Login ID:
Password:
Forgot your password?

It is outside of our office hours.

Please email us at support@tnz.co.nz if you need support from us.

Our support team will respond you as soon as possible.
Alternatively, we can be
contacted via online instant
messaging.
Home > Services > TSMS > TSMSOut > Ways to Send
>>  TSMSOut Service - Ways to Send
TSMSOut Service Ways to Send


We offer a few mail methods to deliver your messages:

Should you wish to submit your messages through another medium, please be in touch with a Sales Representative after you have Signed Up.


Single Messaging | Broadcast Messaging






Single Message Service

Email to SMS / TXT

As easy as sending an email!
Create your message just like an email and send to:
     THECELLPHONENUMBER@sms.tnz.co.nz

Simple! A few moments later you will receive an email confirming the message was sent.



Web to SMS / TXT Simply Login to our website and create an SMS from the Launcher. You can even select whether you want replies to your email or mobile phone!



HTTP API
Using you web server or browser, you can send messages using HTTP Posting.
  The required fields are: sender, token, number and message.

      An example of HTTP Posting:
           http://www.tnz.co.nz/***/SMSAPI.***?sender=xxx&token=xxx&number=xxx&message=xxx
      To specify the originator of the TXT for identification and replies:
           http://www.tnz.co.nz/***/SMSAPI.***?sender=xxx&token=xxx&number=xxx&message=xxx&smsreply=xxx
      To receive replies back to a specified email address:
           http://www.tnz.co.nz/***/SMSAPI.***?sender=xxx&token=xxx&number=xxx&message=xxx&smsemailreply=xxx

       >> Use comma separated values for number field if you wish to send more then 1 destination

To use HTTP Posting with encryption, simply use https://www.tnz.co.nz






Broadcast Message Service

Email to SMS / TXT

Create your message just like an email and send to:
    broadcast@sms.tnz.co.nz
  • For a simple Broadcast Message:
    • Attach a Comma Separate File (*.CSV) of mobile numbers to sent to. The first line of the CSV should have the word mobile. The second line is where the list of numbers begins. See an example here.

  • For a personalised Broadcast Message:
    • Attach a Comma Separate file (*.CSV) with the desired variables. The first line begins with mobile followed by the variable titles. The second line is where the list of numbers and details begins! See an example here.


Web to SMS / TXT

Using the launcher in your TNZ Online Account, follow the same guidelines for creating a simple or personalised Comma Separated file (*.CSV)



HTTP API to Multiple Targets

Using your web server or browser you can send SMS/TXT messages using HTTP posting to multiple
destinations with customised fields.
The required fields are: sender, token, count, number-x & message

Address will be announced on your request, example of post variables and values will be:
[Variables=Values]
'token' = '12345'
'sender' = 'sales@tnz.co.nz'
'smsheader' = '0219999999'
'messageid' =
'smsemailreply' =
'count' = '10'
'number-1' = '021123001,Mr Test,2:15pm,Wednesday'
'number-2' = '021123002,,4:15pm,Wednesday'
'number-3' = '021123003,,5:15pm Wednesday'
'number-4' = '021123004,,6:15pm Wednesday'
'number-5' = '021123005'
'number-6' = '021123006'
'number-7' = '021123007'
'number-8' = '021123008'
'number-9' = '021123009'
'number-10' = '021123010'
'message' = ' Your appointment is scheduled for <subst:custom2> <subst:custom3>'




SOAP API

TNZ Group is now supporting SOAP interface to send SMS/TXT messages over the Internet.
The required fields are: sender, token, number & message

An example of this is as follows (PHP):
$request = array(
  'sender' => '[EmailAddress]',
  'token' => '[Your Token]',
  'number' => '[Destination Mobile Number]',
  'message' => '[SMS Message]',
  'smsemailreply' => '', //optional
  'smsreply' => '', //optional
  'messageid' => '', //optional
);

$client = new SoapClient('http://www.tnz.co.nz/xxx/xxx.wsdl');
$result = $client->__soapCall('send_sms', array($request));
printf("Result = %s\n", $result->smsReturn);