diff --git a/library/CM/RenderAdapter/Mail.php b/library/CM/RenderAdapter/Mail.php index 026c2e006..8395d16ff 100644 --- a/library/CM/RenderAdapter/Mail.php +++ b/library/CM/RenderAdapter/Mail.php @@ -27,9 +27,7 @@ public function fetch() { $html = $htmlBody; } if ($mail->getRecipient()) { - $imageTag = ''; - $html = preg_replace('##', $imageTag . '$0', $html); + $html = preg_replace('##', $this->_getTrackingImageTag($mail) . '$0', $html); } if (!($text = $mail->getText())) { @@ -56,6 +54,15 @@ public function fetch() { return array($subject, $html, $text); } + /** + * @param CM_Mail $mail + * @return string + */ + protected function _getTrackingImageTag(CM_Mail $mail) { + return ''; + } + /** * @param string $tplName * @throws CM_Exception_Invalid