From 7d853349c45f399bb301f5cb5901a3a2fc66fe65 Mon Sep 17 00:00:00 2001 From: Lucas Marcouiller <45882981+Hystepik@users.noreply.github.com> Date: Wed, 10 Jun 2026 19:49:25 +0200 Subject: [PATCH] Fix port scanning ghsa 6w89 8vmc mjpc (#38473) * TODO * Add test on server port for smtp --------- Co-authored-by: Hystepik Co-authored-by: Alexandre SPANGARO Co-authored-by: Laurent Destailleur --- htdocs/admin/mails.php | 1 + 1 file changed, 1 insertion(+) diff --git a/htdocs/admin/mails.php b/htdocs/admin/mails.php index b1007cc2cba..e23c689012e 100644 --- a/htdocs/admin/mails.php +++ b/htdocs/admin/mails.php @@ -1165,6 +1165,7 @@ if ($action == 'edit') { print load_fiche_titre($langs->trans("DoTestServerAvailability")); include_once DOL_DOCUMENT_ROOT.'/core/class/CMailFile.class.php'; + $mail = new CMailFile('test', '', '', '', array(), array(), array(), '', '', 0, 0, '', '', '', $trackid, $sendcontext); $errormsg = '';