Fix port scanning ghsa 6w89 8vmc mjpc (#38473)

* TODO

* Add test on server port for smtp

---------

Co-authored-by: Hystepik <lmarcouiller@dolicloud.com>
Co-authored-by: Alexandre SPANGARO <alexandre.spangaro@gmail.com>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
This commit is contained in:
Lucas Marcouiller 2026-06-10 19:49:25 +02:00 committed by GitHub
parent 855a00ae09
commit 7d853349c4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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 = '';