cPanel API

Component ID

339997

Component name

cPanel API

Component type

module

Component security advisory coverage

not-covered

Downloads

2414

Component created

Component changed

Component body

Provide API functions for cPanel (not WHM). This module has no UI and should normally only need be to installed if another module requires it or you are writing a module which needs these functions.

Includes admin interface for setting cPanel user and pass, SSL and port.
PLEASE NOTE: password is stored in plain text unless encrypt (http://drupal.org/project/encrypt) installed and enabled.

Currently provides functions for:
Mail - add, delete, edit pass, edit quota
FTP - add, delete, edit pass, edit quota
MailMan - add list, delete list, edit pass
(see also Mailman API for managing lists http://drupal.org/project/mailman_api)

example function:
cpanel_api_mail_add($email, $domain, $pass, $quota = 100)

To Do:

(6.x-1.1 - 6.x-1.2)
Mail forwards: add, delete
Domains: add, delete (parked and addons)
MySQL: add db, delete db, add user, delete user