|
Posted by Marco on 02/01/07 10:57
> Are you inserting a existent and valid email address, on From header?
>
Yes, I insert in my full test something as following:
$HEADER="From: Marco<myuser@tiscali.it>\n";//I insert here a false
email for avoid spam, but in my test it was the real one.
Now, this is ignored by php, because in headers of the email that I
received (gmail, hotmail) in Italian "Da" [=From] I see
myuser@tiscali.it, but in Return-Path there is apache@localhost.localdomain.
I tried to add something as $HEADER.="Return-Path:
Marco<myuser@tiscali.it>\n";, but it seems be ignored.
Note that if I send email with java program instead of php, in the
Return-Path I see myuser@tiscali.it, and I always receive all sended emails.
I have a Fedora 6 (Linux) with Apache that use sendmail program in mail
function, and believe that the problem is as I can set sendmail program
of Linux for insert a proper Return-Path.
[Back to original message]
|