smsCampaignUnschedule()

SMS campaign delivery time is unscheduled. SMS campaign is saved as a draft and is not delivered.

smsCampaignUnschedule(string $cid) : boolean
Input parameters
  • cid - SMS campaign ID
Information obtained
  • true, if unscheduling has succeeded. Otherwise, an error message is returned.

Examples

mgapi_smsCampaignUnschedule.php
smsCampaignUnschedule($cid);
 
header("Content-Type: text/plain");
if ($api->errorCode) {
    echo "Unable to load smsCampaignUnschedule()!\n";
    echo "\tCode=" . $api->errorCode . "\n";
    echo "\tMsg=" . $api->errorMessage . "\n";
} else {
    echo "SMS Campaign Unscheduled!\n";
}

© 2010-2017 Mailigen. All rights reserved.