listDelete()

List is deleted from the database..

If the list is deleted, the information cannot be restored (!).
listDelete(string $id) : boolean
Input parametrs
  • id - list ID
Information obtained
  • true if request for deleting list has succeeded.

Examples

mgapi_listDelete.php
listDelete($id, $tag);
 
header("Content-Type: text/plain");
if ($api->errorCode) {
    echo "Unable to load listDelete()!\n";
    echo "\tCode=" . $api->errorCode . "\n";
    echo "\tMsg=" . $api->errorMessage . "\n";
} else {
    echo "List Deleted!\n";
}

© 2010-2017 Mailigen. All rights reserved.