Description

This function resets a BoxTrapper form letter to its default contents.


Examples 




$cpanel = new CPANEL(); // Connect to cPanel - only do this once.
$reset_boxtrapper_file = $cpanel->api1('BoxTrapper', 'resetmsg', array('user@example.com', 'blacklist.txt') ); // Call the function.



my $cpliveapi = Cpanel::LiveAPI->new(); # Connect to cPanel - only do this once.
my $reset_boxtrapper_file = $cpliveapi->api1('BoxTrapper', 'resetmsg', ['user@example.com', 'blacklist.txt'] ); # Call the function.

 


<cpanel Module="BoxTrapper::resetmsg( $FORM('account','message') )">




cpapi1 --user=username BoxTrapper resetmsg user@example.com blacklist.txt


This function does not return output.



Parameters

ParameterTypeDescriptionPossible valuesExample
accountstring

Required

The account's email address.

A valid email address on the server.user@example.com
messagestring

Required

The file to reset.

  • blacklist.txt
  • returnverify.txt
  • verifyreleased.txt
  • verify.txt
blacklist.txt

Returns

This function does not return output.