Hide link "Manage Suspension" in Email Accounts

gosvic

Registered
Sep 19, 2007
2
0
51
Hello

How can I hide link "Manage Suspension" in cpanel in the area Email Accounts? I would like to hide this option because when I suspend a email account my clients activate It again.

And after, How can I suspended and activate a email account with command SSH?

Thank you
 

Attachments

cPanelLauren

Product Owner
Staff member
Nov 14, 2017
13,296
1,252
313
Houston
Hello @gosvic

The cPanel Admin user is able to manage email account suspensions as the cPanel admin user is the only one that should be able to access the cPanel account.

As a WHM user you can use the whmapi1 to hold and/or suspend outgoing mail for an account, using the following API functions:

WHM API 1 Functions - hold_outgoing_email - Developer Documentation - cPanel Documentation

WHM API 1 Functions - release_outgoing_email - Developer Documentation - cPanel Documentation

WHM API 1 Functions - suspend_outgoing_email - Developer Documentation - cPanel Documentation

WHM API 1 Functions - unsuspend_outgoing_email - Developer Documentation - cPanel Documentation