Marius Burkard
2016-07-08 9bcd2fd54728b9e634442f584268da03acaea633
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html><head><title>ISPCOnfig 3 remote API documentation</title>
 
  
 
  
  
  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" type="text/css" href="definitionen.css">
  
  <style type="text/css">
 
  </style></head>
 
<body>
<div style="padding:40px">
<h1>mail_user_add(<span class="var">$session_id</span>, <span class="var">$client_id</span>, <span class="var">$params</span>);</h1>
<br>
<p class="headgrp">Description: </p>
<p class="margin"> Adds a mail user.</p><br>
<p class="headgrp">Input Variables: </p> 
<p class="margin"> <span class="var">$session_id</span>, <span class="var">$client_id</span>, <span class="var">$params</span></p>
<p class="headgrp">Parameters (in <span class="var">$params</span>): </p>
<p class="margin"> server_id&nbsp;&nbsp;(<span class="paratype">int(11)</span>)</p>
<p class="margin"> email&nbsp;&nbsp;(<span class="paratype">varchar(255)</span>)</p>
<p class="margin"> login&nbsp;&nbsp;(<span class="paratype">varchar(255)</span>)</p>
<p class="margin"> password&nbsp;&nbsp;(<span class="paratype">varchar(255)</span>)</p>
<p class="margin"> name&nbsp;&nbsp;(<span class="paratype">varchar(255)</span>)</p>
<p class="margin"> uid&nbsp;&nbsp;(<span class="paratype">int(11)</span>)</p>
<p class="margin"> gid&nbsp;&nbsp;(<span class="paratype">int(11)</span>)</p>
<p class="margin"> maildir&nbsp;&nbsp;(<span class="paratype">varchar(255)</span>)</p>
<p class="margin"> quota&nbsp;&nbsp;(<span class="paratype">bigint(20)</span>)</p>
<p class="margin"> cc&nbsp;&nbsp;(<span class="paratype">varchar(255)</span>)</p>
<p class="margin"> homedir&nbsp;&nbsp;(<span class="paratype">varchar(255)</span>)</p>
<p class="margin"> autoresponder&nbsp;&nbsp;(<span class="paratype">enum('n','y')</span>)</p>
<p class="margin"> autoresponder_start_date&nbsp;&nbsp;(<span class="paratype">datetime</span>)</p>
<p class="margin"> autoresponder_end_date&nbsp;&nbsp;(<span class="paratype">datetime</span>)</p>
<p class="margin"> autoresponder_text&nbsp;&nbsp;(<span class="paratype">mediumtext</span>)</p>
<p class="margin"> move_junk&nbsp;&nbsp;(<span class="paratype">enum('n','y')</span>)</p>
<p class="margin"> custom_mailfilter&nbsp;&nbsp;(<span class="paratype">mediumtext</span>)</p>
<p class="margin"> postfix&nbsp;&nbsp;(<span class="paratype">enum('n','y')</span>)</p>
<p class="margin"> access&nbsp;&nbsp;(<span class="paratype">enum('n','y')</span>)</p>
<p class="margin"> disableimap&nbsp;&nbsp;(<span class="paratype">enum('n','y')</span>)</p>
<p class="margin"> disablepop3&nbsp;&nbsp;(<span class="paratype">enum('n','y')</span>)</p>
<p class="margin"> disabledeliver&nbsp;&nbsp;(<span class="paratype">enum('n','y')</span>)</p>
<p class="margin"> disablesmtp&nbsp;&nbsp;(<span class="paratype">enum('n','y')</span>)</p>
<p class="headgrp">Output: </p> 
<p class="margin"> Returns the ID of the newly added mail user.</p>
<!--<b>Output:</b> 
<p style="margin-left:100px">Gives a record of </p> -->
</div>
 
</body></html>