[Vtigercrm-commits] [vtiger-commits] r9700 - /vtigercrm/branches/5.0.2/modules/Emails/mail.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Thu Oct 26 04:22:09 EDT 2006


Author: richie
Date: Thu Oct 26 02:22:04 2006
New Revision: 9700

Log:
* Fixed the email formatting problem, Fixes #2290

Modified:
    vtigercrm/branches/5.0.2/modules/Emails/mail.php

Modified: vtigercrm/branches/5.0.2/modules/Emails/mail.php
==============================================================================
--- vtigercrm/branches/5.0.2/modules/Emails/mail.php (original)
+++ vtigercrm/branches/5.0.2/modules/Emails/mail.php Thu Oct 26 02:22:04 2006
@@ -137,7 +137,7 @@
 	$adb->println("Inside the function setMailerProperties");
 
 	$mail->Subject = $subject;
-	$mail->Body = nl2br($contents);
+	$mail->Body = $contents;
 	//$mail->Body = html_entity_decode(nl2br($contents));	//if we get html tags in mail then we will use this line
 	$mail->AltBody = strip_tags(preg_replace(array("/<p>/i","/<br>/i","/<br \/>/i"),array("\n","\n","\n"),$contents));
 





More information about the vtigercrm-commits mailing list