From d38ac0c957968f593ba79c81d961c09bcfde74af Mon Sep 17 00:00:00 2001 From: earnolmartin Date: Wed, 22 Nov 2023 18:02:48 -0700 Subject: [PATCH] Email Forwarder / Inbox Additioanl Validation --- ehcp/classapp.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ehcp/classapp.php b/ehcp/classapp.php index 86e7fc0..d63d510 100755 --- a/ehcp/classapp.php +++ b/ehcp/classapp.php @@ -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 a normal inbox. Use a different source address or delete the existing email account first.'); + return $this->ok_err_text(false, "", 'Email address ' . $fromemail . ' 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);