Daniele.Gri

Member
Apr 9, 2010
13
0
51
I am planning to (if I can find a way to) have a php application integrate with cpanel, what I need to do is simple CRUD of mail forwarders and an autologin for the webmail, which of the bazillion API I found on the documentation do I have to investigate?
 

KostonConsulting

Well-Known Member
Verifed Vendor
Jun 17, 2010
255
1
68
San Francisco, CA
cPanel Access Level
Root Administrator
I am planning to (if I can find a way to) have a php application integrate with cpanel, what I need to do is simple CRUD of mail forwarders and an autologin for the webmail, which of the bazillion API I found on the documentation do I have to investigate?
Forwarders:

Email Module Documentation
Email Module Documentation
Email Module Documentation


Externally, you'll need to access API1/API2 via the XML or JSON API. Here's the PHP class:

https://github.com/CpanelInc/xmlapi-php

I'd recommend using a search to see examples:

https://www.google.com/search?q=site:cpanel.net+api+forwarder


If you want to integrate a remote login to webmail:

SecureRemoteLogins < AllDocumentation < TWiki