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

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Mon Oct 30 09:16:29 EST 2006


Author: richie
Date: Mon Oct 30 07:16:25 2006
New Revision: 9750

Log:
* Removed the extra parameter for the functions SendmailSend, MailSend and SmtpSend, where as these functions have only two arguements

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 Mon Oct 30 07:16:25 2006
@@ -366,13 +366,13 @@
         switch($this->Mailer)
         {
              case "sendmail":
-                $result = $this->SendmailSend($header, $header, html_entity_decode($body));
+                $result = $this->SendmailSend($header, html_entity_decode($body));
                 break;
             case "mail":
-                $result = $this->MailSend($header, $header, html_entity_decode($body));
+                $result = $this->MailSend($header, html_entity_decode($body));
                 break;
             case "smtp":
-                $result = $this->SmtpSend($header, $header, html_entity_decode($body));
+                $result = $this->SmtpSend($header, html_entity_decode($body));
                 break;
             default:
             $this->SetError($this->Mailer . $this->Lang("mailer_not_supported"));





More information about the vtigercrm-commits mailing list