Hi leute, ich verwende den folgenden Code in einer php datei, damit mir user ihre email an mich senden, um am newsletter teil zu nehmen. leider kommt nie eine email an. was ist falsch?
<html>
<head>
<style type="text/css">
a:link { font-weight:bold; color:#999966; text-decoration:underline; }
a:visited { font-weight:bold; color:#999966; text-decoration:underline; }
a:focus { font-weight:bold; color:#999966; text-decoration:none; }
a:hover { font-weight:bold; color:#999999; text-decoration:none; }
a:active { font-weight:bold; color:#999966; text-decoration:none; }
</style>
<style type="text/css">
<!--
body {
scrollbar-face-color: #616161;
scrollbar-track-color: #000000;
scrollbar-arrow-color: #FFCE9C;
scrollbar-highlight-color: #000000;
scrollbar-shadow-color: #FFCE9C;
scrollbar-3dlight-color: #FFCE9C;
scrollbar-darkshadow-color: #000000
}
-->
</style>
<title>Newsletter</title>
<script language="JavaScript">
<!--
function SymError()
{
return true;
}
window.onerror = SymError;
var SymRealWinOpen = window.open;
function SymWinOpen(url, name, attributes)
{
return (new Object());
}
window.open = SymWinOpen;
//-->
</script>
</head>
<body oncontextmenu="return false", background="bg_inner.gif" onLoad="var SymTmpWinOpen = window.open; window.open = SymWinOpen; var SymTmpWinOpen = window.open; window.open = SymWinOpen; MM_preloadImages( '', ''); window.open = SymTmpWinOpen;; window.open = SymTmpWinOpen;" text="#999966" link="#999966" vlink="#999966" alink="#999966">
<font face="Verdana, Arial, Helvetica, sans-serif" size="2" color="#999966">
<script type="text/javascript">
function eingaben_ueberpruefen(){
var mail = document.Formular.email.value;
if (mail.length < 8 mail.indexOf ('@',0) == -1 mail.indexOf ('.',0) == -1){
alert("Bitte geben Sie eine gültige E-Mail-Adresse ein.")
document.Formular.email.select();
return false;
}
else
return true;
}
</script>
</font>
<form name="Formular" action="/newsletter.php" method="post"
onSubmit="return eingaben_ueberpruefen();">
<div align="center">
<table width="450" cellPadding="10" cellSpacing="0" class="tabelle">
<td width="401">
<p align="center"></p>
<p align="center"><font face="Verdana, Arial, Helvetica, sans-serif" size="2" color="#999966"><span class="format">Newsletter</span></font></p>
<p align="center"><font face="Verdana, Arial, Helvetica, sans-serif" size="2" color="#999966">Einfach
E-Mail-Adresse eingeben und auf "Newsletter bestellen" klicken
um den ca. monatlichen Newsletter zu erhalten.</font></p>
<p align="center"><font face="Verdana, Arial, Helvetica, sans-serif" size="2" color="#999966">
<input type=text class="eingabe" name="email">
<span class="klein">E-Mail-Adresse</span></font><font face="Verdana, Arial, Helvetica, sans-serif" size="2" color="#999966">
<input type="submit" value="Newsletter bestellen" class="button" name="submit">
</font></p>
<p align="center"><font face="Verdana, Arial, Helvetica, sans-serif" size="1" color="#999966"><a href="newsletter0.php">Newsletter
abbestellen</a></font><font face="Verdana, Arial, Helvetica, sans-serif" size="2" color="#999966">
</font></p>
</td>
</tr>
</table>
</div>
</form>
<font face="Verdana, Arial, Helvetica, sans-serif" size="2" color="#999966">
</font>
</body>
<script language="JavaScript">
<!--
window.open = SymRealWinOpen;
//-->
</script>
</html>