No mail allerts from system

To be completed by the original poster:

CMS Version

4.2.2 installed with docker on ubuntu OS

Player Type

windows

Player Version

4.04

Issue

Again with e mail allerts, cms is configured to send mail, players ( displays ) are configured as istructions to send email allert(S) when a display goes offline, config.env is correctly configured, checked file and folder onwner (www-data) inside the installation

no mail are sent by system , on log i have this :

472053 27-03-2025 19:23 CONSOLE GET ERROR Unable to send email notification Error: Could not instantiate mail function.
472052 27-03-2025 19:23 CONSOLE GET ERROR Unable to send email notification mail to XXXXXX@sXXXX.com

Can someone help me? thank you