Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
matidau committed Jul 14, 2024
1 parent 307c5f6 commit ba38068
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/lib/utils/utils.php
Original file line number Diff line number Diff line change
Expand Up @@ -586,6 +586,8 @@ static public function Utf8_to_utf7imap($string) {
* @return boolean
*/
static public function CheckEmail($email) {
ZLog::Write(LOGLEVEL_WARN, sprintf("CheckEmail() email=%s, @=%s, undiscoled-recipients=%s", $email, (strpos($email, '@') !== false), ($email === "undisclosed-recipients:;") ));

return (strpos($email, '@') !== false || $email === "undisclosed-recipients:;") ? true : false;
}

Expand Down

0 comments on commit ba38068

Please sign in to comment.