prova a vedere nel php.ini
[mail function]
; For Win32 only.
SMTP =
smtp_port = 25

; For Win32 only.
sendmail_from =

; For Unix only. You may supply arguments as well (default: "sendmail -t -i").
;sendmail_path =

lasica tutot cos' tranne smtp dove devi inserire l'indirizzo di un server di posta (questo solo se sei su windows)