Commit d4f97207 authored by tbrehm's avatar tbrehm

Improved remote api example of mail_user_add function.

parent bd26abd7
......@@ -18,19 +18,19 @@ try {
$client_id = 1;
$params = array(
'server_id' => 1,
'email' => 'hmmnoe@test.int',
'login' => 'hmmnoe@test.int',
'email' => 'joe@test.int',
'login' => 'joe@test.int',
'password' => 'howtoforge',
'name' => 'hmmnoe',
'name' => 'joe',
'uid' => 5000,
'gid' => 5000,
'maildir' => '',
'maildir' => '/var/vmail/test.int/joe',
'quota' => 10000000000,
'cc' => '',
'homedir' => '',
'homedir' => '/var/vmail',
'autoresponder' => 'n',
'autoresponder_start_date' => '',
'autoresponder_end_date' => '',
'autoresponder_start_date' => array('day' => 1,'month' => 7, 'year' => 2012, 'hour' => 0, 'minute' => 0),
'autoresponder_end_date' => array('day' => 20,'month' => 7, 'year' => 2012, 'hour' => 0, 'minute' => 0),
'autoresponder_text' => 'hallo',
'move_junk' => 'n',
'custom_mailfilter' => 'spam',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment