Email Forwarder / Inbox Additioanl Validation
This commit is contained in:
parent
26508518fc
commit
9ab835fdfd
1 changed files with 1 additions and 1 deletions
|
@ -3863,7 +3863,7 @@ $gateway="206.51.230.1";
|
|||
$SQL = "SELECT * FROM " . $this->conf['emailuserstable']['tablename'] . " WHERE email='$fromemail';";
|
||||
$rs = $this->query($SQL);
|
||||
if (count($rs) > 0) {
|
||||
return $this->ok_err_text(false, "", 'Email address ' . $email . ' is already configured as normal inbox. Use a different source address or delete the existing email account first.');
|
||||
return $this->ok_err_text(false, "", 'Email address ' . $email . ' is already configured as a normal inbox. Use a different source address or delete the existing email account first.');
|
||||
}
|
||||
|
||||
return $this->executeQuery("insert into forwardings (panelusername,domainname,source,destination)values('$panelusername','$domainname','$fromemail','$forwardto')", $opname);
|
||||
|
|
Loading…
Reference in a new issue