per meglio capire il problema ecco il codice che sto cercando di eseguire da localhost:
codice:
<html>
<head>
<title>email</title>
</head>
<body>
<?php
ini_set("SMTP","????.????.??");
//metti come secondo parametro l'indirizzo del server SMTP
ini_set("smtp_port","25");
//metti come secondo parametro il la porta del server SMTP
ini_set("sendmail_from","xx@xxxx.xx");
//metti come secondo parametro l'indirizzo e-mail del mittente
$headers = "From: iorso<iorso@iorso.eu>\nCc: iorso@iorso.eu\nReply-to: iorso@iorso.eu";
mail("iorso@iorso.eu", "Soggetto", "Contenuto", $headers);
?>
</body>
</html>