grazie bubu sette sette, ho cambiato il mio php.ini come segue:

codice:
[mail function]
; For Win32 only.
SMTP = mail.gmx.ch

; For Win32 only.
sendmail_from = me@localhost.com

; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
;sendmail_path =
Così secondo te va bene?

Ho riprovato a inviare così ma non va.