Skip to content

Commit d4f9720

Browse files
committed
Improved remote api example of mail_user_add function.
1 parent bd26abd commit d4f9720

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

remoting_client/examples/mail_user_add.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,19 +18,19 @@
1818
$client_id = 1;
1919
$params = array(
2020
'server_id' => 1,
21-
'email' => 'hmmnoe@test.int',
22-
'login' => 'hmmnoe@test.int',
21+
'email' => 'joe@test.int',
22+
'login' => 'joe@test.int',
2323
'password' => 'howtoforge',
24-
'name' => 'hmmnoe',
24+
'name' => 'joe',
2525
'uid' => 5000,
2626
'gid' => 5000,
27-
'maildir' => '',
27+
'maildir' => '/var/vmail/test.int/joe',
2828
'quota' => 10000000000,
2929
'cc' => '',
30-
'homedir' => '',
30+
'homedir' => '/var/vmail',
3131
'autoresponder' => 'n',
32-
'autoresponder_start_date' => '',
33-
'autoresponder_end_date' => '',
32+
'autoresponder_start_date' => array('day' => 1,'month' => 7, 'year' => 2012, 'hour' => 0, 'minute' => 0),
33+
'autoresponder_end_date' => array('day' => 20,'month' => 7, 'year' => 2012, 'hour' => 0, 'minute' => 0),
3434
'autoresponder_text' => 'hallo',
3535
'move_junk' => 'n',
3636
'custom_mailfilter' => 'spam',

0 commit comments

Comments
 (0)