Lines Matching defs:emailAddress
60 * @param string $emailAddress The primary email address to add to this user
67 public function createMailbox($username, $storageGroup, $emailAddress, $mailNickname=NULL, $useDefaults=TRUE, $baseDn=NULL, $isGUID=false)
72 if ($emailAddress === NULL) { return "Missing compulsory field [emailAddress]"; }
87 'exchange_proxyaddress'=>'SMTP:' . $emailAddress,
147 * @param string $emailAddress The email address to add to this user
152 public function addAddress($username, $emailAddress, $default = FALSE, $isGUID = false)
155 if ($emailAddress === NULL) { return "Missing compulsory fields [emailAddress]"; }
178 $modAddresses['proxyAddresses'][(sizeof($user[0]['proxyaddresses'])-1)] = 'SMTP:' . $emailAddress;
189 $attributes['exchange_proxyaddress'] = $proxyValue . $emailAddress;
216 * @param string $emailAddress The email address to add to this user
220 public function deleteAddress($username, $emailAddress, $isGUID=false)
223 if ($emailAddress === NULL) { return "Missing compulsory fields [emailAddress]"; }
233 if (strstr($user[0]['proxyaddresses'][$i], 'SMTP:') !== false && $user[0]['proxyaddresses'][$i] == 'SMTP:' . $emailAddress) {
234 $mod['proxyAddresses'][0] = 'SMTP:' . $emailAddress;
236 elseif (strstr($user[0]['proxyaddresses'][$i], 'smtp:') !== false && $user[0]['proxyaddresses'][$i] == 'smtp:' . $emailAddress) {
237 $mod['proxyAddresses'][0] = 'smtp:' . $emailAddress;
256 * @param string $emailAddress The email address to make default
260 public function primaryAddress($username, $emailAddress, $isGUID = false)
263 if ($emailAddress === NULL) { return "Missing compulsory fields [emailAddress]"; }
276 if ($user[0]['proxyaddresses'][$i] == 'smtp:' . $emailAddress) {
299 * @param string $emailAddress The email address to allow emails to be sent through
303 public function contactMailEnable($distinguishedName, $emailAddress, $mailNickname = NULL)
306 if ($emailAddress === NULL) { return "Missing compulsory field [emailAddress]"; }
315 $attributes = array("email"=>$emailAddress,"contact_email"=>"SMTP:" . $emailAddress,"exchange_proxyaddress"=>"SMTP:" . $emailAddress,"exchange_mailnickname" => $mailNickname);