That's what i have on the logs when i try to send a test email:
Maybe that'sthe problem...
[30-Nov-2022 16:09:12 UTC] PHP Fatal error: Uncaught Error: Undefined constant "acyPHPMailer\FILTER_FLAG_HOST_REQUIRED" in /opt/lampp/htdocs/newsletters/wp-content/plugins/acymailing/front/inc/phpmailer/phpmailer.php:3609
Stack trace:
#0 /opt/lampp/htdocs/newsletters/wp-content/plugins/acymailing/front/inc/phpmailer/phpmailer.php(3575): acyPHPMailer\acyPHPMailer::isValidHost('localhost')
#1 /opt/lampp/htdocs/newsletters/wp-content/plugins/acymailing/front/inc/phpmailer/phpmailer.php(2314): acyPHPMailer\acyPHPMailer->serverHostname()
#2 /opt/lampp/htdocs/newsletters/wp-content/plugins/acymailing/front/inc/phpmailer/phpmailer.php(1426): acyPHPMailer\acyPHPMailer->createHeader()
#3 /opt/lampp/htdocs/newsletters/wp-content/plugins/acymailing/front/inc/phpmailer/phpmailer.php(1321): acyPHPMailer\acyPHPMailer->preSend()
#4 /opt/lampp/htdocs/newsletters/wp-content/plugins/acymailing/back/helpers/mailer.php(275): acyPHPMailer\acyPHPMailer->send()
#5 /opt/lampp/htdocs/newsletters/wp-content/plugins/acymailing/back/controllers/configuration.php(271): acymmailerHelper->send()
That'swhat i have a line 3609 of phpmailer:
if (filter_var('http://' . $host, FILTER_VALIDATE_URL, FILTER_FLAG_HOST_REQUIRED)) {
//Is it a syntactically valid hostname?
return true;
}