summaryrefslogtreecommitdiff
path: root/Postman/Postman.php
diff options
context:
space:
mode:
authoryehudah <yehudah@b8457f37-d9ea-0310-8a92-e5e31aec5664>2019-11-25 09:25:43 +0000
committeryehudah <yehudah@b8457f37-d9ea-0310-8a92-e5e31aec5664>2019-11-25 09:25:43 +0000
commitb5fd728e37aa2a9c7a5f37e8dead0a95117d541b (patch)
treea7158edc5e4e576e0377f078dabc87c699315c62 /Postman/Postman.php
parentc61784411988d36d9bbd93cd3a97e773990af342 (diff)
downloadPost-SMTP-b5fd728e37aa2a9c7a5f37e8dead0a95117d541b.zip
phpmailer delivery improvments
bug fixes add option to disable notifications fix Invalid “Reply-To” e-mail address
Diffstat (limited to 'Postman/Postman.php')
-rw-r--r--Postman/Postman.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/Postman/Postman.php b/Postman/Postman.php
index 51b2ab1..9f4f7ce 100644
--- a/Postman/Postman.php
+++ b/Postman/Postman.php
@@ -70,6 +70,8 @@ class Postman {
require_once 'Postman-Mail/PostmanMyMailConnector.php';
require_once 'Postman-Mail/PostmanContactForm7.php';
require_once 'Phpmailer/PostsmtpMailer.php';
+ require_once 'Extensions/License/PostmanLicenseManager.php';
+ require_once 'Extensions/Admin/PostmanAdmin.php';
//require_once 'Postman-Mail/PostmanWooCommerce.php';
// get plugin metadata - alternative to get_plugin_data
@@ -188,6 +190,9 @@ class Postman {
* ref: http://codex.wordpress.org/Plugin_API/Action_Reference#Actions_Run_During_a_Typical_Request
*/
public function on_plugins_loaded() {
+
+ PostmanLicenseManager::get_instance()->init();
+
// load the text domain
$this->loadTextDomain();
@@ -215,6 +220,7 @@ class Postman {
* ref: https://codex.wordpress.org/Function_Reference/register_activation_hook
*/
public function on_activation() {
+
if ( $this->logger->isInfo() ) {
$this->logger->info( 'Activating plugin' );
}