Created
October 31, 2014 12:39
-
-
Save cypres/02ccdec9132b34f2b653 to your computer and use it in GitHub Desktop.
nimta.com gateway hello world
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
(new SoapClient('https://soap.nimta.com?wsdl'))->sendSMSes(array( | |
'username' => 'USERNAME', | |
'password' => 'PASSWORD', | |
'gatewayClass' => 'A', | |
'messages' => array( | |
array( | |
'message' => 'Hello World!', | |
'charge' => 0, | |
'delayed' => false, | |
'sendTime' => time(), | |
'recipients' => array( | |
array('countryCode' => 45, 'number' => '12345678', 'operatorCode' => 4) | |
) | |
) | |
) | |
)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment