decode any stray html entities in outgoing mail

This commit is contained in:
Jeff Zaroyko
2008-02-26 15:00:31 +11:00
committed by Chris Morgan
parent 4f27788072
commit bb0eca8af0

View File

@@ -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)