Fix: Detection if html tag already in mail content
This commit is contained in:
parent
92f5244673
commit
92cc51d9ed
@ -350,7 +350,7 @@ class CMailFile
|
||||
{
|
||||
// Check if html header already in message
|
||||
$htmlalreadyinmsg=0;
|
||||
if (eregi('^[ \t]*<html>',$msgtext)) $htmlalreadyinmsg=1;
|
||||
if (eregi('^[ \t]*<html',$msgtext)) $htmlalreadyinmsg=1;
|
||||
|
||||
if (! $htmlalreadyinmsg) $out .= "<html><head><title></title></head><body>";
|
||||
$out.= $msgtext;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user