Software Development Kit

cPanel & WHM's API [+] cPanel & WHM's API [-]


Modules and Plugins [+] Modules and Plugins [-]


cPanel & WHM Hooks [+] cPanel & WHM Hooks [-]


cPAddons (Site Software) [+] cPAddons (Site Software) [-]


System Administration [+] System Administration [-]


Developer Software [+] Developer Software [-]


Back to All Documentation



integrationblogcta.jpg

Contactus Module Documentation

This module provides access to cPanel's Contact Host feature. The Contact Host feature allows a user to contact his or her hosting provider.

The functions within this module may or may not be governed by a feature list. The required feature list may vary from function to function, to review a total list of the available features sets on a cPanel server, please see "Feature Manager" in WHM.

Contactus::sendcontact

API Version: 2 - Click here for documentation
Description: Directly request support from your host.
Parameters:  
  email (string)
  The email address you wish to use as your contact address.
  issue (string)
  A brief explanation of the problem you are experiencing.
  subject (string)
  The subject line of the support email your are sending.
Returns:  
 
<data>
  <status> A boolean value that indicates whether or not your support request was successfully submitted. '1' if your support request was successfully submitted; '0' if it was not.</status>
</data>

Contactus::isenabled

API Version: 2 - Click here for documentation
Description: Retrieve a boolean value that indicates whether the account's contact option is enabled.
Returns:  
 
<data>
  <enabled> A boolean value that indicates whether or not the contact option is enabled. '1' if the option is enabled.</enabled>
</data>

Topic revision: r2 - 22 Mar 2012 - 20:59:13 - Main.JenniferDoubrava