[TYPO3] Email encoding
Peter Klein
peter at umloud.dk
Wed Sep 12 22:22:47 CEST 2007
Hi Lasse.
Look at "t3lib_htmlmail" ("t3lib/class.t3lib_htmlmail.php").
It contains all the functions you need for sending out HTML encoded emails.
--
Peter Klein / Umloud Untd
"Lasse Guldsborg" <lasse at clioonline.dk> wrote in message
news:mailman.1.1189590609.25742.typo3-english at lists.netfielders.de...
> Hi list
>
> I have made an extension in which I (among other things) am sending a mail
> to the FE user.
> The mail code is as below:
>
> $subject = "My header";
> $headers = "From: Lasse Guldsborg <my at email.dk>";
> $message = "My email message";
> $reciever = "reciever at email.dk";
> t3lib_div::plainMailEncoded($reciever,$subject,$message,$headers);
>
> It works, but the email is sending in plain text. I would like to send it
> as HTML, or at least be able to use tags like "bold", "italic" and so on.
> I have tried reading about mail encoding, but I'm not getting anywhere.
>
> Can anyone tell me what I should do?
>
> Best regards,
> Lasse Guldsborg
>
More information about the TYPO3-english
mailing list