<?php

class user_test_13678 {
        var $cObj;

        public function main($content, $conf) {
                $this->htmlMail = t3lib_div::makeInstance('t3lib_htmlmail');
                $this->htmlMail->start();
                $this->htmlMail->recipient = $conf['recipient'];
                $this->htmlMail->recipient_copy = 'null';
                $this->htmlMail->subject = 'Testing #13678';
                $this->htmlMail->from_email = $conf['recipient'];
                $this->htmlMail->from_name = 'TYPO3 Test Mail';
                $this->htmlMail->addPlain('This is a test-mail for http://bugs.typo3.org/view.php?id=13678');
                $this->htmlMail->setHTML($this->htmlMail->encodeMsg('This is a test-mail for <a href="http://bugs.typo3.org/view.php?id=13678">#13678</a>'));
                return $this->htmlMail->send($conf['recipient']);
        }
}