When I tried to
Code: Select all
include($_SERVER['DOCUMENT_ROOT'] . "/Swift-4.0.6/lib/swift_required.php");Code: Select all
function __autoload($class_name)
{
require_once CLASSES_PATH.$class_name . '.cls.php';
}
Code: Select all
include($_SERVER['DOCUMENT_ROOT'] . "/Swift-4.0.6/lib/swift_init.php");Should I not be auto loading the classes in my application in this manner? Or can I do something here to make swiftmail work?