Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
File Manager
/
system
/
libraries
:
phpmailer_library.php
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
<?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; } }