User Login    
 + Register
  • Main navigation
Vote for XOOPS!!!!
Login
Username:

Password:


Lost Password?

Register now!
Documentation
Who's Online
84 user(s) are online (4 user(s) are browsing XoopsWiki)

Members: 2
Guests: 82

burfodus, ponsy, more...
[Main Page]

Dev:XoopsMailerLocal

From XOOPS Project

Main Page | Recent changes | Edit this page | Page history | Switch to MediaWiki mode

Printable version | Disclaimers | Privacy policy
Category: Development

The XOOPS mailer uses ISO-8859-1 as the default encoding. XOOPS Core Translations

The mailer will test for the presence of a xoopsmailerlocal.php file in the language directory, but if no file is found then the ISO-8859-1 default will be used for all emails. Changing the XOOPS mailer encoding

Languages which need a different encoding can easily change the default by including a file called 'xoopsmailerlocal.php' in the core language directory (XOOPS_URL/languages/[language name]/ ) An example of use

The xoopsmailerlocal.php file should have one class (see the example file below). This class is used to set the defaults for the language.

<?php

class XoopsMailerLocal extends XoopsMailer {

       function XoopsMailerLocal(){
               $this->XoopsMailer();
               $this->charSet = 'utf-8';
       }

} ?>

back to dev:Main Page

Retrieved from "http://www.xoops.org/modules/mediawiki/index.php/Dev:XoopsMailerLocal"

This page has been accessed 468 times. This page was last modified 01:47, 16 December 2007. Content is available under XOOPS Project.


Local Support Sites
Powered by
XOOPS Code hosted on SourceForge

Powered by PHP



Powered by MySQL

Powered by Smarty

OSI certified

All content on this site is subject to the Creative Commons License
Developers for Hire