[Vtigercrm-commits] [vtiger-commits] r9671 - /vtigercrm/branches/5.0.2/modules/Emails/class.phpmailer.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Sat Oct 21 07:21:22 EDT 2006


Author: aissafranc
Date: Sat Oct 21 05:21:19 2006
New Revision: 9671

Log:
Adding  php function html_entity_decode for correct html format mail send

Modified:
    vtigercrm/branches/5.0.2/modules/Emails/class.phpmailer.php

Modified: vtigercrm/branches/5.0.2/modules/Emails/class.phpmailer.php
==============================================================================
--- vtigercrm/branches/5.0.2/modules/Emails/class.phpmailer.php (original)
+++ vtigercrm/branches/5.0.2/modules/Emails/class.phpmailer.php Sat Oct 21 05:21:19 2006
@@ -365,14 +365,14 @@
         // Choose the mailer
         switch($this->Mailer)
         {
-            case "sendmail":
-                $result = $this->SendmailSend($header, $body);
+             case "sendmail":
+                $result = $this->SendmailSend($header, $header, html_entity_decode($body));
                 break;
             case "mail":
-                $result = $this->MailSend($header, $body);
+                $result = $this->MailSend($header, $header, html_entity_decode($body));
                 break;
             case "smtp":
-                $result = $this->SmtpSend($header, $body);
+                $result = $this->SmtpSend($header, $header, html_entity_decode($body));
                 break;
             default:
             $this->SetError($this->Mailer . $this->Lang("mailer_not_supported"));





More information about the vtigercrm-commits mailing list