DEPRECATION WARNING
This documentation is not using the current rendering mechanism and is probably outdated. The extension maintainer should switch to the new system. Details on how to use the rendering mechanism can be found here.
EXT: KB Mail Charset¶
Author: | Kasper Skårhøj |
---|---|
Created: | 2002-11-01T00:32:00 |
Changed: | 2005-02-22T23:49:15 |
Author: | Kraft Bernhard |
Email: | kraftb@gmx.net |
Info 3: | |
Info 4: |
EXT: KB Mail Charset¶
Extension Key: kb_mailcs
Copyright 2000-2002, Kraft Bernhard, <kraftb@gmx.net>
This document is published under the Open Content License
available from http://www.opencontent.org/opl.shtml
The content of this document is related to TYPO3
- a GNU/GPL CMS/Framework available from www.typo3.com
Table of Contents¶
EXT: KB Mail Encoding 1
Introduction 1
What does it do? 1
Adminstration 1
Known problems 1
To-Do list 1
Changelog 1
Introduction¶
What does it do?¶
This extension sets the Character Set of Mails sent using the classes class.t3lib_htmlmail.php, class.t3lib_dmailer.php and class.t3lib_formmail.php. So this is true for Form-Mails and Mails sent via the Direct-Mailer Engine (Newsletters). The Character set get set to different values depending on which class gets used. If the basic htmlmail class is used the value “forceCharset” which is configurable via the Install-Tool is used. For the dmailer class the character set is extracted out of the page which shall get sent. If not found the “forceCharset” value is used. For Formmails a TS Setup value is used.
Adminstration¶
Just install the extension, clear the cache. Then you will have to do different thing depending on where you want the charset to get set.
Newsletter Mails sent via Direct Mail¶
For this to work nothing has to be done. The character set which shall get used gets simply extracted out of the Page which gets sent. If no meta tag defining the charset is found the “forceCharset” value setable via the Install Tool is used.
Formmail Mails¶
To set the character set of a formmail (Typo3 Formular) use the following TS Syntax and add it to one of your template which are responsible for the Mailform page.
config.tx_kbmailcs_formMailCharset = utf-8
Mails sent from extensions via htmlmail class¶
For this to work you will need to set the “forceCharset” value setable via the Install Tool
Known problems¶
This or even a, a little bit better, code should get inserted into the core so character-sets are respected in the direct-mailer and htmlmail classes by default. I will try to get such code into the core.
To-Do list¶
Get the functionality into the core
Changelog¶
(2005-02-21, 16:30)
Initial release
(2005-02-21, 16:45)
Changed documentation
(2005-02-22, 00:00)
Added support for formmails (thought this was supported but didn't extend formmail class). Modified dmailer class so charset gets extracted from page
EXT: KB Mail Charset - 2