The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Which api to use

Discussion in 'cPanel Developers' started by Daniele.Gri, Apr 23, 2013.

  1. Daniele.Gri

    Daniele.Gri Member

    Joined:
    Apr 9, 2010
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    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?
     
  2. KostonConsulting

    KostonConsulting Well-Known Member

    Joined:
    Jun 17, 2010
    Messages:
    255
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    San Francisco, CA
    cPanel Access Level:
    Root Administrator
    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
     
Loading...

Share This Page