Trouble sending mails with php
I'm using code that needs to send a mail, I tryed using mail, but It just won't send mail, but the return code returns TRUE.
I installed RH9, and sendmail is installed too, in my php.ini, I have this line
sendmail_path = /usr/sbin/sendmail -t -i
I checked the path, and sendmail is in there
I used this
$ret=mail("firstname.lastname@example.org", "My Subject", "Line 1\nLine 2\nLine 3");
$ret should return error in case of failure but returns TRUE, but it's not sending mail anyway.