slimx I find that OpenLiteSpeed and LiteSpeed servers in general just do not work with PHPMAIL. Are you on one of them? It isn't just the enhance panel but any panel that ISNT cpanel or plesk seems to have this issue.
The web server should have no bearing on this.
Enhance configures a drop in replacement for sendmail which will relay messages through the assigned mail server for the website, using a mailbox which is automatically created. The web server needs to be able to reach the mail server on port 587. If the mail server has a smart host configured, the message will be relayed onward through that smart host.
In version 11.0.0
this behaviour changes and each web server has its own MTA (even if the email role is not installed) which will relay directly through the smart host if configured, otherwise it will deliver directly.