[Typo3] UTF-8 in Mails

Robert Markula robert.markula at gmx.net
Tue Jun 21 11:27:22 CEST 2005


Krystian Szymukowicz wrote:
> well - maybe try to make some changes in
> class.t3lib_div.php
> function plainMailEncoded
> line: 3589

That was it. Amazing. I had to set this line to:

function 
plainMailEncoded($email,$subject,$message,$headers='',$enc='base64',$charset='UTF-8',$dontEncodeSubject=0) 
{

to get the headers I wanted.

But why isn't this just set by the TS values 
'config.notification_email_encoding' and 
'config.notification_email_charset'?

And why does the htmlmail class have no effect on the headers of 
plaintext mails?

Regards,
Ro



More information about the TYPO3-english mailing list