From d4f97207e2bf384e5d7c91742bab5ec6b3858699 Mon Sep 17 00:00:00 2001
From: tbrehm <t.brehm@ispconfig.org>
Date: Thu, 02 Aug 2012 10:57:10 -0400
Subject: [PATCH] Improved remote api example of mail_user_add function.
---
remoting_client/examples/mail_user_add.php | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/remoting_client/examples/mail_user_add.php b/remoting_client/examples/mail_user_add.php
index d278956..1333bfb 100644
--- a/remoting_client/examples/mail_user_add.php
+++ b/remoting_client/examples/mail_user_add.php
@@ -18,19 +18,19 @@
$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',
--
Gitblit v1.9.1