> My Problem: > > When I receive the mail, in the from(sender) line is > something like www-data, but I wont the real sender adress > for example [EMAIL PROTECTED] in the from line not in the > subject line or in the message, just in the from line! > > Is this possible or impossible
$address = "[EMAIL PROTECTED]"; $head = "From: PHP Test <[EMAIL PROTECTED]>\r\n"; $subject = "hello world"; $message = "Hello there\nTest123\n"; mail($address, $subject, $message, $head); Try this out /Martin -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]