TM Infoblast is a service provided by Telekom Malaysia (TM) enabling users to send and receive SMS over normal fixed line service. Yes, the normal 03-xxxxxxxx (Klang Valley) or 09-xxxxxxx (Eastern). Some might wonder why would anyone wish to use TM Infoblast while there are a lot of other providers offering the same solution, for example sending from 5-digits number such as 60300 etc?
Okay some benefits that I can think of right now are such as:-
Now let’s move to TM Infoblast API. This article is assuming that you want to send SMS using your existing Infoblast account via PHP. Some of potential use such as:
I am not the author of this TM Infoblast OpenAPI, but credits goes to Muhammad Hamizi Jaminan. This piece of code was written nicely and easy to use. Just download the single file openapi.php, include the file in your code, create a class variable and call some functions.
Example to send SMS:-
// include openapi library
require_once 'openapi.php';
// openapi auth configuration
$config['username'] = 'infoblast_api_username';
$config['password'] = 'infoblast_api_password';
// call openapi class
$openapi = new openapi();
$openapi->initialize($config);
// prepair data
$data['msgtype'] = 'text';
$data['to'] = '0123456789'; //separate by comma for multiple reciepient
$data['message'] = 'this message test from infoblast openapi library';
// send sms to open api
$response = $openapi->send_sms($data);
// print response
print_r($response);
Who might be interested in using Infloblast OpenApi? It suite well for organisations or individuals who would like to touch the customer base in mass using your own unique number as the ID. It is important to use your own ID due to the facts that customers trust your ID, customer can call you right away for further information, or customers can just reply letting you know what they think. So people in the following scenarios might find TM Infoblast is quite beneficial:-
Can these organisations just send SMS via 5-digits ID service? Sure they can, but there is no feel, no replies and no identities and your messages might only be ignored.
Do you need help setting up a workable SMS sending script using TM Infoblast? Let’s have a chat.
Hi thanks for dropping by. Please share the content if you think there is someone who will appreciate it.
Pingback: Unlimited SMS blast engine in Malaysia – basri.my
Pingback: Receive SMS notification everytime a file is created in Dropbox folder – basri.my