Commit e0395cdb authored by Thomas Bella's avatar Thomas Bella

Revert "Switch to PHPMailer email validation"

This reverts commit d1217fcd.
parent d1217fcd
......@@ -86,7 +86,7 @@ if (isset($_POST["add"], $_POST["type"]) && $_POST["type"] == "domain") {
$emails = explode(';', $_POST["emailList"]);
$validList = '';
foreach($emails as $singleEmail) {
if (phpMailer::ValidateAddress($singleEmail)) {
if (filter_var($singleEmail, FILTER_VALIDATE_EMAIL)) {
if ($validList != '') {
$validList .= ';';
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment