Post SMTP Mailer/Email Log - Version 2.0.8

Version Description

  • 2020-01-12
  • Updated: Reply-To header bug
Download this release

Release Info

Developer yehudah
Plugin Icon 128x128 Post SMTP Mailer/Email Log
Version 2.0.8
Comparing to
See all releases

Code changes from version 2.0.7 to 2.0.8

Postman/Postman-Mail/PostmanMessage.php CHANGED
@@ -453,7 +453,7 @@ if ( ! class_exists( 'PostmanMessage' ) ) {
453
  $pattern = '/[a-z0-9_\-\+\.]+@[a-z0-9\-]+\.([a-z]{2,4})(?:\.[a-z]{2})?/i';
454
  preg_match_all($pattern, $content, $matches);
455
 
456
- if ( isset( $matches[0] ) && is_email( $matches[0] ) ) {
457
  $this->setReplyTo( $content );
458
  }
459
 
453
  $pattern = '/[a-z0-9_\-\+\.]+@[a-z0-9\-]+\.([a-z]{2,4})(?:\.[a-z]{2})?/i';
454
  preg_match_all($pattern, $content, $matches);
455
 
456
+ if ( isset( $matches[0] ) && isset( $matches[0][0] ) && filter_var( $matches[0][0], FILTER_VALIDATE_EMAIL ) ) {
457
  $this->setReplyTo( $content );
458
  }
459
 
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.7
10
  * Author: Yehuda Hassine
11
  * Text Domain: post-smtp
12
  * Author URI: https://postmansmtp.com
@@ -44,7 +44,7 @@ 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.7' );
48
  define( 'POST_SMTP_SHOW_RELEASE_MESSAGE', true );
49
  define( 'POST_SMTP_RELEASE_MESSAGE', 'We have a new Facebook group, feel free to join.' );
50
  define( 'POST_SMTP_RELEASE_URL', 'https://www.facebook.com/groups/post.smtp' );
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.8
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.8' );
48
  define( 'POST_SMTP_SHOW_RELEASE_MESSAGE', true );
49
  define( 'POST_SMTP_RELEASE_MESSAGE', 'We have a new Facebook group, feel free to join.' );
50
  define( 'POST_SMTP_RELEASE_URL', 'https://www.facebook.com/groups/post.smtp' );
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.3.2
7
- Stable tag: 2.0.7
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -286,6 +286,9 @@ To avoid being flagged as spam, you need to prove your email isn't forged. On a
286
 
287
  == Changelog ==
288
 
 
 
 
289
  = 2.0.7 - 2020-01-12
290
  * Updated: Improve PHPMailer method.
291
  * Updated: Bug fixes.
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.3.2
7
+ Stable tag: 2.0.8
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
286
 
287
  == Changelog ==
288
 
289
+ = 2.0.8 - 2020-01-12
290
+ * Updated: Reply-To header bug
291
+
292
  = 2.0.7 - 2020-01-12
293
  * Updated: Improve PHPMailer method.
294
  * Updated: Bug fixes.