Version Description
- 2019-10-08
- Updated: Bug fixes.
Download this release
Release Info
Developer | yehudah |
Plugin | Post SMTP Mailer/Email Log |
Version | 2.0.6 |
Comparing to | |
See all releases |
Code changes from version 2.0.5 to 2.0.6
- Postman/Postman-Email-Log/PostmanEmailLogView.php +1 -1
- postman-smtp.php +5 -5
- readme.txt +6 -2
- script/post-smtp-hooks.js +15 -0
Postman/Postman-Email-Log/PostmanEmailLogView.php
CHANGED
@@ -373,7 +373,7 @@ class PostmanEmailLogView extends WP_List_Table {
|
|
373 |
$date = sprintf( _x( '%s ago', 'A relative time as in "five days ago"', 'post-smtp' ), $humanTime );
|
374 |
}
|
375 |
$meta_values = PostmanLogFields::get_instance()->get( $post->ID );
|
376 |
-
$sent_to = array_map( '
|
377 |
$flattenedPost = array(
|
378 |
// the post title must be escaped as they are displayed in the HTML output
|
379 |
'sent_to' => implode( ', ', $sent_to ),
|
373 |
$date = sprintf( _x( '%s ago', 'A relative time as in "five days ago"', 'post-smtp' ), $humanTime );
|
374 |
}
|
375 |
$meta_values = PostmanLogFields::get_instance()->get( $post->ID );
|
376 |
+
$sent_to = array_map( 'esc_html', explode( ',' , $meta_values ['to_header'] [0] ) );
|
377 |
$flattenedPost = array(
|
378 |
// the post title must be escaped as they are displayed in the HTML output
|
379 |
'sent_to' => implode( ', ', $sent_to ),
|
postman-smtp.php
CHANGED
@@ -6,7 +6,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
6 |
* Plugin Name: Post SMTP
|
7 |
* Plugin URI: https://wordpress.org/plugins/post-smtp/
|
8 |
* 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!
|
9 |
-
* Version: 2.0.
|
10 |
* Author: Yehuda Hassine
|
11 |
* Text Domain: post-smtp
|
12 |
* Author URI: https://postmansmtp.com
|
@@ -44,10 +44,10 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
44 |
define( 'POST_SMTP_BASE', __FILE__ );
|
45 |
define( 'POST_SMTP_PATH', __DIR__ );
|
46 |
define( 'POST_SMTP_URL', plugins_url('', POST_SMTP_BASE ) );
|
47 |
-
define( 'POST_SMTP_VER', '2.0.
|
48 |
-
define( 'POST_SMTP_SHOW_RELEASE_MESSAGE',
|
49 |
-
define( 'POST_SMTP_RELEASE_MESSAGE',
|
50 |
-
define( 'POST_SMTP_RELEASE_URL', '
|
51 |
|
52 |
$postman_smtp_exist = in_array( 'postman-smtp/postman-smtp.php', (array) get_option( 'active_plugins', array() ) );
|
53 |
$required_php_version = version_compare( PHP_VERSION, '5.6.0', '<' );
|
6 |
* Plugin Name: Post SMTP
|
7 |
* Plugin URI: https://wordpress.org/plugins/post-smtp/
|
8 |
* 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!
|
9 |
+
* Version: 2.0.6
|
10 |
* Author: Yehuda Hassine
|
11 |
* Text Domain: post-smtp
|
12 |
* Author URI: https://postmansmtp.com
|
44 |
define( 'POST_SMTP_BASE', __FILE__ );
|
45 |
define( 'POST_SMTP_PATH', __DIR__ );
|
46 |
define( 'POST_SMTP_URL', plugins_url('', POST_SMTP_BASE ) );
|
47 |
+
define( 'POST_SMTP_VER', '2.0.6' );
|
48 |
+
define( 'POST_SMTP_SHOW_RELEASE_MESSAGE', true );
|
49 |
+
define( 'POST_SMTP_RELEASE_MESSAGE', 'If you see the implode error please read' );
|
50 |
+
define( 'POST_SMTP_RELEASE_URL', 'https://postmansmtp.com/post-smtp-2-0-6-bug-fixes/' );
|
51 |
|
52 |
$postman_smtp_exist = in_array( 'postman-smtp/postman-smtp.php', (array) get_option( 'active_plugins', array() ) );
|
53 |
$required_php_version = version_compare( PHP_VERSION, '5.6.0', '<' );
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=yehuda@m
|
|
4 |
Tags: postman smtp, postman, smtp, email, mail, mailer, email log, oauth2, gmail, google apps, hotmail, yahoo, mandrill api, sendgrid api, elastic email, office365, mailgun
|
5 |
Requires at least: 3.9
|
6 |
Tested up to: 5.2.2
|
7 |
-
Stable tag: 2.0.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -12,7 +12,8 @@ Send, log and troubleshoot your Outgoing Email easily. Supports everything: SMTP
|
|
12 |
|
13 |
== Description ==
|
14 |
|
15 |
-
= Version 2.0.
|
|
|
16 |
|
17 |
= The Only SMTP plugin with chrome Notifications =
|
18 |
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)
|
@@ -288,6 +289,9 @@ To avoid being flagged as spam, you need to prove your email isn't forged. On a
|
|
288 |
|
289 |
== Changelog ==
|
290 |
|
|
|
|
|
|
|
291 |
= 2.0.5 - 2019-09-26
|
292 |
* New: You can now export logs to CSV.
|
293 |
* Updated: Few notifications errors, and minor improvements.
|
4 |
Tags: postman smtp, postman, smtp, email, mail, mailer, email log, oauth2, gmail, google apps, hotmail, yahoo, mandrill api, sendgrid api, elastic email, office365, mailgun
|
5 |
Requires at least: 3.9
|
6 |
Tested up to: 5.2.2
|
7 |
+
Stable tag: 2.0.6
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
12 |
|
13 |
== Description ==
|
14 |
|
15 |
+
= Version 2.0.6 released - bug fixes. =
|
16 |
+
[See here](https://postmansmtp.com/post-smtp-2-0-6-bug-fixes/)
|
17 |
|
18 |
= The Only SMTP plugin with chrome Notifications =
|
19 |
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)
|
289 |
|
290 |
== Changelog ==
|
291 |
|
292 |
+
= 2.0.6 - 2019-10-08
|
293 |
+
* Updated: Bug fixes.
|
294 |
+
|
295 |
= 2.0.5 - 2019-09-26
|
296 |
* New: You can now export logs to CSV.
|
297 |
* Updated: Few notifications errors, and minor improvements.
|
script/post-smtp-hooks.js
ADDED
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
var Hook = {
|
2 |
+
hooks: [],
|
3 |
+
|
4 |
+
register: function ( name, callback ) {
|
5 |
+
if( 'undefined' == typeof( Hook.hooks[name] ) )
|
6 |
+
Hook.hooks[name] = []
|
7 |
+
Hook.hooks[name].push( callback )
|
8 |
+
},
|
9 |
+
|
10 |
+
call: function ( name, arguments ) {
|
11 |
+
if( 'undefined' != typeof( Hook.hooks[name] ) )
|
12 |
+
for( i = 0; i < Hook.hooks[name].length; ++i )
|
13 |
+
if( true != Hook.hooks[name][i]( arguments ) ) { break; }
|
14 |
+
}
|
15 |
+
}
|