Fixed bug #13678: Bug: htmlmail send mail twice if cc recipient is set
authorFrancois Suter <francois.suter@typo3.org>
Fri, 26 Mar 2010 13:52:09 +0000 (13:52 +0000)
committerFrancois Suter <francois.suter@typo3.org>
Fri, 26 Mar 2010 13:52:09 +0000 (13:52 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@7175 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
t3lib/class.t3lib_htmlmail.php

index c8b75f2..fef4aff 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -6,7 +6,8 @@
 
 2010-03-26  Francois Suter  <francois@typo3.org>
 
-       * Fixed bug #3716: includeCSS changed behavior, must default to media="all" (thanks to internezzo ag)
+       * Fixed bug #13716: includeCSS changed behavior, must default to media="all" (thanks to internezzo ag)
+       * Fixed bug #13678: Bug: htmlmail send mail twice if cc recipient is set (thanks to Robert Heel)
 
 2010-03-25  Ernesto Baschny  <ernst@cron-it.de>
 
index f1aa074..631bf98 100644 (file)
@@ -747,21 +747,6 @@ class t3lib_htmlmail {
                                  $this->headers);
                }
 
-                       // Sending a copy
-               if ($recipient_copy) {
-                       if ($returnPathPossible) {
-                               $mailWasSent = mail($recipient_copy,
-                                       $this->subject,
-                                       $this->message,
-                                       $this->headers,
-                                       $returnPath);
-                       } else {
-                               $mailWasSent = mail($recipient_copy,
-                                       $this->subject,
-                                       $this->message,
-                                       $this->headers);
-                       }
-               }
                        // Auto response
                if ($this->auto_respond_msg) {
                        $theParts = explode('/',$this->auto_respond_msg,2);