Fixed bug #13625: Scheduler: tx_scheduler_TestTask fails to execute successfully...
authorFrancois Suter <francois.suter@typo3.org>
Sat, 3 Apr 2010 14:35:16 +0000 (14:35 +0000)
committerFrancois Suter <francois.suter@typo3.org>
Sat, 3 Apr 2010 14:35:16 +0000 (14:35 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@7238 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/sysext/scheduler/examples/class.tx_scheduler_testtask.php

index b1ce2b2..1fc7749 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,7 @@
 2010-04-03  Francois Suter  <francois@typo3.org>
 
        * Cleanup #13869: Scheduler: editTasks() calls all registered tasks to edit just one
+       * Fixed bug #13625: Scheduler: tx_scheduler_TestTask fails to execute successfully due to missing mail initialization (thanks to Marc Bastian Heinrichs)
 
 2010-04-01  Tobias Liebig  <mail_typo3@etobi.de>
 
index 67e5dc0..1d0da18 100644 (file)
@@ -92,6 +92,7 @@ class tx_scheduler_TestTask extends tx_scheduler_Task {
 
                                // Prepare mailer and send the mail
                        $mailer = t3lib_div::makeInstance('t3lib_htmlmail');
+                       $mailer->start();
                        $mailer->from_email = $this->email;
                        $mailer->from_name = 'SCHEDULER TEST-TASK';
                        $mailer->replyto_email = $this->email;