Skip to content

Commit

Permalink
See changelog.
Browse files Browse the repository at this point in the history
  • Loading branch information
Synchro committed Jul 30, 2013
1 parent 6763d1b commit 6720e98
Show file tree
Hide file tree
Showing 16 changed files with 694 additions and 404 deletions.
33 changes: 33 additions & 0 deletions PHPMailerAutoload.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
<?php
/**
* PHPMailer - PHP email creation and transport class
* PHP Version 5.0.0
* @package PHPMailer
* @link https://github.com/PHPMailer/PHPMailer/
* @author Marcus Bointon (coolbru) phpmailer@synchromedia.co.uk
* @author Jim Jagielski (jimjag) jimjag@gmail.com
* @author Andy Prevost (codeworxtech) codeworxtech@users.sourceforge.net
* @author Brent R. Matzelle (original founder)
* @copyright 2013 Marcus Bointon
* @copyright 2010 - 2012 Jim Jagielski
* @copyright 2004 - 2009 Andy Prevost
* @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License
* @note This program is distributed in the hope that it will be useful - WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE.
*/

/**
* Define an SPL autoloader for PHPMailer classes
* @param string The name of the class to load
*/
function PHPMailerAutoload($classname)
{
//Can't use __DIR__ as it's only in PHP 5.3+
$filename = dirname(__FILE__).DIRECTORY_SEPARATOR.'class.'.strtolower($classname).'.php';
if (is_readable($filename)) {
require $filename;
}
}

spl_autoload_register('PHPMailerAutoload');
3 changes: 3 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@
* Add unit tests for DKIM
* Major refactor of SMTP class
* Reformat to PSR-2 coding standard
* Introduce autoloader
* Allow overriding of SMTP class
* Overhaul of PHPDocs

## Version 5.2.6 (April 11th 2013)
* Reflect move to PHPMailer GitHub organisation at https://github.com/PHPMailer/PHPMailer
Expand Down
Loading

0 comments on commit 6720e98

Please sign in to comment.