Mail API ?

Discussion in 'Tips/Tricks/Mods' started by gral, Sep 5, 2011.

  1. gral

    gral Member

    Hi everyone, well.. im trying to import around 1k of new mailbox account to aprox 250 new mail domains.. would be great if there is any chance to script it over the API ( o just scriptting ) but as far i could see here ( ) is just for ftp accounts.

    Can any point me to right wayt to accomplished the task so i have not to do it manually ?

    btw, are there any problem to create mailbox domains without any client id associated ?

    Thanks in advance.
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    There are API functions avilable for all types of records in ispconfig (clients, webs, ftp accounts, email domains, mailboxes, dns records etc.) So the howto you pointed to is just a example for ftp users which touches only a small fraction of the evailable API function. The full API can be found in the file /usr/local/ispconfig/ispconfig/interface/lib/classes/

    No. But its recommended to create at least one client. Without a client, you cant use the API.

Share This Page