smsSenderIdRegister()

Send request for registering SMS sender information. Upon receipt of an SMS, customers will see the sender's name. New Sender ID is registered within 1 business day.

smsSenderIdRegister(string $sender, string $phone, string $company, string $fullname, string $companyposition, string $comments) : boolean
Input parameters
  • sender - desired SMS Sender ID or name
  • phone - alternate mobile phone number
  • company - company name
  • fullname - contact person full name
  • companyposition - company position
  • comments - additional comments
Information obtained
  • true, if the request has been accepted. Otherwise, an error message is returned.

Examples

mgapi_smsSenderIdRegister.php
smsSenderIdRegister($sender, $phone, $company, $fullname, $companyposition, $comments);
 
header("Content-Type: text/plain");
if ($api->errorCode){
    echo "Unable to load smsSenderIdRegister()!\n";
    echo "\tCode=".$api->errorCode."\n";
    echo "\tMsg=".$api->errorMessage."\n";
} else {
    echo "The request has been received!\n";
}

© 2010-2017 Mailigen. All rights reserved.