Index: typo3/sysext/linkvalidator/classes/tasks/class.tx_linkvalidator_tasks_validate.php =================================================================== --- typo3/sysext/linkvalidator/classes/tasks/class.tx_linkvalidator_tasks_validate.php (revision 10057) +++ typo3/sysext/linkvalidator/classes/tasks/class.tx_linkvalidator_tasks_validate.php (revision ) @@ -169,27 +169,16 @@ $markerArray['totalBrokenLink_old'] = $this->oldTotalBrokenLink; $content = t3lib_parsehtml::substituteMarkerArray($content, $markerArray, '###|###', TRUE, TRUE); - $Typo3_htmlmail = t3lib_div::makeInstance('t3lib_htmlmail'); - $Typo3_htmlmail->start(); - $Typo3_htmlmail->useBase64(); + /** @var t3lib_mail_Message $mail */ + $mail = t3lib_div::makeInstance('t3lib_mail_Message'); + $mail->setFrom(array($modTS['mail.']['fromemail'] => $modTS['mail.']['fromname'])); + $mail->setReplyTo(array($modTS['mail.']['replytoemail'] => $modTS['mail.']['replytoname'])); + $mail->setSubject($modTS['mail.']['subject']); + $mail->setTo(array($this->email)); + $mail->setBody($content); + $mail->send(); - $convObj = t3lib_div::makeInstance('t3lib_cs'); - - $charset = $convObj->parse_charset($GLOBALS['TYPO3_CONF_VARS']['BE']['forceCharset'] ? $GLOBALS['TYPO3_CONF_VARS']['BE']['forceCharset'] : 'utf-8'); - $Typo3_htmlmail->subject = $convObj->conv($modTS['mail.']['subject'], $charset, $modTS['mail.']['encoding'], 0); - $Typo3_htmlmail->from_email = $modTS['mail.']['fromemail']; - $Typo3_htmlmail->from_name = $modTS['mail.']['fromname']; - $Typo3_htmlmail->replyto_email = $modTS['mail.']['replytoemail']; - $Typo3_htmlmail->replyto_name = $modTS['mail.']['replytoname']; - - //$Typo3_htmlmail->addPlain($mcontent); - $Typo3_htmlmail->setHTML($Typo3_htmlmail->encodeMsg($convObj->conv($content, $charset, $modTS['mail.']['encoding'], 0))); - - $Typo3_htmlmail->setHeaders(); - $Typo3_htmlmail->setContent(); - $Typo3_htmlmail->setRecipient($this->email); - - return $Typo3_htmlmail->sendtheMail(); + return; }