API16

API16:JMail/ construct

From Joomla! Documentation

Description

Constructor


<! removed transcluded page call, red link never existed >

Syntax

__construct()


Defined in

libraries/joomla/mail/mail.php

Importing

jimport( 'joomla.mail.mail' );

Source Body

public function __construct()
{
        // PHPMailer has an issue using the relative path for it's language files
        $this->SetLanguage('joomla', JPATH_LIBRARIES.DS.'phpmailer'.DS.'language'.DS);
}


<! removed transcluded page call, red link never existed >

Examples

Code Examples