API16

JMail/ construct

From Joomla! Documentation

< API16:JMail

The "API16" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.

Description[edit]

Constructor


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

Syntax[edit]

__construct()


Defined in[edit]

libraries/joomla/mail/mail.php

Importing[edit]

jimport( 'joomla.mail.mail' );

Source Body[edit]

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[edit]

Code Examples[edit]