2007-05-04 23:28:50 +02:00
|
|
|
<?php
|
2011-04-21 22:29:30 +02:00
|
|
|
|
2007-05-04 23:28:50 +02:00
|
|
|
/**
|
2020-06-12 17:47:07 +02:00
|
|
|
* The SMTP class has been moved to the wp-includes/PHPMailer subdirectory and now uses the PHPMailer\PHPMailer namespace.
|
2007-05-04 23:28:50 +02:00
|
|
|
*/
|
2020-06-12 23:42:09 +02: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.' )
|
|
|
|
);
|
|
|
|
|
2020-06-12 17:47:07 +02:00
|
|
|
require __DIR__ . '/PHPMailer/SMTP.php';
|
2020-06-12 23:42:09 +02:00
|
|
|
|
|
|
|
class_alias( PHPMailer\PHPMailer\SMTP::class, 'SMTP' );
|