How to use API for create Mail users

Discussion in 'General' started by Skprorok, Sep 9, 2009.

  1. Skprorok

    Skprorok New Member

    Can someone tell me step by step how to create mail users throught PHP script?

    Thank you
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    The example files for the remoting client are in the subdirectory remoting_client/examples/ of the ispconfig 3 installer tar.gz file.
     
  3. Skprorok

    Skprorok New Member

    Errors

    When i try to open index.php in /remote/ directory in browser, I get errors
    Warning: require_once(../../lib/config.inc.php) [function.require-once]: failed to open stream: No such file or directory in ....

    Fatal error: require_once() [function.require]: Failed opening required '../../lib/config.inc.php' (include_path='.:/usr/share/php:/usr/share/pear') in
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    The files are in the examples subdirectory.
     
  5. Skprorok

    Skprorok New Member

    i made some changes in remote/index.php and now it is working.

    I have another question:
    in file /remoting_client/example.php there are lines:
    //* Login credentials
    $username = 'test';
    $password = 'test';



    I need to write there login data to my ISPConfig control panel?

    Because when I replace "test" with my login data i get error: "SOAP Error: The login failed. Username or password wrong."

    in example.php
     
  6. bajodel

    bajodel New Member

    - Log into ISPConfig3 control panel
    - Go to System tab
    - Look at the bottom -> menu 'Remote Users'


    Bye..

    bajodel.
     

Share This Page