scusa, la prima banalità che mi viene in mente, hai configurato il servizio SMTP ?
Codice PHP:
$eM_Host = "smtp.example.com"; // SMTP servizio mail
$eM_Port = 587; // 25, 465, 587
$eM_Auth = true; // false (25) true (465, 587)
$eM_Secure = "tls"; // "" (25) "ssl" (465) "tls" (587)
$eM_username = "name@example.com"; // utente conosciuto dal servizio mail usato
$eM_password = "password"; // password dell'utente