Anders Skalsted -
www.dinunlocker.dk wrote:
> "Johan Holst Nielsen" skrev i en meddelelse
>
>>Jah... bare indsæt en ekstra mail() efter du sender din egen mail...
>>
>
> Mit script ser sådan ud :
>
> <?
> if (isset($_POST['to'])) {
> $navn = $_POST['T3'];
> $email = $_POST['from'];
> $mobil = $_POST['T2'];
> $emei = $_POST['T1'];
> $model = $_POST['D2'];
> $selskab = $_POST['D3'];
> $levering = $_POST['D4'];
> $betaling = $_POST['D1'];
> $comments = $_POST['comments'];
> $subject = $_POST['subject'];
> $location = $_POST['location'];
> $to = $_POST['to'];
>
> $besked = "Navn: \t$navn\n";
> $besked .= "E-mail: \t$email\n";
> $besked .= "Mobilnr.: \t$mobil\n";
> $besked .= "Emei: \t$emei\n";
> $besked .= "Model: \t$model\n";
> $besked .= "Selskab: \t$selskab\n";
> $besked .= "Levering: \t$levering\n";
> $besked .= "Betaling: \t$betaling\n";
> $besked .= "Location: \t$location\n";
> $besked .= "Spørgsmål: \n$comments\n";
> $besked = str_replace("\r\n","\n",$besked);
> $header = "From: $email\n";
> $header .= "Reply-To: $email\n";
> header('Location: tak.htm');
> mail($to,$subject,$besked,$header);
/*
her...
*/
mail($_POST['from'],"Autosvar","Vi vil besvare din e-mail så hurtig som
mulig", "FROM: ".$_POST['to']);
> }
> ?>
mvh
Johan