bei kommt als Absender-Adresse bei der Bestätigungsmail folgendes:
Code: Alles auswählen
WWW daemon apache [wwwrun@p15154003.pureserver.info]
Code: Alles auswählen
WWW daemon apache [wwwrun@p15154003.pureserver.info]
Code: Alles auswählen
<?php
switch ($lang):
case 0: /* There is never a language with id 0, just an example */
$msg = array ("htmlName" => "Your name:",
"htmlEMail" => "Your e-mail:",
"txtSubscribe" => "Subscribe",
"txtUnsubscribe" => "Cancel",
"txtOK" => "OK");
break;
default: /* Use this area for your preferred (or only) language */
$msg = array ("htmlName" => "Ihr Name:",
"htmlEMail" => "Ihre eMail-Adresse:",
"txtSubscribe" => "Anmelden",
"txtUnsubscribe" => "Abmelden",
"txtOK" => "OK");
endswitch;
?>
<form name="frmNewsletter" method="post" action="<?php echo "front_content.php?changelang=".$lang ?>">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><?php echo $msg["htmlName"]; ?></td>
<td><input name="emailname" type="text"></td>
</tr>
<tr>
<td><?php echo $msg["htmlEMail"]; ?></td>
<td><input name="email" type="text"><input type="hidden" name="idcatart" value="<?php echo $newsletteridcatart; ?>"></td>
</tr>
<tr>
<td> </td>
<td><select name="action" id="action">
<option value="subscribe" selected><?php echo $msg["txtSubscribe"]; ?></option>
<option value="delete"><?php echo $msg["txtUnsubscribe"]; ?></option>
</select></td>
</tr>
<tr>
<td> </td>
<td><input name="subscribe" type="submit" id="subscribe" value="<?php echo $msg["txtOK"]; ?>"></td>
</tr>
</table>
</form>
Code: Alles auswählen
<input type="hidden" name="idcatart" value="<?php echo $newsletteridcatart; ?>"><input type="hidden" name="action" value="subscribe">