[Vtigercrm-developers] [vtiger-commits] r3873 - /vtigercrm/branches/4.2/modules/Emails/send_mail.php

vtiger-commits at vtiger.fosslabs.com vtiger-commits at vtiger.fosslabs.com
Tue Feb 21 16:28:40 PST 2006


Author: mfedyk
Date: Tue Feb 21 17:28:38 2006
New Revision: 3873

Log:
Fix html emails sent with tags viewable, by briand. fixes #22

Modified:
    vtigercrm/branches/4.2/modules/Emails/send_mail.php

Modified: vtigercrm/branches/4.2/modules/Emails/send_mail.php
==============================================================================
--- vtigercrm/branches/4.2/modules/Emails/send_mail.php (original)
+++ vtigercrm/branches/4.2/modules/Emails/send_mail.php Tue Feb 21 17:28:38 2006
@@ -55,7 +55,7 @@
 	$vtlog->logthis("Current logged in users signature is added with body of the email => ".$sign,'info');
 
 	$mail->Subject = $subject;
-	$mail->Body    = nl2br($contents);//"This is the HTML message body <b>in bold!</b>";
+	$mail->Body    = html_entity_decode(nl2br($contents));//"This is the HTML message body <b>in bold!</b>";
 
 	$initialfrom = $from;
 





More information about the vtigercrm-developers mailing list