Description
This function unsuspends incoming email for an email account.
Examples
cPanel or Webmail Session URL
https://hostname.example.com:2083/cpsess##########/execute/Email/unsuspend_incoming?email=user%40example.com
LiveAPI PHP Class
$cpanel
=
new
CPANEL();
$unsuspend_incoming
=
$cpanel
->uapi(
'Email'
,
'unsuspend_incoming'
,
array
(
'email'
=>
'user%40example.com'
,
)
);
LiveAPI Perl Module
my
$cpliveapi
= Cpanel::LiveAPI->new();
my
$unsuspend_incoming
=
$cpliveapi
->uapi(
'Email'
,
'unsuspend_incoming'
,
{
'email'
=>
'user%40example.com'
,
}
);
cPanel Template Toolkit
[% execute('Email', 'unsuspend_incoming', { 'email' => 'user%40example.com' } ) %]
|
Command Line
uapi --user=username Email unsuspend_incoming email=user%40example.com
|
Output (JSON)
{
"messages":null,
"errors":null,
"status":1,
"metadata":{
},
}
Parameters
Parameter
|
Type
|
Description
|
Possible values
|
Example
|
email
|
string
|
The email user's account name.
|
A valid email account username.
|
user@example.com
|
Returns
This function only returns metadata.