Description

This function returns an autoresponder message's HTML body.

Examples 


$cpanel = new CPANEL(); // Connect to cPanel - only do this once.
$get_autoresponder_html = $cpanel->api1('Email', 'getarshtml', array('user@example.com') ); // Call the function.

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

<cpanel Module="Email::getarshtml( $FORM('email') )">
cpapi1 --user=username Email getarshtml user@example.com

This is an autoresponder message.<br />
<br />

Parameters

ParameterTypeDescriptionPossible valuesExample
emailstring

Required

The email address.

A valid email address on the server.

user@example.com

Returns

This function returns the contents of the autoresponder message's HTML body.