Posted by Erlend Klakegg Bergheim on 04/10/06 09:28
James skrev:
> Why don't the headers work all i get is From: NFS Anonymous Access User
> <nobody@....>
>
> $email=$_POST["email"];
> $name=$_POST["name"];
>
> $subject= "mail";
> $message="Text";
>
>
> $headers = "MIME-Version: 1.0 . \r\n";
> $headers .= "Content-type: text/html; charset=iso-8859-1'\r\n";
> $headers .= "To: $name <$email> \r\n";
> $headers .= 'From: Webmaster <webmaster@example.com> \r\n";
> $headers .= "Cc: \r\n";
> $headers .= "Bcc:\r\n";
$headers = "MIME-Version: 1.0\r\n";
$headers .= "Content-Type: text/html; charset=iso-8859-1\r\n";
$headers .= "To: \"$name\" <$email>\r\n";
$headers .= "From: \"Webmaster\" <webmaster@example.com>\r\n";
// $headers .= "Cc: \r\n";
// $headers .= "Bcc:\r\n";
What about this?
--
Vennlig hilsen
Erlend Klakegg Bergheim
Navigation:
[Reply to this message]
|