require('grab_globals.lib.php');
if ($OKa) {
echo "";
}
?>
db.jablonka.cz mail
include("header.htm");
include ("fce.php");
if(!@$action)
{
echo '
Odeslání mailu:
';
}
else
{
$headers = "From: $from\n";
$headers .= "MIME-Version: 1.0\n";
$headers .= "Content-Type: text/plain; charset=iso-8859-2\n";
#$headers .= "Content-Transfer-Encoding: quoted-printable\n";
$headers .= "Content-Transfer-Encoding: 8bit\n";
$headers .= "Return-Path: $from\n";
$headers .= "Bcc: nobody@nomail.cz,".$bcc."\n";
$result = mail($to, $subj, $text, $headers);
if (!$result) {
echo "
Výsledek asi chyba: ".$result."
";
} else {
echo "
Mail byl úspěšně poslán!
";
}
#echo "
mail($to, $subj, $text, $headers)";
#print "Your message has been sent
";
echo '
zpět
zpět o dva
';
}
?>