decode any stray html entities in outgoing mail
This commit is contained in:
committed by
Chris Morgan
parent
4f27788072
commit
bb0eca8af0
@@ -36,6 +36,7 @@ function mail_appdb($sEmailList,$sSubject,$sMsg)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$sMsg = html_entity_decode($sMsg);
|
||||||
$bResult = mail(APPDB_SENDER_EMAIL, "[AppDB] ".$sSubject, $sMsg, $sHeaders,
|
$bResult = mail(APPDB_SENDER_EMAIL, "[AppDB] ".$sSubject, $sMsg, $sHeaders,
|
||||||
"-f".APPDB_SENDER_EMAIL);
|
"-f".APPDB_SENDER_EMAIL);
|
||||||
if($bResult)
|
if($bResult)
|
||||||
|
|||||||
Reference in New Issue
Block a user