Guten Tag,
ich habe ein problem mit einem Kontakformular, ich wollte es per sendmail verschicken, mail kommt aber nicht an.
hier der code fuer das formular:
<td align="left" valign="top"> <p class="ftitle">To contact our Services please fill in this Form
</p></td>
</tr>
<tr>
<td align="left" valign="top">
<form method="post" action="sendmail.php"> <table width="505" cellpadding="0" cellspacing="0" class="info">
<tr>
<td width="26%" align="right" valign="top" class="ftext"> Company </td>
<td width="74%" align="left" valign="top" class="cpad">
<input type="text" name="textfield2" size="30" /></td>
</tr>
<tr>
<td width="26%" align="right" valign="top" class="ftext"> Name</td>
<td width="74%" align="left" valign="top" class="cpad">
<input type="text" name="textfield2" size="30" /></td>
</tr>
<tr>
<td width="26%" align="right" valign="top" class="ftext"> Address</td>
<td width="74%" align="left" valign="top" class="cpad">
<input type="text" name="textfield2" size="30" /></td>
</tr>
<tr>
<td width="26%" align="right" valign="top" class="ftext"> City</td>
<td width="74%" align="left" valign="top" class="cpad">
<input type="text" name="textfield2" size="30" /></td>
</tr>
<tr>
<td width="26%" align="right" valign="top" class="ftext"> Country:</td>
<td width="74%" align="left" valign="top" class="cpad">
<input type="text" name="textfield2" size="30" /></td>
</tr>
<tr>
<td width="26%" align="right" valign="top" class="ftext"> Zip</td>
<td width="74%" align="left" valign="top" class="cpad">
<input type="text" name="textfield2" size="30" /></td>
</tr>
<tr>
<td width="26%" align="right" valign="top" class="ftext"> Email</td>
<td width="74%" align="left" valign="top" class="cpad">
<input type="text" name="textfield2" size="30" /></td>
</tr>
<tr>
<td width="26%" align="right" valign="top" class="ftext"> Tel</td>
<td width="74%" align="left" valign="top" class="cpad">
<input type="text" name="textfield2" size="30" /></td>
</tr>
<tr>
<td width="26%" align="right" valign="top" class="ftext"> Fax</td>
<td width="74%" align="left" valign="top" class="cpad">
<input type="text" name="textfield2" size="30" /></td>
</tr>
<td> </td>
<td>
<input name="" type="image" src="images/submit.jpg" /></td>
</tr>
</table></form></td>
</tr>
</table></td>
</tr>
</table>
hier der code fuer sendmail.php
<?php
$email = $_REQUEST['email'] ;
$message = $_REQUEST['message'] ;
mail( "info@profi-consulting.ru", "Feedback Form Results",
$message, "From: $email" );
print "Congratulations your email has been sent";
?>
weiss nicht was ich fallsch gemacht habe, bin auch kein profi aquf diesem gebiet.
vielen dank im voraus fuer eure hilfe.
Siegfried
ich habe ein problem mit einem Kontakformular, ich wollte es per sendmail verschicken, mail kommt aber nicht an.
hier der code fuer das formular:
<td align="left" valign="top"> <p class="ftitle">To contact our Services please fill in this Form
</p></td>
</tr>
<tr>
<td align="left" valign="top">
<form method="post" action="sendmail.php"> <table width="505" cellpadding="0" cellspacing="0" class="info">
<tr>
<td width="26%" align="right" valign="top" class="ftext"> Company </td>
<td width="74%" align="left" valign="top" class="cpad">
<input type="text" name="textfield2" size="30" /></td>
</tr>
<tr>
<td width="26%" align="right" valign="top" class="ftext"> Name</td>
<td width="74%" align="left" valign="top" class="cpad">
<input type="text" name="textfield2" size="30" /></td>
</tr>
<tr>
<td width="26%" align="right" valign="top" class="ftext"> Address</td>
<td width="74%" align="left" valign="top" class="cpad">
<input type="text" name="textfield2" size="30" /></td>
</tr>
<tr>
<td width="26%" align="right" valign="top" class="ftext"> City</td>
<td width="74%" align="left" valign="top" class="cpad">
<input type="text" name="textfield2" size="30" /></td>
</tr>
<tr>
<td width="26%" align="right" valign="top" class="ftext"> Country:</td>
<td width="74%" align="left" valign="top" class="cpad">
<input type="text" name="textfield2" size="30" /></td>
</tr>
<tr>
<td width="26%" align="right" valign="top" class="ftext"> Zip</td>
<td width="74%" align="left" valign="top" class="cpad">
<input type="text" name="textfield2" size="30" /></td>
</tr>
<tr>
<td width="26%" align="right" valign="top" class="ftext"> Email</td>
<td width="74%" align="left" valign="top" class="cpad">
<input type="text" name="textfield2" size="30" /></td>
</tr>
<tr>
<td width="26%" align="right" valign="top" class="ftext"> Tel</td>
<td width="74%" align="left" valign="top" class="cpad">
<input type="text" name="textfield2" size="30" /></td>
</tr>
<tr>
<td width="26%" align="right" valign="top" class="ftext"> Fax</td>
<td width="74%" align="left" valign="top" class="cpad">
<input type="text" name="textfield2" size="30" /></td>
</tr>
<td> </td>
<td>
<input name="" type="image" src="images/submit.jpg" /></td>
</tr>
</table></form></td>
</tr>
</table></td>
</tr>
</table>
hier der code fuer sendmail.php
<?php
$email = $_REQUEST['email'] ;
$message = $_REQUEST['message'] ;
mail( "info@profi-consulting.ru", "Feedback Form Results",
$message, "From: $email" );
print "Congratulations your email has been sent";
?>
weiss nicht was ich fallsch gemacht habe, bin auch kein profi aquf diesem gebiet.
vielen dank im voraus fuer eure hilfe.
Siegfried
Kommentar