Description

This function deletes an autoresponder.

Examples




https://hostname.example.com:2083/cpsess##########/execute/Email/delete_auto_responder?email=user%40example.com



$cpanel = new CPANEL(); // Connect to cPanel - only do this once.
 
// Delete an autoresponder for user@example.com
$delete_auto_responder = $cpanel->uapi(
    'Email', 'delete_auto_responder',
    array(
        'email'         => 'user@example.com',
         )
);



my $cpliveapi = Cpanel::LiveAPI->new(); # Connect to cPanel - only do this once.
 
# Delete an autoresponder for user@example.com
my $delete_auto_responder = $cpliveapi->uapi(
    'Email', 'delete_auto_responder',
    {
        'email'         => 'user@example.com',
    }
);

 



<!-- Delete an autoresponder for user@example.com -->
[% data = execute( 'Email', 'delete_auto_responder', { 'email' => 'user@example.com' } ); %]

 



uapi --user=username Email delete_auto_responder email=user%40example.com



{
  "messages": null,
  "errors": null,
  "status": 1,
  "metadata": {
     
  },
  "data": null
}



Parameters

ParameterTypeDescriptionPossible valuesExample
emailstring

Required

The email account.

A valid email address on the cPanel account.

user@example.com

Returns

This function does not return output.