Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> Problem Email
unforg1vable
post
Post #1





Grupa: Zarejestrowani
Postów: 9
Pomógł: 0
Dołączył: 29.10.2008

Ostrzeżenie: (0%)
-----


Witam, mam problem z wysyłką emaila ze swojej strony która jest we flashu.
Kod wygląda następująco:

Kod
<?PHP

$name = $_REQUEST["name"];
$email = $_REQUEST["email"];
$message = $_REQUEST["message"];

$to = "moj@email";
$subject = "temat";
$emailContent = "Name: " . $name;
$emailContent .= "\nEmail: " . $email;
$emailContent .= "\nMessage: " . $message;
$headers = "From: $email\n";
$headers .= "\nReply-To: $email";


$sentOk = mail($to,$subject,$emailContent,$headers);

echo "sentOk=" . $sentOk;

?>


Jest w nim jakiś błąd?
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 21.08.2025 - 11:32