Take the 2-minute tour ×  i just figured out that the mail()
function isn't working  i'm under Debian, i installed postfix
because a friend told me to (although i didn't configure it).
When i do a phpinfo() i've got :  sendmail_path
/usr/sbin/sendmail -t -i    /usr/sbin/sendmail -t -i  but in
this directories i don't have anything like sendmail  Do you
have an idea, on what i should do to get mail() working ?  Thank
you  share|improve this question  1 Answer 1  up vote 2 down
vote accepted  In Unix, most programs rely on a MTA (message
transfer agent) to do mail transmission. When a program wants to
send a message, it executes /usr/sbin/sendmail and gives it the
entire message in stdin.  The Sendmail MTA was the first one to
work this way (and still does), and other MTAs follow the same
convention of providing a /usr/sbin/sendmail program.  [In this
answer, Sendmail is the original MTA, and sendmail (lowercase)
is /usr/sbin/sendmail (which comes with all MTAs currently
used).]  PHP's mail() follows the Uni