Location: PHPKode > projects > MyOWNSpace > MyOWNspace_v8.2/www/classes/mail.myownspace.php
<?
require("class.phpmailer.php");

class myownspace_phpmailer extends phpmailer {
    // Set default variables for all new objects
    var $From     = "<hide@address.com>";
    var $FromName = "MyOwnSpace";
    var $Host     = "localhost";
    var $Mailer   = "smtp";                         // Alternative to IsSMTP()
    var $WordWrap = 75;

    // Replace the default error_handler
    function error_handler($msg) {
        print("My Site Error");
        print("Description:");
        printf("%s", $msg);
        exit;
    }

    // Create an additional function
    function do_something($something) {
        // Place your new code here
    }
}
?>
Return current item: MyOWNSpace