Gelöst, es lag wohl an der funktions.lib.php
Code:function usermail($an, $betreff, $nachricht, $von) { $nachricht = strip_tags ($nachricht); $text = str_replace(' www.',' https://www.',$text); $pattern = '#([^\"=>]|(?:r />))(https://)([^\s<>,]+(?=\.\s)|[^\s<>,]+)([\s\n<>,\.])#sm'; $replacement = "$1<a title=\"der Link zu dieser URL wurde automatisch hinzugefügt\" target=\"extern\" href=\"$2$3\">$2$3</a>$4"; $html_text = preg_replace($pattern,$replacement,$nachricht); $html_nachricht = '<HTML><HEAD><STYLE TYPE="text/css"><!--\nH1 {font-family: Verdana; font-size: 18pt}\nBODY {font-family: Verdana; font-size: 10pt; margin-left: 30px}\n// -->\n</STYLE></HEAD><BODY BGCOLOR="beige"><H1>'.$betreff.'</H1>'; $html_nachricht.= nl2br($html_text); $html_nachricht.= '</BODY></HTML>'; $Header = "MIME-Version: 1.0\n"; $Header .= "Content-type: text/html; charset=iso-8859-1\n"; $Header .= "From: ".$von."\n"; return(@mail($an, $betreff, $html_nachricht, $Header)); }




Zitieren
