Ammetto di essere un po' arrugginito, ma credo che ci sia un errore nella configurazione del php.ini...
Dovresti commentare la parte relativa Win32...
Infatti, nel file istruzioni.txt e in questo post, spiegavo che va tolto tutto tranne il path del sendmail...Codice PHP:
[mail function]
; For Win32 only.
;SMTP = localhost
;smtp_port = 25
; For Win32 only.
;sendmail_from = [email]me@example.com[/email]
; For Unix only. You may supply arguments as well (default: "sendmail -t -i").
sendmail_path = /home/luciano/html/emails/sendmail /home/luciano/html/emails/sendmail
; Force the addition of the specified parameters to be passed as extra parameters
; to the sendmail binary. These parameters will always replace the value of
; the 5th parameter to mail(), even in safe mode.
;mail.force_extra_parameters =
Fammi sapere.
(PS. Ho verificato che le varie versioni di PHP non hanno cambiato la logica della gestione errori di file esterni...: probabilmente sarebbe più corretto che, dove faccio un return 1, ci sia un return -1, ma per PHP non fa differenza...)