Sometimes, as a WHM Reseller you might feel the need to suspend outgoing emails of a cPanel account especially for those users who are found doing bulk mailing for email marketing purposes. But sometimes it is very hard for WHM Reseller to directly suspend outgoing emails of a cPanel account because of limited features. However here we will be providing you the simplest way to suspend the outgoing emails of that a cPanel account by using JSON API as a WHM Reseller.
Here, in this tutorial, we will discuss about the steps to suspend outgoing emails of a cPanel account as WHM Reseller. We have also shared the tutorial to suspend and unsuspend email accounts from cPanel and video tutorial to manage account suspension via SSH.

The suspension or unsuspension of outgoing emails of cPanel account can be done via JSON-API as:
https://hostname.example.com:2087/cpsess##########/json-api/suspend_outgoing_email?api.version=1&user=example
Here, we will learn it practically.
- Login to your WHM Reseller account in which the cPanel account is hosted for which you want to suspend or unsuspend the outgoing emails.
#1. Suspend Outgoing Emails of a cPanel Account
You can use any one of the following ways to do so.
If you know the username of the cPanel account
- In the WHM Reseller interface, simply add the given string in the address bar
json-api/suspend_outgoing_email?api.version=1&user=example
just after cpsess#########/ with the cPanel username as directed below
https://www.resellerdomain.com:2087/cpsess##########/json-api/suspend_outgoing_email?api.version=1&user=username_cPanel

*Note: Replace username_cPanel with the username of cPanel account.
If you don’t know the username of cPanel account
- In WHM Reseller, go inside List Accounts section. List of all cPanel accounts will appear on the next page.
- In the address bar, replace the strings after cpsess##########/ and simply add the given one with cPanel username as directed below.

https://www.resellerdomain.com:2087/cpsess##########/json-api/suspend_outgoing_email?api.version=1&user=username_cPanel
You will get a confirmation message on the next page that states, you have successfully suspended the outgoing emails of a cPanel account.

#2. Unsuspend Outgoing Emails of a cPanel Account
You can easily unsuspend outgoing emails of a cPanel account just by replacing the suspend keyword with the unsuspend one.
The JSON API for unsuspending the outgoing emails of a cPanel account is:
json-api/unsuspend_outgoing_email?api.version=1&user=username_cPanel
where you can replace username_cPanel with username of cPanel account.
- Login to WHM Reseller Interface and add the JSON API in the address bar just after cpsess#########/ with the cPanel username. Refer to the below image.

https://www.resellerdomain.com:2087/cpsess##########/json-api/unsuspend_outgoing_email?api.version=1&user=username_cPanel
The confirmation message will appear on the next page that states, you have successfully unsuspended the outgoing emails of a cPanel account.

That’s it !
Hope the tutorial better explains the method to suspend and unsuspend outgoing emails of a cPanel account from WHM Reseller. Do share it with your colleagues if you find it working. Connect with us on social media pages to share your suggestions and queries.
Facebook Page: https://facebook.com/redserverhost Twitter Page: https://twitter.com/redserverhost.com