[TYPO3-german] Problem mit Typo3 t3lib_htmlmail

thE_iNviNciblE the_invincible at gmx.de
Tue Jan 23 19:15:38 CET 2007


Hallo,

ich würde gerne wissen warum ich keine eMail verschicken kann.

Was ist falsch an diesem Quellcode ?
Ich habe das assoc Array $head_data überprüft, da sind alle werte
richtig drin.

    # check is t3lib_htmlmail is available
                $cls=t3lib_div::makeInstanceClassName('t3lib_htmlmail');

                if (class_exists($cls))  {
                        $Typo3_htmlmail =
t3lib_div::makeInstance('t3lib_htmlmail');
                        $Typo3_htmlmail->start();
                        $Typo3_htmlmail->useBase64();

                        $Typo3_htmlmail->subject =
$head_data['email_subject'];
                        $Typo3_htmlmail->from_email =
$head_data['email_senderemail'];
                        $Typo3_htmlmail->from_name =
$head_data['email_senderemail'];
                        $Typo3_htmlmail->replyto_email =
$head_data['email_senderemail'];
                        $Typo3_htmlmail->replyto_name =
$head_data['email_senderemail'];
                        $Typo3_htmlmail->organisation = '';
                        $Typo3_htmlmail->priority = 3;

                        $Typo3_htmlmail->addHTML($content);
                        #$Typo3_htmlmail->addPlain($plain_message);

                        $Typo3_htmlmail->setHeaders();
                        $Typo3_htmlmail->setContent();
                       
$Typo3_htmlmail->setRecipient($form_data['eMail']);


                        $Typo3_htmlmail->sendtheMail();
                }
                else {
                 echo "<h1> Fehler kein HTML-Lib gefunden</h1>";
                 $bErr = true;
                }

Wer hat eine idee ?

-- 
MfG Jan Bludau
-----------------
"Wissen ist Macht" - Sir Francis Bacon (1597)

visit: http://www.tsecurity.de
visit: http://forum.tsecurity.de
visit: http://your-mind-is-free.tsecurity.de



More information about the TYPO3-german mailing list