LoMo
Erfahrenes Mitglied
PHP:
$text01 = '<html>
<head>
<title></title>
<style type="text/css">
<!--
.Stil1 {
font-family: Arial, Helvetica, sans-serif;
font-weight: bold;
font-size: 14px;
}
body,td,th {
color: #000000;
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
}
a {
font-size: 12px;
color: #0033FF;
font-weight: bold;
}
a:link {
text-decoration: none;
}
a:visited {
text-decoration: none;
color: #FF0000;
}
a:hover {
text-decoration: none;
color: #FF0000;
}
a:active {
text-decoration: none;
color: #FF0000;
}
-->
</style>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"></head>
<body bgcolor="#E0F2FF">
<table width="100%">
<tr>
<td align="center" valign="top"><span class="Stil1">Passwort</span></td>
</tr>
<tr>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><b>KDNR: <b>'.$objekt->KDNR.'</td>
</tr>
<tr>
<td><b>Passwort: <b>'.$objekt->Passwort.'</td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td><a href="www.bla-bla.de" target="_blank">http://www.bla-bla.de</a></td>
</tr>
</table>
</body>
</html>
';
PHP:
if (mail($objekt->EMail,"Passwort Erinnerung",htmlentities($text01),"From: Bla Bla"))
{
echo '<table width="100%"><tr><td><center><span class="Warntext">Ihre Passwort wurde an Sie per E-Mail gesendet</span></center></td></tr></table>';
}
else
{
echo '<table width="100%"><tr><td><center><span class="Warntext">Fehler: E-Mail konnte nicht gesendet werden</span></center></td></tr></table>';
}
Ich mal wieder

Weiss jemand woran das liegen könnte ?
mfg lomo