2007-05-04 17:28:50 -04:00
|
|
|
<?php
|
2011-04-21 16:29:30 -04:00
|
|
|
|
2007-05-04 17:28:50 -04:00
|
|
|
/**
|
2020-06-12 11:47:07 -04:00
|
|
|
* The SMTP class has been moved to the wp-includes/PHPMailer subdirectory and now uses the PHPMailer\PHPMailer namespace.
|
2007-05-04 17:28:50 -04:00
|
|
|
*/
|
2020-06-12 17:42:09 -04:00
|
|
|
_deprecated_file(
|
|
|
|
basename( __FILE__ ),
|
|
|
|
'5.5.0',
|
|
|
|
WPINC . '/PHPMailer/SMTP.php',
|
|
|
|
__( 'The SMTP class has been moved to the wp-includes/PHPMailer subdirectory and now uses the PHPMailer\PHPMailer namespace.' )
|
|
|
|
);
|
|
|
|
|
2021-01-26 08:45:57 -05:00
|
|
|
require_once __DIR__ . '/PHPMailer/SMTP.php';
|
2020-06-12 17:42:09 -04:00
|
|
|
|
|
|
|
class_alias( PHPMailer\PHPMailer\SMTP::class, 'SMTP' );
|