Now I can send the formular and get a successful message, but got no email.
Can't found the mistake?
Code: Select all
<form action="include/inc_act/act_formmailer.php" method="post" target = "_self">
<table width="500" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="150">Praxis / Firma:</td>
<td width="336"><input name="praxis" type="text" id="praxis2" size="35"></td>
</tr>
<tr>
<td>Ansprechpartner:</td>
<td><input name="Ansprechpartner" type="text" id="Ansprechpartner2"></td>
</tr>
<tr>
<td>Straße, Nr.:</td>
<td><input name="Straße" type="text" id="Straße2">
<input name="Nummer" type="text" id="Nummer2" size="5" maxlength="5"></td>
</tr>
<tr>
<td>PLZ, Ort: </td>
<td><input name="PLZ" type="text" id="PLZ2" size="5" maxlength="5">
<input name="Ort" type="text" id="Ort2"></td>
</tr>
<tr>
<td>eMailadresse:</td>
<td><input name="email" type="text" id="email"></td>
</tr>
</table>
<br>
<table width="500" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="100"><div align="center"><strong>Anzahl</strong></div></td>
<td width="412"><div align="center"><strong>Artikelbeschreibung </strong>(mehrzeilig) </div></td>
</tr>
<tr>
<td valign="top"> </td>
<td> </td>
</tr>
<tr>
<td valign="top">
<div align="center">
<input name="menge1" type="text" id="menge1" size="5" maxlength="5">
</div></td>
<td><div align="center">
<textarea name="beschreibung1" cols="50" rows="2" id="beschreibung1"></textarea>
</div></td>
</tr>
<tr>
<td valign="top">
<div align="center">
<input name="menge2" type="text" id="menge2" size="5" maxlength="5">
</div></td>
<td><div align="center">
<textarea name="beschreibung2" cols="50" rows="2" id="beschreibung2"></textarea>
</div></td>
</tr>
<tr>
<td valign="top">
<div align="center">
<input name="menge3" type="text" id="menge3" size="5" maxlength="5">
</div></td>
<td><div align="center">
<textarea name="beschreibung3" cols="50" rows="2" id="beschreibung3"></textarea>
</div></td>
</tr>
<tr>
<td valign="top">
<div align="center">
<input name="menge4" type="text" id="menge4" size="5" maxlength="5">
</div></td>
<td><div align="center">
<textarea name="beschreibung4" cols="50" rows="2" id="beschreibung4"></textarea>
</div></td>
</tr>
<tr>
<td valign="top">
<div align="center">
<input name="menge5" type="text" id="menge5" size="5" maxlength="5">
</div></td>
<td><div align="center">
<textarea name="beschreibung5" cols="50" rows="2" id="beschreibung5"></textarea>
</div></td>
</tr>
<tr>
<td valign="top">
<div align="center">
<input name="menge6" type="text" id="menge6" size="5" maxlength="5">
</div></td>
<td><div align="center">
<textarea name="beschreibung6" cols="50" rows="2" id="beschreibung6"></textarea>
</div></td>
</tr>
<tr>
<td valign="top">
<div align="center">
<input name="menge7" type="text" id="menge7" size="5" maxlength="5">
</div></td>
<td><div align="center">
<textarea name="beschreibung7" cols="50" rows="2" id="beschreibung7"></textarea>
</div></td>
</tr>
<tr>
<td valign="top">
<div align="center">
<input name="menge8" type="text" id="menge8" size="5" maxlength="5">
</div></td>
<td><div align="center">
<textarea name="beschreibung8" cols="50" rows="2" id="beschreibung8"></textarea>
</div></td>
</tr>
<tr>
<td valign="top">
<div align="center">
<input name="menge9" type="text" id="menge9" size="5" maxlength="5">
</div></td>
<td><div align="center">
<textarea name="beschreibung9" cols="50" rows="2" id="beschreibung9"></textarea>
</div></td>
</tr>
<tr>
<td valign="top">
<div align="center">
<input name="menge10" type="text" id="menge10" size="5" maxlength="5">
</div></td>
<td><div align="center">
<textarea name="beschreibung10" cols="50" rows="2" id="beschreibung10"></textarea>
</div></td>
</tr>
<tr>
<td valign="top">
<div align="center">
<input name="menge11" type="text" id="menge11" size="5" maxlength="5">
</div></td>
<td><div align="center">
<textarea name="beschreibung11" cols="50" rows="2" id="beschreibung11"></textarea>
</div></td>
</tr>
<tr>
<td valign="top">
<div align="center">
<input name="menge12" type="text" id="menge12" size="5" maxlength="5">
</div></td>
<td><div align="center">
<textarea name="beschreibung12" cols="50" rows="2" id="beschreibung12"></textarea>
</div></td>
</tr>
<tr>
<td valign="top">
<div align="center">
<input name="menge13" type="text" id="menge13" size="5" maxlength="5">
</div></td>
<td><div align="center">
<textarea name="beschreibung13" cols="50" rows="2" id="beschreibung13"></textarea>
</div></td>
</tr>
<tr>
<td valign="top">
<div align="center">
<input name="menge14" type="text" id="menge14" size="5" maxlength="5">
</div></td>
<td><div align="center">
<textarea name="beschreibung14" cols="50" rows="2" id="beschreibung14"></textarea>
</div></td>
</tr>
<tr>
<td valign="top">
<div align="center">
<input name="menge15" type="text" id="menge15" size="5" maxlength="5">
</div></td>
<td><div align="center">
<textarea name="beschreibung15" cols="50" rows="2" id="beschreibung15"></textarea>
</div></td>
</tr>
<tr>
<td> </td>
<td> </td>
</tr>
<tr>
<td> </td>
<td>
<input type="hidden" name="subject" value="Kontaktaufnahme über Webseite">
<input type="hidden" name="recipient" value="lars@tubies.de">
<input type="hidden" name="type" value="1">
<input type="hidden" name="redirect" value="{SITE}index.php?erfolgreich" id="redirect" />
<input type="hidden" name="redirect_error" value="{SITE}index.php?fehler" id="redirect_error" />
<input type="submit" name="submit" value="Bestellung abschicken"></td>
</tr>
</table>
</form>
// smtp values
$phpwcms['SMTP_FROM_EMAIL'] = '
lars@tubies.de'; // reply/from email address
$phpwcms['SMTP_FROM_NAME'] = 'Medishop'; // reply/from name
$phpwcms['SMTP_HOST'] = 'localhost'; // SMTP server (host/IP)
$phpwcms['SMTP_PORT'] = 25; // SMTP-Server port (default 25)
$phpwcms['SMTP_MAILER'] = 'mail'; // default phpMailer: smtp, mail (default), sendmail
$phpwcms['SMTP_AUTH'] = 0; // sets SMTP_AUTH to ON/OFF
$phpwcms['SMTP_USER'] = ''; // default SMTP login (user) name
$phpwcms['SMTP_PASS'] = ''; // default SMTP password