Ahoj tak jsem nasel tady to PHP.
A vyzkousel jsem to a zmenil jsem $to = "vas@email.cz"; na muj mail.
A doslo mi asi 200 mailu ale zadnou zpravu jsem nemohl odeslat.
Diky za radu a za nervy se zacatecniky.
Martin Pivonka
<-- formular.php -->
<head>
<title>mailform</title>
</head>
<body>
<table height="100%" width="100%" cellSpacing="0" cellPadding="0" border="0">
<tr><td align="center" valign="top">
<form action="send.php" method="post">
<table width="200" border="0" class="text">
<tr><td width="50"><b>J</b>méno :</td><td><input name="jmeno" accesskey="j" type="text"></td></tr>
<tr><td width="50"><b>E</b>mail :</td><td><input name="email" accesskey="e" type="text"></td></tr>
<tr><td width="50"><b>W</b>eb :</td><td><input name="web" accesskey="w" type="text" value="http://"></td></tr>
<tr><td width="50" valign="top"><b>T</b>ext :</td><td><textarea name="text" accesskey="t" rows="5" cols="25"></textarea></td></tr>
<tr><td colspan="2" align="center"><input type="submit" class="button" value="Odeslat"> <input type="reset" value="Vymazat"></td></tr>
</form></table>
</td></tr></table>
</BODY>
<-- send.php -->
<?php
$to = "vas@email.cz";
$extra = "From: $email\r\nReply-To: $email\r\n";
$subject = "Vzkaz od ".$jmeno."";
$mess = "Jméno: ".$jmeno."\nEmail: ".$email."\n Web: ".$web."\nText:\n".$text."";
mail ($to, $subject, $mess, $extra);
?>
<head>
<META HTTP-EQUIV="Refresh" CONTENT="0; URL=formular.php">
</head>