Jeff Zaroyko : decode any stray html entities in outgoing mail

Chris Morgan cmorgan at winehq.org
Mon Feb 25 22:08:46 CST 2008


Module: appdb
Branch: master
Commit: bb0eca8af02b68c93451bbe2213f3a63f37ce863
URL:    http://source.winehq.org/git/appdb.git/?a=commit;h=bb0eca8af02b68c93451bbe2213f3a63f37ce863

Author: Jeff Zaroyko <jeffzaroyko at gmail.com>
Date:   Tue Feb 26 15:00:31 2008 +1100

decode any stray html entities in outgoing mail

---

 include/mail.php |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/include/mail.php b/include/mail.php
index d1df774..1c8fb65 100644
--- a/include/mail.php
+++ b/include/mail.php
@@ -36,6 +36,7 @@ function mail_appdb($sEmailList,$sSubject,$sMsg)
         return;
     }
 
+    $sMsg = html_entity_decode($sMsg);
     $bResult = mail(APPDB_SENDER_EMAIL, "[AppDB] ".$sSubject, $sMsg, $sHeaders,
                     "-f".APPDB_SENDER_EMAIL);
     if($bResult)




More information about the wine-cvs mailing list