CardBoardFish
You are here: CardBoardFish > HTTPSMSService > WhatAreTheHTTPSMSObjectFunctions

What are the HTTP SMS object functions?

Here is a list of all functions for each HTTP SMS object/library. For more information, consult the documentation that comes with the particular language API you wish to use.

  • ClientPolled
    • Initialise(username, password, clientType) - this function will prepare the ClientPolled object.
    • Poll() - this function will poll the server to retrieve incoming SMS/delivery receipts
  • SendSMS
    • Initialise(username, password) - this function will prepare the SendSMS object
    • SendSMS() - this function will send a message using the parameters set

Please note that the PHP API SendSMS library has several SendSMS options:

  • send_sms(destinations, source, message)- send a basic SMS message
  • send_sms_full(destinations, source, message, sourceTON, data coding, delivery receipt, UDH, reference, validity period, delay until, localTime)- send a (possibly) fully specified SMS message.
  • send_sms_object(SMS object)- Send an SMS message represented by an instance of the SMS class.

PHP Example 1
$replies=send_sms("44123456789","SMS_Service", "This is a message from me.");
PHP Example 2
$replies=send_sms("44123456789","SMS_Service", "This is another message from 
me.", "5", "", "1", "021436587", "", "1234567895", "1234567890");
PHP Example 3
$replies=send_sms_object($sms1);