THHDM: Formular kommt nicht an meine Mailadresse

Beitrag lesen

Hallo zusammen,

ich habe eine einfaches Formular aut HTML basis erstellt:

<html><head><title>Mail verschicken mit PHP</title></head> <body bgcolor="white" text="black" link="blue" vlink="purple" alink="red"> <form action="mailto.php" name="Kontaktformular" method="get">     <p align="center">&nbsp;<span style="font-size:11pt;"></span></p>     <table width="492" cellpadding="0" cellspacing="0" align="center" bgcolor="white">         <tr>             <td width="52">                 <p align="center"><font face="Arial"><span style="font-size:11pt;">Firma</span></font><span style="font-size:11pt;"></span></p>             </td>             <td width="227">                 <p align="center"><font face="Arial"><span style="font-size:11pt;"><input type=text name="Firma"></span></font><span style="font-size:11pt;"></span></p>             </td>             <td width="62">                 <p align="center"><font face="Arial"><span style="font-size:11pt;">&nbsp;</span></font></p>             </td>             <td width="133">                 <p align="center"><font face="Arial"><span style="font-size:11pt;">&nbsp;</span></font></p>             </td>         </tr>         <tr>             <td width="52">                 <p align="center"><font face="Arial"><span style="font-size:11pt;">&nbsp;</span></font></p>             </td>             <td width="227">                 <p align="center"><font face="Arial"><span style="font-size:11pt;">&nbsp;</span></font></p>             </td>             <td width="62">                 <p align="center"><font face="Arial"><span style="font-size:11pt;">&nbsp;</span></font></p>             </td>             <td width="133">                 <p align="center"><font face="Arial"><span style="font-size:11pt;">&nbsp;</span></font></p>             </td>         </tr>         <tr>             <td width="52">                 <p align="center"><font face="Arial"><span style="font-size:11pt;">Vorname</span></font><span style="font-size:11pt;"></span></p>             </td>             <td width="227">                 <p align="center"><font face="Arial"><span style="font-size:11pt;"><input type=text name="Vorname"></span></font><span style="font-size:11pt;"></span></p>             </td>             <td width="62">                 <p align="center"><font face="Arial"><span style="font-size:11pt;">Nachname</span></font><span style="font-size:11pt;"></span></p>             </td>             <td width="133">                 <p align="center"><font face="Arial"><span style="font-size:11pt;"><input type=text name=Nachname></span></font><span style="font-size:11pt;"></span></p>             </td>         </tr>         <tr>             <td width="52">                 <p align="center"><font face="Arial"><span style="font-size:11pt;">Anschrift</span></font><span style="font-size:11pt;"></span></p>             </td>             <td width="227">                 <p align="center"><font face="Arial"><span style="font-size:11pt;"><input type=text name="Anschrift"></span></font><span style="font-size:11pt;"></span></p>             </td>             <td width="62">                 <p align="center"><font face="Arial"><span style="font-size:11pt;">&nbsp;</span></font></p>             </td>             <td width="133">                 <p align="center"><font face="Arial"><span style="font-size:11pt;">&nbsp;</span></font></p>             </td>         </tr>         <tr>             <td width="52">                 <p align="center"><font face="Arial"><span style="font-size:11pt;">PLZ</span></font><span style="font-size:11pt;"></span></p>             </td>             <td width="227">                 <p align="center"><font face="Arial"><span style="font-size:11pt;"><input type=text name="PLZ"></span></font><span style="font-size:11pt;"></span></p>             </td>             <td width="62">                 <p align="center"><font face="Arial"><span style="font-size:11pt;">Ort</span></font><span style="font-size:11pt;"></span></p>             </td>             <td width="133">                 <p align="center"><font face="Arial"><span style="font-size:11pt;"><input type=text name="Ort"></span></font><span style="font-size:11pt;"></span></p>             </td>         </tr>         <tr>             <td width="52">                 <p align="center"><font face="Arial"><span style="font-size:11pt;">&nbsp;</span></font></p>             </td>             <td width="227">                 <p align="center"><font face="Arial"><span style="font-size:11pt;">&nbsp;</span></font></p>             </td>             <td width="62">                 <p align="center"><font face="Arial"><span style="font-size:11pt;">&nbsp;</span></font></p>             </td>             <td width="133">                 <p align="center"><font face="Arial"><span style="font-size:11pt;">&nbsp;</span></font></p>             </td>         </tr>         <tr>             <td width="52">                 <p align="center"><font face="Arial"><span style="font-size:11pt;">Telefon</span></font><span style="font-size:11pt;"></span></p>             </td>             <td width="227">                 <p align="center"><font face="Arial"><span style="font-size:11pt;"><input type=text name=Telefon></span></font><span style="font-size:11pt;"></span></p>             </td>             <td width="62">                 <p align="center"><font face="Arial"><span style="font-size:11pt;">&nbsp;</span></font></p>             </td>             <td width="133">                 <p align="center"><font face="Arial"><span style="font-size:11pt;">&nbsp;</span></font></p>             </td>         </tr>         <tr>             <td width="52">                 <p align="center"><font face="Arial"><span style="font-size:11pt;">email</span></font><span style="font-size:11pt;"></span></p>             </td>             <td width="227">                 <p align="center"><font face="Arial"><span style="font-size:11pt;"><input type=text name=mailaddi></span></font><span style="font-size:11pt;"></span></p>             </td>             <td width="62">                 <p align="center"><font face="Arial"><span style="font-size:11pt;">&nbsp;</span></font></p>             </td>             <td width="133">                 <p align="center"><font face="Arial"><span style="font-size:11pt;">&nbsp;</span></font></p>             </td>         </tr>         <tr>             <td width="52">                 <p align="center"><font face="Arial"><span style="font-size:11pt;">Text</span></font><span style="font-size:11pt;"></span></p>             </td>             <td width="430" colspan="3">                 <p id="li_7" align="center"><font face="Arial" color="#092145"><span style="font-size:11pt;"><textarea id="element_7" name="Wunsch" class="element textarea medium" rows="9" cols="63"></textarea></span></font><span style="font-size:11pt;"></span></p>             </td>         </tr>         <tr>             <td colspan="4" align=middle width="486">                 <p align="center"><font face="Arial"><span style="font-size:11pt;"><input type=submit value="Abschicken" style="font-family:Arial; color:rgb(51,255,0);"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="reset" value="Zurücksetzen" style="font-family:Arial; color:red;">&nbsp;&nbsp;&nbsp;&nbsp;</span></font><span style="font-size:11pt;"></span></p>             </td>         </tr>     </table> </form> </body> </html>

und den PHP-Script Mailto.php: <? $mail_empfaenger="info@fairmap.de"; $mail_absender=$mailaddi; $betreff="Kontaktformular"; $text="Mein Name ist $Vorname $Nachname, von der Firma $Firma. Meine Anschrift ist $Anschrift $PLZ $Ort. Meine Wünsche sind $wunsch Rufen Sie mich mal an unter der Nummer $Telefon. \n Mit freundlichen Grüssen"; mail(mail_empfaenger, $betreff, $text,"from:$mail_absender"); ?>

Kann mir einer sagen wo der Fehler ist? Der Script fonktioniert, aber die Mail kommt nicht an!

Danke Gruß Thierry````