3 * Localize the mail functions
\r
5 * The English localization is solely for demonstration
\r
7 // Do not change the class name
\r
8 class XoopsMailerLocal extends XoopsMailer
\r
11 function XoopsMailerLocal() {
\r
12 $this->XoopsMailer();
\r
13 // It is supposed no need to change the charset
\r
14 $this->charSet = strtolower( _CHARSET );
\r
15 // You MUST specify the language code value so that the file exists: XOOPS_ROOT_PAT/class/mail/phpmailer/language/lang-["your-language-code"].php
\r
16 $this->multimailer->SetLanguage("en");
\r
19 // Multibyte languages are encouraged to make their proper method for encoding FromName
\r
20 function encodeFromName($text)
\r
22 // Activate the following line if needed
\r
23 // $text = "=?{$this->charSet}?B?".base64_encode($text)."?=";
\r
27 // Multibyte languages are encouraged to make their proper method for encoding Subject
\r
28 function encodeSubject($text)
\r
30 // Activate the following line if needed
\r
31 // $text = "=?{$this->charSet}?B?".base64_encode($text)."?=";
\r