Although PHP reports the mail properly delivered, the following code doesn't result in the recipient recieving the mail:
<?php
$sendit=mail("fluffCCC@websighted.com","first test","this is a test","From: [email]jxx@mindspring.com[/email]\n\rX-Sender: [email]jxx@mindspring.com[/email]\n\rReturn-Path: [email]jxx@mindspring.com[/email]\n\r");
echo "sendit=".$sendit;?>
I'm using Mandrake Linux with Postfix. When I check the mail log, it has an entry that says
status=bounced (host mail.mindspring.com[207.69.200.243] said: 550 rejected: cannot route to sender <apache@linux.intranet.com>)
In the php.ini file, I have the following entry:
[mail function]
SMTP = localhost ;for win32 only
sendmail_from = me@localhost.com ;for win32 only
sendmail_path = /usr/sbin/sendmail -t -f jxx@mindspring.com
Any suggestions on how to fix this?
Thanks. --Jeff