Version Description
- 2020-01-28
- Fixed: Allow empty body.
- Fixed: Few small bugs.
- New: A new Email Logger extension
Download this release
Release Info
Developer | yehudah |
Plugin | Post SMTP Mailer/Email Log |
Version | 2.0.20 |
Comparing to | |
See all releases |
Code changes from version 2.0.19 to 2.0.20
Postman/Extensions/License/PostmanLicenseHandler.php
CHANGED
@@ -328,7 +328,16 @@ class PostmanLicenseHandler {
|
|
328 |
}
|
329 |
|
330 |
$license_data = $this->license_data;
|
331 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
332 |
|
333 |
$datetime1 = new DateTime();
|
334 |
|
328 |
}
|
329 |
|
330 |
$license_data = $this->license_data;
|
331 |
+
|
332 |
+
if ( $license_data && isset( $license_data->expires ) ) {
|
333 |
+
if ( $license_data->expires == 'lifetime' ) {
|
334 |
+
$expires = '2500/12/12';
|
335 |
+
} else {
|
336 |
+
$expires = $license_data->expires;
|
337 |
+
}
|
338 |
+
} else {
|
339 |
+
return;
|
340 |
+
}
|
341 |
|
342 |
$datetime1 = new DateTime();
|
343 |
|
Postman/Postman-Email-Log/PostmanEmailLogController.php
CHANGED
@@ -435,11 +435,11 @@ class PostmanEmailLogController {
|
|
435 |
<input id="from_date" class="email-log-date" value="<?php echo esc_attr($from_date); ?>" type="text" name="from_date" placeholder="<?php _e( 'From Date', 'post-smtp' ); ?>">
|
436 |
</div>
|
437 |
<div class="form-control">
|
438 |
-
<label for="to_date"><?php _e( 'To Date', 'post-smtp' ); ?></label>
|
439 |
<input id="to_date" class="email-log-date" value="<?php echo esc_attr($to_date); ?>" type="text" name="to_date" placeholder="<?php _e( 'To Date', 'post-smtp' ); ?>">
|
440 |
</div>
|
441 |
<div class="form-control">
|
442 |
-
<label for="search"><?php _e( 'Search', 'post-smtp' ); ?></label>
|
443 |
<input id="search" type="text" name="search" value="<?php echo esc_attr($search); ?>" placeholder="<?php _e( 'Search', 'post-smtp' ); ?>">
|
444 |
</div>
|
445 |
<div class="form-control">
|
@@ -451,7 +451,7 @@ class PostmanEmailLogController {
|
|
451 |
echo '<option value="' . $value . '"' . $selected . '>' . $value . '</option>';
|
452 |
}
|
453 |
?>
|
454 |
-
</select>
|
455 |
</div>
|
456 |
|
457 |
<div class="form-control" style="padding: 0 5px 0 5px;">
|
@@ -467,19 +467,22 @@ class PostmanEmailLogController {
|
|
467 |
</div>
|
468 |
|
469 |
</div>
|
470 |
-
<div class="error"
|
|
|
|
|
|
|
471 |
</form>
|
472 |
-
|
473 |
<!-- Forms are NOT created automatically, so you need to wrap the table in one to use features like bulk actions -->
|
474 |
<form id="movies-filter" method="get">
|
475 |
<!-- For plugins, we also need to ensure that the form posts back to our current page -->
|
476 |
<input type="hidden" name="page"
|
477 |
value="<?php echo filter_input( INPUT_GET, 'page', FILTER_SANITIZE_STRING ); ?>" />
|
478 |
-
|
479 |
<!-- Now we can render the completed list table -->
|
480 |
<?php $testListTable->display()?>
|
481 |
</form>
|
482 |
-
|
483 |
<?php add_thickbox(); ?>
|
484 |
|
485 |
</div>
|
435 |
<input id="from_date" class="email-log-date" value="<?php echo esc_attr($from_date); ?>" type="text" name="from_date" placeholder="<?php _e( 'From Date', 'post-smtp' ); ?>">
|
436 |
</div>
|
437 |
<div class="form-control">
|
438 |
+
<label for="to_date"><?php _e( 'To Date', 'post-smtp' ); ?></label>
|
439 |
<input id="to_date" class="email-log-date" value="<?php echo esc_attr($to_date); ?>" type="text" name="to_date" placeholder="<?php _e( 'To Date', 'post-smtp' ); ?>">
|
440 |
</div>
|
441 |
<div class="form-control">
|
442 |
+
<label for="search"><?php _e( 'Search', 'post-smtp' ); ?></label>
|
443 |
<input id="search" type="text" name="search" value="<?php echo esc_attr($search); ?>" placeholder="<?php _e( 'Search', 'post-smtp' ); ?>">
|
444 |
</div>
|
445 |
<div class="form-control">
|
451 |
echo '<option value="' . $value . '"' . $selected . '>' . $value . '</option>';
|
452 |
}
|
453 |
?>
|
454 |
+
</select>
|
455 |
</div>
|
456 |
|
457 |
<div class="form-control" style="padding: 0 5px 0 5px;">
|
467 |
</div>
|
468 |
|
469 |
</div>
|
470 |
+
<div class="error" style="padding: 20px; font-size: 16px;">
|
471 |
+
<strong>For more advanced, better performance and UI Email logger check our new extension:</strong><br><br>
|
472 |
+
<a style="font-weight: bold;" target="_blank" href="https://postmansmtp.com/extensions/better-email-logger-post-smtp-extension/">Better Email Logger</a>
|
473 |
+
</div>
|
474 |
</form>
|
475 |
+
|
476 |
<!-- Forms are NOT created automatically, so you need to wrap the table in one to use features like bulk actions -->
|
477 |
<form id="movies-filter" method="get">
|
478 |
<!-- For plugins, we also need to ensure that the form posts back to our current page -->
|
479 |
<input type="hidden" name="page"
|
480 |
value="<?php echo filter_input( INPUT_GET, 'page', FILTER_SANITIZE_STRING ); ?>" />
|
481 |
+
|
482 |
<!-- Now we can render the completed list table -->
|
483 |
<?php $testListTable->display()?>
|
484 |
</form>
|
485 |
+
|
486 |
<?php add_thickbox(); ?>
|
487 |
|
488 |
</div>
|
Postman/Postman-Mail/Zend-1.12.10/Mail/Transport/Abstract.php
CHANGED
@@ -277,11 +277,7 @@ abstract class Postman_Zend_Mail_Transport_Abstract
|
|
277 |
}
|
278 |
|
279 |
if (!$body) {
|
280 |
-
|
281 |
-
* @see Postman_Zend_Mail_Transport_Exception
|
282 |
-
*/
|
283 |
-
require_once 'Exception.php';
|
284 |
-
throw new Postman_Zend_Mail_Transport_Exception('No body specified');
|
285 |
}
|
286 |
|
287 |
// Get headers
|
277 |
}
|
278 |
|
279 |
if (!$body) {
|
280 |
+
$body = '';
|
|
|
|
|
|
|
|
|
281 |
}
|
282 |
|
283 |
// Get headers
|
Postman/PostmanViewController.php
CHANGED
@@ -381,6 +381,7 @@ if ( ! class_exists( 'PostmanViewController' ) ) {
|
|
381 |
<div class="ps-welcome-panel-column">
|
382 |
<h4><img class="align-middle" src="<?php echo plugins_url( 'style/images/new.gif', dirname( __DIR__ ) . '/postman-smtp.php' ); ?>"><a style="color: black;" target="_blank" href="https://postmansmtp.com/extensions/">Extensions</a></h4>
|
383 |
<ul>
|
|
|
384 |
<li><a target="_blank" href="https://postmansmtp.com/extensions/office-365-for-post-smtp-extension/">Office 365 API</a></li>
|
385 |
<li><a target="_blank" href="https://postmansmtp.com/extensions/post-smtp-extension-for-amazon-ses/">Amazon SES</a></li>
|
386 |
</ul>
|
@@ -390,6 +391,7 @@ if ( ! class_exists( 'PostmanViewController' ) ) {
|
|
390 |
print '<div class="ps-welcome-panel-column welcome-panel-last">';
|
391 |
printf( '<h4>%s</h4>', _x( 'Troubleshooting', 'Main Menu', 'post-smtp' ) );
|
392 |
print '<ul>';
|
|
|
393 |
printf( '<li><a href="%s" class="welcome-icon run-port-test">%s</a></li>', $this->getPageUrl( PostmanConnectivityTestController::PORT_TEST_SLUG ), __( 'Connectivity Test', 'post-smtp' ) );
|
394 |
printf( '<li><a href="%s" class="welcome-icon run-port-test">%s</a></li>', $this->getPageUrl( PostmanDiagnosticTestController::DIAGNOSTICS_SLUG ), __( 'Diagnostic Test', 'post-smtp' ) );
|
395 |
printf( '<li><a href="%s" data-security="%s" class="welcome-icon release-lock-file">%s</a></li>', '#', wp_create_nonce( "postman" ), __( 'Release Lock File Error', 'post-smtp' ) );
|
381 |
<div class="ps-welcome-panel-column">
|
382 |
<h4><img class="align-middle" src="<?php echo plugins_url( 'style/images/new.gif', dirname( __DIR__ ) . '/postman-smtp.php' ); ?>"><a style="color: black;" target="_blank" href="https://postmansmtp.com/extensions/">Extensions</a></h4>
|
383 |
<ul>
|
384 |
+
<li><a style="font-weight: bold;" target="_blank" href="https://postmansmtp.com/extensions/better-email-logger-post-smtp-extension/">Better Email Logger</a></li>
|
385 |
<li><a target="_blank" href="https://postmansmtp.com/extensions/office-365-for-post-smtp-extension/">Office 365 API</a></li>
|
386 |
<li><a target="_blank" href="https://postmansmtp.com/extensions/post-smtp-extension-for-amazon-ses/">Amazon SES</a></li>
|
387 |
</ul>
|
391 |
print '<div class="ps-welcome-panel-column welcome-panel-last">';
|
392 |
printf( '<h4>%s</h4>', _x( 'Troubleshooting', 'Main Menu', 'post-smtp' ) );
|
393 |
print '<ul>';
|
394 |
+
printf( '<li><a target="blank" class="align-middle" href="https://postmansmtp.com/help-configure-post-smtp/" class="welcome-icon postman_guides">%s</a></li>', __( 'Need help setup everything? (paid)', 'post-smtp' ) );
|
395 |
printf( '<li><a href="%s" class="welcome-icon run-port-test">%s</a></li>', $this->getPageUrl( PostmanConnectivityTestController::PORT_TEST_SLUG ), __( 'Connectivity Test', 'post-smtp' ) );
|
396 |
printf( '<li><a href="%s" class="welcome-icon run-port-test">%s</a></li>', $this->getPageUrl( PostmanDiagnosticTestController::DIAGNOSTICS_SLUG ), __( 'Diagnostic Test', 'post-smtp' ) );
|
397 |
printf( '<li><a href="%s" data-security="%s" class="welcome-icon release-lock-file">%s</a></li>', '#', wp_create_nonce( "postman" ), __( 'Release Lock File Error', 'post-smtp' ) );
|
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
|
@@ -35,10 +35,10 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
35 |
define( 'POST_SMTP_BASE', __FILE__ );
|
36 |
define( 'POST_SMTP_PATH', __DIR__ );
|
37 |
define( 'POST_SMTP_URL', plugins_url('', POST_SMTP_BASE ) );
|
38 |
-
define( 'POST_SMTP_VER', '2.0.
|
39 |
define( 'POST_SMTP_SHOW_RELEASE_MESSAGE', true );
|
40 |
-
define( 'POST_SMTP_RELEASE_MESSAGE', "
|
41 |
-
define( 'POST_SMTP_RELEASE_URL', '
|
42 |
|
43 |
$postman_smtp_exist = in_array( 'postman-smtp/postman-smtp.php', (array) get_option( 'active_plugins', array() ) );
|
44 |
$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.20
|
10 |
* Author: Yehuda Hassine
|
11 |
* Text Domain: post-smtp
|
12 |
* Author URI: https://postmansmtp.com
|
35 |
define( 'POST_SMTP_BASE', __FILE__ );
|
36 |
define( 'POST_SMTP_PATH', __DIR__ );
|
37 |
define( 'POST_SMTP_URL', plugins_url('', POST_SMTP_BASE ) );
|
38 |
+
define( 'POST_SMTP_VER', '2.0.20' );
|
39 |
define( 'POST_SMTP_SHOW_RELEASE_MESSAGE', true );
|
40 |
+
define( 'POST_SMTP_RELEASE_MESSAGE', "I released a new Email Logger extension - A MUST DOWNLOAD." );
|
41 |
+
define( 'POST_SMTP_RELEASE_URL', 'https://postmansmtp.com/extensions/better-email-logger-post-smtp-extension/' );
|
42 |
|
43 |
$postman_smtp_exist = in_array( 'postman-smtp/postman-smtp.php', (array) get_option( 'active_plugins', array() ) );
|
44 |
$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=yehudaha
|
|
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.6
|
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,7 @@ Send, log and troubleshoot your Outgoing Email easily. Supports everything: SMTP
|
|
12 |
|
13 |
== Description ==
|
14 |
|
15 |
-
= Looking for Office 365 API delivery? =
|
16 |
Check this extensions page, it will update with more extensions so don't forget to follow:
|
17 |
[https://postmansmtp.com/extensions/](https://postmansmtp.com/extensions/)
|
18 |
|
@@ -281,6 +281,11 @@ To avoid being flagged as spam, you need to prove your email isn't forged. On a
|
|
281 |
|
282 |
== Changelog ==
|
283 |
|
|
|
|
|
|
|
|
|
|
|
284 |
= 2.0.19 - 2020-01-19
|
285 |
* Fixed: All reported office 365 issues.
|
286 |
* New: Add link to Amazon SES Extension
|
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.6
|
7 |
+
Stable tag: 2.0.20
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
12 |
|
13 |
== Description ==
|
14 |
|
15 |
+
= Looking for Office 365 OR Amazon SES API delivery? =
|
16 |
Check this extensions page, it will update with more extensions so don't forget to follow:
|
17 |
[https://postmansmtp.com/extensions/](https://postmansmtp.com/extensions/)
|
18 |
|
281 |
|
282 |
== Changelog ==
|
283 |
|
284 |
+
= 2.0.20 - 2020-01-28
|
285 |
+
* Fixed: Allow empty body.
|
286 |
+
* Fixed: Few small bugs.
|
287 |
+
* New: A new Email Logger extension
|
288 |
+
|
289 |
= 2.0.19 - 2020-01-19
|
290 |
* Fixed: All reported office 365 issues.
|
291 |
* New: Add link to Amazon SES Extension
|