Originariamente inviato da cosmosub
La funzione mail su server linux non mi funziona
Su un server linux la funzione mail funziona nello stesso modo?
Tipo:

<?php
mail("pippo@example.com", "Oggetto", "Linea 1\nLinea 2\nLinea 3");
?>

Mi hanno dettto
Cioè?
Dal php.ini

[mail function]
; For Win32 only.
SMTP = localhost
smtp_port = 25

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

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

; 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 =


Commenta la parte relativa a Windows e inserisci qui

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

Il path del tuo Mail Transfer Agent (Sendmail, Postfix etc.etc.)