boolean domain_gandimail_activate(string session, string domain)
Enables the Gandimail service for one domain
The XML-RPC response will return True (boolean) if the status was changed, or False if it wasn't, or a fault describing the problem. Possible faults are described in section Error Codes Format.
Forthcoming
boolean domain_gandimail_deactivate(string session, string domain)
Disables the Gandimail service for one domain: our mail servers won't accept mail sent to this domain anymore
The XML-RPC response will return True (boolean) if the status was changed, or False if it wasn't, or a fault describing the problem. Possible faults are described in section Error Codes Format.
Forthcoming
array domain_forward_list(string session, string domain)
Returns a structure associating each forward with its destinations
The XML-RPC response will return a struct associating each forward (without its domain) with its destination, or a fault describing the problem. Possible faults are described in section Error Codes Format.
Forthcoming
boolean domain_forward_set(string session, string domain, string source, array destinations)
Setup a forward to redirect to one or more destinations. Warning: it overwrites the forward (the source), so if you try to add one destination to a forward, you shall include the existing destinations
The XML-RPC response will return True (boolean), or a fault describing the problem. Possible faults are described in section Error Codes Format.
Forthcoming
boolean domain_forward_delete(string session, string domain, string source)
Deletes a forward. This does the same thing as domain_forward_set(tok, domain, [])
The XML-RPC response will return True (boolean), or a fault describing the problem. Possible faults are described in section Error Codes Format.
Forthcoming
array domain_mailbox_list(string session, string domain)
Return the list of mailboxes associated with a domain
The XML-RPC response will return an array of strings, one for each mailbox, or a fault describing the problem. Possible faults are described in section Error Codes Format.
Forthcoming
struct domain_mailbox_info (string session, string domain, string mailbox)
Provides information about a mailbox
The XML-RPC response will return an struct representing the mailbox's attibutes, or a fault describing the problem. Possible faults are described in section Error Codes Format.
The returned struct contains the following keys:
Forthcoming
boolean domain_mailbox_add (string session, string domain, string mailbox, string password [,struct options])
Creates a new mailbox
The XML-RPC response will return True (boolean), or a fault describing the problem. Possible faults are described in section Error Codes Format.
Forthcoming
boolean domain_mailbox_update (string session, string domain, string mailbox, struct options)
Updates an existing mailbox
The XML-RPC response will return True (boolean) if the mailbox was changed, False if it wasn't, or a fault describing the problem. Possible faults are described in section Error Codes Format.
Forthcoming
boolean domain_mailbox_delete (string session, string domain, string mailbox)
Deletes a mailbox
The XML-RPC response will return True (boolean) if the mailbox deleted, or a fault describing the problem. Possible faults are described in section Error Codes Format.
Forthcoming
array domain_mailbox_alias_list (string session, string domain, string mailbox)
List the aliases of a mailbox
The XML-RPC response will return an array of strings, one for each alias, or a fault describing the problem. Possible faults are described in section Error Codes Format.
Forthcoming
boolean domain_mailbox_alias_set (string session, string domain, string mailbox, array aliases)
Affect aliases to a mailbox
The XML-RPC response will return True (boolean), or a fault describing the problem. Possible faults are described in section Error Codes Format.
Forthcoming
integer domain_mailbox_alias_set (string session, string domain, string mailbox)
Delete all messages from a mailbox
The XML-RPC response will return True (boolean), or a fault describing the problem. Possible faults are described in section Error Codes Format.
Forthcoming
The XML-RPC response will contain this operation attributed ID (int) or a fault describing the problem. Possible faults are described in section Error Codes Format.
Dernière modification: le 05/04/2011 à 13:37 par Nicolas L. (Gandi)