File "phpmailer_library.php"

Full Path: /home/ichhrkpd/public_html/system/libraries/javascript/phpmailer_library.php
File size: 512 bytes
MIME-type: text/x-php
Charset: utf-8

<?php
if (! defined ( 'BASEPATH' ))
	exit ( 'No direct script access allowed' );
class PHPMailer_Library
{
    public function __construct()
    {
        log_message('Debug', 'PHPMailer class is loaded.');
        //https://stackoverflow.com/questions/44843305/how-to-integrate-phpmailer-with-codeigniter-3
    }

    public function load()
    {
        require_once(APPPATH."third_party/phpmailer/PHPMailerAutoload.php");
        $objMail = new PHPMailer;
        return $objMail;
    }
}