Results 1 to 7 of 7

Thread: how to use zmprov command from php ?

  1. #1
    noky_anresa is offline New Member
    Join Date
    Jun 2014
    Posts
    4
    Rep Power
    1

    Question how to use zmprov command from php ?

    Can you help me...
    how to use zmprov command from php
    I will create new account mailbox from php script
    but I can't make it

  2. #2
    n.sossonko is offline Active Member
    Join Date
    Sep 2011
    Location
    Miami
    Posts
    43
    Rep Power
    3

    Default

    Don't use that, use the SOAP API: Zimbra SOAP API Reference 8.0.7_GA_6020

    You can also (technically) use the REST API for some things, but I'd go with SOAP. Very easy to implement in PHP and the API is very good (in my experience).

  3. #3
    noky_anresa is offline New Member
    Join Date
    Jun 2014
    Posts
    4
    Rep Power
    1

    Default

    can you give me an example please ?

  4. #4
    n.sossonko is offline Active Member
    Join Date
    Sep 2011
    Location
    Miami
    Posts
    43
    Rep Power
    3

    Default

    See this library (GPLv3 license): https://github.com/libersoft/zcs-php/

    You can just use that, in the Admin.php script there's a function for creating accounts, see https://github.com/libersoft/zcs-php...Admin.php#L233.

  5. #5
    noky_anresa is offline New Member
    Join Date
    Jun 2014
    Posts
    4
    Rep Power
    1

    Default

    can you give me an example to create file connection to zimbra admin?
    I can`t use this file because not connected to application..

  6. #6
    n.sossonko is offline Active Member
    Join Date
    Sep 2011
    Location
    Miami
    Posts
    43
    Rep Power
    3

    Default

    Read the README.md file (it's shown on the front page of the project https://github.com/libersoft/zcs-php/).

  7. #7
    noky_anresa is offline New Member
    Join Date
    Jun 2014
    Posts
    4
    Rep Power
    1

    Default

    and the required "autoloader.php"...is not same,,,
    because when I open this link, is not a complete syntax
    https://gist.github.com/jwage/221634...lassloader-php

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Set a signature with zmprov command....
    By gilbertonunes36 in forum Administrators
    Replies: 3
    Last Post: 10-02-2012, 02:00 PM
  2. Problems with ZMPROV command
    By hsp896 in forum Administrators
    Replies: 5
    Last Post: 07-14-2011, 11:10 AM
  3. [SOLVED] zmprov command confusion.
    By chaitanyacda in forum Administrators
    Replies: 5
    Last Post: 02-17-2010, 11:07 PM
  4. Error running zmprov command
    By tonyawbrey in forum Administrators
    Replies: 7
    Last Post: 09-19-2006, 12:01 AM
  5. How to make changes using zmprov command
    By gvm_gma in forum Administrators
    Replies: 1
    Last Post: 08-09-2006, 05:40 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •