PHP mail() problem

From: Date: Wed, 18 Oct 2000 09:48:02 +0000
Subject: PHP mail() problem
Groups: php.general 
Request: Send a blank email to php-general+get-20857@lists.php.net to get a copy of this message
Hello, question: Why the httpd deamon is in "From" field instead of "infopress_mail@sdnet.hr" in received e-mails? <? $addr = "infopress@sdnet.hr"; $body="<br><a href =http://www.sdnet.hr/infoinvest/infopress>Infopress Online</a>"; $subject = "Infopress"; $headers = "From: infopress_mail@sdnet.hr\r\nContent-type: text/html"; mail($addr,$subject,$body,$headers); echo "<center>Infopress poslan na e-mail adresu <b>$addr</b>.</center>"; ?> Slaven

« previous php.general (#20857) next »