summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryehudah <yehudah@b8457f37-d9ea-0310-8a92-e5e31aec5664>2020-02-25 07:40:20 +0000
committeryehudah <yehudah@b8457f37-d9ea-0310-8a92-e5e31aec5664>2020-02-25 07:40:20 +0000
commitc2335f6f0e86b17ec7346580e352b3e5d77ebf9e (patch)
tree49c601aa589a876d19ef36a8665ad02dff2e1936
parent627da3a95f28c13a9298d05487a4574dff5d205a (diff)
downloadPost-SMTP-c2335f6f0e86b17ec7346580e352b3e5d77ebf9e.zip
Fix slack notifications
-rw-r--r--Postman/Extensions/Core/Notifications/PostmanNotify.php1
-rw-r--r--Postman/Extensions/Core/Notifications/PostmanSlackNotify.php2
-rw-r--r--postman-smtp.php8
-rw-r--r--readme.txt9
4 files changed, 14 insertions, 6 deletions
diff --git a/Postman/Extensions/Core/Notifications/PostmanNotify.php b/Postman/Extensions/Core/Notifications/PostmanNotify.php
index ae505cf..6876e16 100644
--- a/Postman/Extensions/Core/Notifications/PostmanNotify.php
+++ b/Postman/Extensions/Core/Notifications/PostmanNotify.php
@@ -2,6 +2,7 @@
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly
}
+
require_once 'INotify.php';
require_once 'PostmanMailNotify.php';
require_once 'PostmanPushoverNotify.php';
diff --git a/Postman/Extensions/Core/Notifications/PostmanSlackNotify.php b/Postman/Extensions/Core/Notifications/PostmanSlackNotify.php
index 5b6fae3..af27bd3 100644
--- a/Postman/Extensions/Core/Notifications/PostmanSlackNotify.php
+++ b/Postman/Extensions/Core/Notifications/PostmanSlackNotify.php
@@ -6,7 +6,7 @@ class PostmanSlackNotify implements Postman_Notify {
public function send_message($message)
{
- $options = PostmanOptions::getInstance();
+ $options = PostmanNotifyOptions::getInstance();
$api_url = $options->getSlackToken();
diff --git a/postman-smtp.php b/postman-smtp.php
index 0f11c37..18dae89 100644
--- a/postman-smtp.php
+++ b/postman-smtp.php
@@ -6,7 +6,7 @@ if ( ! defined( 'ABSPATH' ) ) {
* Plugin Name: Post SMTP
* Plugin URI: https://wordpress.org/plugins/post-smtp/
* Description: Email not reliable? Post SMTP is the first and only WordPress SMTP plugin to implement OAuth 2.0 for Gmail, Hotmail and Yahoo Mail. Setup is a breeze with the Configuration Wizard and integrated Port Tester. Enjoy worry-free delivery even if your password changes!
- * Version: 2.0.10
+ * Version: 2.0.11
* Author: Yehuda Hassine
* Text Domain: post-smtp
* Author URI: https://postmansmtp.com
@@ -44,10 +44,10 @@ if ( ! defined( 'ABSPATH' ) ) {
define( 'POST_SMTP_BASE', __FILE__ );
define( 'POST_SMTP_PATH', __DIR__ );
define( 'POST_SMTP_URL', plugins_url('', POST_SMTP_BASE ) );
-define( 'POST_SMTP_VER', '2.0.10' );
+define( 'POST_SMTP_VER', '2.0.11' );
define( 'POST_SMTP_SHOW_RELEASE_MESSAGE', true );
-define( 'POST_SMTP_RELEASE_MESSAGE', 'We have a new Facebook group, feel free to join.' );
-define( 'POST_SMTP_RELEASE_URL', 'https://www.facebook.com/groups/post.smtp' );
+define( 'POST_SMTP_RELEASE_MESSAGE', "I have released a new Google Analytics AIO plugin, if you liked it please leave a review." );
+define( 'POST_SMTP_RELEASE_URL', 'https://wordpress.org/plugins/metrics-query/' );
$postman_smtp_exist = in_array( 'postman-smtp/postman-smtp.php', (array) get_option( 'active_plugins', array() ) );
$required_php_version = version_compare( PHP_VERSION, '5.6.0', '<' );
diff --git a/readme.txt b/readme.txt
index 17a6099..206605f 100644
--- a/readme.txt
+++ b/readme.txt
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=yehuda@m
Tags: postman smtp, postman, smtp, email, mail, mailer, email log, oauth2, gmail, google apps, hotmail, yahoo, mandrill api, sendgrid api, elastic email, office365, mailgun
Requires at least: 3.9
Tested up to: 5.3.2
-Stable tag: 2.0.10
+Stable tag: 2.0.11
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
@@ -12,6 +12,10 @@ Send, log and troubleshoot your Outgoing Email easily. Supports everything: SMTP
== Description ==
+= Looking for Google Analytics AIO plugin? =
+If you used the good and old Google Analytics Dashboard For WP, I have forked the original plugin here:
+[https://wordpress.org/plugins/metrics-query/](https://wordpress.org/plugins/metrics-query/)
+
= The Only SMTP plugin with chrome Notifications =
Get notified if your emails are failing inside your Chrome browser. [Download here](https://chrome.google.com/webstore/detail/post-smtp-notifications/npklmbkpbknkmbohdbpikeidiaekjoch?hl=en-US)
@@ -287,6 +291,9 @@ To avoid being flagged as spam, you need to prove your email isn't forged. On a
== Changelog ==
+= 2.0.11 - 2020-02-25
+* Fixed: Slack notifications
+
= 2.0.10 - 2020-01-21
* Fixed: HTML content type
* Fixed: Sendgrid crash when has duplicates recipients (bypass, Sendgrid issue).