[TYPO3] Email encoding
Lasse Guldsborg
lasse at clioonline.dk
Mon Oct 1 13:39:54 CEST 2007
Thanks guys! =)
Best regards,
Lasse
"Peter Klein" <peter at umloud.dk> skrev i en meddelelse
news:mailman.1.1189628570.1152.typo3-english at lists.netfielders.de...
> 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