[TYPO3] Email encoding

Lasse Guldsborg lasse at clioonline.dk
Wed Sep 12 11:50:08 CEST 2007


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