Ich will eine Email schicken die dann als HTML Seite geöffnet wird und das klappt nicht:
Wo liegt der Fehler?
Code:
$text="<HTML>\n<HEAD>\n<TITLE>Registrieung</TITLE>\n<META HTTP-EQUIV=\"Content-Type\" CONTENT=\"text/html; charset=iso-8859-1\">\n</HEAD>\n"; $text.="<BODY BGCOLOR='#ffffff' LEFTMARGIN='0' TOPMARGIN='0' MARGINWIDTH='0' MARGINHEIGHT='0'>\n"; $text.="<div style=\"position:absolute; bottom:50%; top:50%; left:1px; right:1px;\">\n"; $text.="<table style=\"width:100%;\">\n"; $text.="<tr valign=\"middle\" align=\"center\">\n"; ['email']."0"; $code=md5($code); $text.="<td><span class=\"normalfont\">".$_GET['login'].", Sie wurden erfolgreich angemeldet.</span> \n"; $text.="<span class=\"smallfont\"><a href=\"activate.php?login=".$_GET['login']."&code=".$code."\">Account aktivieren</a>, muss aber danach noch vom Webmaster freigeschaltet werden</span></td>\n"; $text.="</tr>\n</table>\n</div>\n</body>\n</html>";
Kommentar