From edff34b548db49e94db2b6548adc95cc6001dcf5 Mon Sep 17 00:00:00 2001 From: yehudah Date: Sun, 15 Oct 2017 06:46:12 +0000 Subject: release git-svn-id: https://plugins.svn.wordpress.org/post-smtp/trunk@1746635 b8457f37-d9ea-0310-8a92-e5e31aec5664 --- postman-smtp.php | 74 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 74 insertions(+) create mode 100644 postman-smtp.php (limited to 'postman-smtp.php') diff --git a/postman-smtp.php b/postman-smtp.php new file mode 100644 index 0000000..1f4a4cf --- /dev/null +++ b/postman-smtp.php @@ -0,0 +1,74 @@ +

Post SMTP plugin is a fork of the original Postman SMTP, you must disable Postman SMTP to use this plugin.

'; + + if ( isset( $_GET['activate'] ) ) { + unset( $_GET['activate'] ); } +} + +/** + * Create the main Postman class to start Postman + * + * @param unknown $startingMemory + */ +function post_start( $startingMemory ) { + post_setupPostman(); + PostmanUtils::logMemoryUse( $startingMemory, 'Postman' ); +} + +/** + * Instantiate the mail Postman class + */ +function post_setupPostman() { + require_once 'Postman/Postman.php'; + $kevinCostner = new Postman( __FILE__, '1.7.3' ); +} -- cgit v1.2.3