Post SMTP Mailer/Email Log - Version 2.0.16

Version Description

  • 2020-12-13
  • Update: General Info
Download this release

Release Info

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

Code changes from version 2.0.15 to 2.0.16

Postman/PostmanAdminController.php CHANGED
@@ -301,7 +301,7 @@ if ( ! class_exists( 'PostmanAdminController' ) ) {
301
  // only administrators should be able to trigger this
302
  if ( PostmanUtils::isAdmin() ) {
303
  $mylinks = array(
304
- sprintf( '<a href="%s" target="_blank" class="postman_settings">%s</a>', 'https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=yehuda@myinbox.in&item_name=Donation+for+PostSMTP', __( 'Donate', 'post-smtp' ) ),
305
  sprintf( '<a href="%s" class="postman_settings">%s</a>', PostmanUtils::getSettingsPageUrl(), __( 'Settings', 'post-smtp' ) ),
306
  sprintf( '<a href="%s" class="postman_settings">%s</a>', 'https://postmansmtp.com', __( 'Visit us', 'post-smtp' ) ),
307
  );
301
  // only administrators should be able to trigger this
302
  if ( PostmanUtils::isAdmin() ) {
303
  $mylinks = array(
304
+ sprintf( '<a href="%s" target="_blank" class="postman_settings">%s</a>', 'https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=yehudahas@gmail.com&item_name=Donation+for+PostSMTP', __( 'Donate', 'post-smtp' ) ),
305
  sprintf( '<a href="%s" class="postman_settings">%s</a>', PostmanUtils::getSettingsPageUrl(), __( 'Settings', 'post-smtp' ) ),
306
  sprintf( '<a href="%s" class="postman_settings">%s</a>', 'https://postmansmtp.com', __( 'Visit us', 'post-smtp' ) ),
307
  );
Postman/extra/donation.php CHANGED
@@ -8,7 +8,7 @@ if ( empty( $postman_dismiss_donation ) || isset( $in_wizard ) ) : ?>
8
  Your donation will help encourage and support the plugin's continued development and better user support.</p>
9
  <form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
10
  <input type="hidden" name="cmd" value="_s-xclick" />
11
- <input type="hidden" name="hosted_button_id" value="4B3PJANHBA7MG" />
12
  <input type="image" src="https://www.paypalobjects.com/en_US/IL/i/btn/btn_donateCC_LG.gif" border="0" name="submit" title="PayPal - The safer, easier way to pay online!" alt="Donate with PayPal button" />
13
  <img alt="" border="0" src="https://www.paypal.com/en_IL/i/scr/pixel.gif" width="1" height="1" />
14
  </form>
@@ -16,4 +16,4 @@ if ( empty( $postman_dismiss_donation ) || isset( $in_wizard ) ) : ?>
16
  <span class="screen-reader-text">Dismiss this notice.</span>
17
  </button>
18
  </div>
19
- <?php endif; ?>
8
  Your donation will help encourage and support the plugin's continued development and better user support.</p>
9
  <form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
10
  <input type="hidden" name="cmd" value="_s-xclick" />
11
+ <input type="hidden" name="hosted_button_id" value="N2MKEPYUHUN32" />
12
  <input type="image" src="https://www.paypalobjects.com/en_US/IL/i/btn/btn_donateCC_LG.gif" border="0" name="submit" title="PayPal - The safer, easier way to pay online!" alt="Donate with PayPal button" />
13
  <img alt="" border="0" src="https://www.paypal.com/en_IL/i/scr/pixel.gif" width="1" height="1" />
14
  </form>
16
  <span class="screen-reader-text">Dismiss this notice.</span>
17
  </button>
18
  </div>
19
+ <?php endif; ?>
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.15
10
  * Author: Yehuda Hassine
11
  * Text Domain: post-smtp
12
  * Author URI: https://postmansmtp.com
@@ -35,7 +35,7 @@ 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.15' );
39
  define( 'POST_SMTP_SHOW_RELEASE_MESSAGE', true );
40
  define( 'POST_SMTP_RELEASE_MESSAGE', "I have released a new Google Analytics AIO plugin, if you liked it please leave a review." );
41
  define( 'POST_SMTP_RELEASE_URL', 'https://wordpress.org/plugins/metrics-query/' );
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.16
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.16' );
39
  define( 'POST_SMTP_SHOW_RELEASE_MESSAGE', true );
40
  define( 'POST_SMTP_RELEASE_MESSAGE', "I have released a new Google Analytics AIO plugin, if you liked it please leave a review." );
41
  define( 'POST_SMTP_RELEASE_URL', 'https://wordpress.org/plugins/metrics-query/' );
readme.txt CHANGED
@@ -1,10 +1,10 @@
1
  === Post SMTP Mailer/Email Log ===
2
  Contributors: yehudah
3
- Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=yehuda@myinbox.in&item_name=Donation+for+PostSMTP
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.5
7
- Stable tag: 2.0.15
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -281,6 +281,9 @@ To avoid being flagged as spam, you need to prove your email isn't forged. On a
281
 
282
  == Changelog ==
283
 
 
 
 
284
  = 2.0.15 - 2020-08-12
285
  * Fixed: WordPress 5.5 compatibility (stable)
286
 
@@ -465,7 +468,7 @@ Syntx stupid mistake
465
  * [[Ticket](https://wordpress.org/support/topic/cant-send-an-email-using-optimizepress?replies=8)] - the Optimizepress plugin calls wp_mail before the WordPress init hook, before Post is fully initialized, so I made a change to accomodate this behavior
466
  * [[Ticket](https://wordpress.org/support/topic/v17?replies=13)] - v1.7 admin screen may become inaccessible after upgrading. Fixed.
467
  * [[Ticket](https://wordpress.org/support/topic/inboundnow-html-e-mail-templates-are-not-being-recognized-with-170?replies=3)] - v1.7 breaks compatibility with [WordPress Leads](https://wordpress.org/plugins/leads/). Fixed.
468
-
469
  = 1.7.0 "Iliana" - 2015-11-03 =
470
  * Happy Halowe'en! 30,000 installations! - 2015-10-31
471
  * Integrated Mandrill API
@@ -506,8 +509,8 @@ Syntx stupid mistake
506
 
507
  = 1.6.22 - 2015-06-14 =
508
  * Finally realized that for the last five months I've been relying on register_activation_hook to fire during plugin updates - [and it doesn't](https://make.wordpress.org/core/2010/10/27/plugin-activation-hooks-no-longer-fire-for-updates/). Lovely. Well this change should eliminate all the "update doesn't work!" bugs for good.
509
- * [[Ticket](https://wordpress.org/support/topic/latest-update-conflicting-with-theme?replies=3#post-7066897)] I enable Strict mode when I code Post to ensure it's error free and I forgot to turn it off. This was causing all plugins and themes to show their warnings. Fixed.
510
- * [[Ticket](https://wordpress.org/support/topic/upgrade-to-1619-broke-contact-form?replies=2#post-7067673)] I didn't thoroughly test the Gmail API, causing "Catchable fatal error: Argument 1 passed to PostGmailApiModuleTransport::getAuthenticationType() must be an instance of PostOptions, none given." Fixed.
511
  * [[Ticket](https://wordpress.org/support/topic/gmail-api-assertion-failed-and-cannot-modify-header-information?replies=4#post-7068833)] I didn't thoroughly test the Gmail API, it wasn't warning the user if the Envelope Sender Address is missing. Fixed.
512
  * [[Ticket](https://wordpress.org/support/topic/password-corruption-issue?replies=1)][[Ticket](https://wordpress.org/support/topic/password-corruption-issue?replies=4#post-7068839)] Found a problem in the Activation Handler. It was re-encoding passwords when it shouldn't have been. Fixed.
513
 
@@ -549,7 +552,7 @@ Syntx stupid mistake
549
 
550
  = 1.6.11 - 2015-05-22 =
551
  * [[Ticket](https://wordpress.org/support/topic/call-to-undefined-function-spritnf?replies=2#post-6977557)] Fix for "Fatal error: Call to undefined function spritnf() in PostEmailLogController.php on line 284" - sometimes PHP really sucks compared to Java
552
- * Added a link to a HowTo Video for configuring Google OAuth 2.0 in the OAuth2 authentication section
553
 
554
  = 1.6.10 - 2015-05-18 =
555
  * 5,000 installations!
@@ -622,7 +625,7 @@ Syntx stupid mistake
622
  * [[Ticket](https://wordpress.org/support/topic/help-mail-is-failing-in-test?replies=9)] PHP 5.2 users: fix test messages that show failures but still get delivered; fix Contact Form 7 submission freezes
623
  * Translated into Turkish, thank-you ercan yaris
624
 
625
- = 1.5.11 - 2015-04-05 =
626
  * 2,000 installations! :D
627
  * Commercial-grade improvements to Connectivity Test and Setup Wizard. The new wizard prevents misconfiguration by interrogating the MTA for capabilities and intelligently suggests the best settings for the user. Steve Jobs would be proud.
628
  * Fixed Wizard's MSA hostname guess for GoDaddy addresses (smtp.secureserver.net is the MTA not the MSA)
@@ -638,7 +641,7 @@ Syntx stupid mistake
638
  * Added functionality to add custom headers to every message - useful for [Mandrill "SMTP" headers](http://help.mandrill.com/entries/21688056-Using-SMTP-Headers-to-customize-your-messages)
639
  * [[Ticket](https://wordpress.org/support/topic/invalid-redirect-uri?replies=7)] The Setup Wizard will check for IP addresses in the site URL and warn the user when they are about to configure OAuth 2.0 that this will fail.
640
  * [[Ticket](https://wordpress.org/support/topic/from-address-for-new-site-registration-email?replies=3)] Added functionality to prevent plugins and themes from overriding both the sender name and sender email address
641
- * [[Ticket](https://wordpress.org/support/topic/problem-with-responding?replies=7#post-6723830)] Hide PHP warnings from `stream_set_timeout()` in case the host has disabled this function.
642
 
643
  = 1.5.8 - 2015-03-16 =
644
  * 1,000 installations! :D
@@ -691,7 +694,7 @@ Syntx stupid mistake
691
  * Translated into French, thank-you Etienne Provost
692
 
693
  = 1.4 - 2015-02-15 =
694
- * Happy Valentine's Day! Sending Yahoo email now supported with OAuth 2.0 authentication! If the Wizard detects that a Yahoo server has been entered, it automatically configures OAuth 2.0
695
  * First time users may choose to import settings from any of the Big Four WordPress SMTP plugins (five if you count Easy SMTP Mail, a clone of WP Mail SMTP): Easy WP SMTP, WP Mail Bank, WP Mail SMTP and WP SMTP
696
  * [[Ticket](https://wordpress.org/support/topic/display-error-on-plugin-activation?replies=33)] Suppressed warning messages generated by calls to fsockopen - they were causing the remote Ajax queries to hang
697
  * The wizard was resetting some settings by accident, namely Connection Timeout, Read Timeout and Reply-To
@@ -716,7 +719,7 @@ Syntx stupid mistake
716
  * Post now has a modest fatal error screen, rather than a dreaded white screen of death
717
 
718
  = 1.3 - 2015-02-09 =
719
- * Sending Hotmail/Windows Live/Outlook.com email now supported with OAuth 2.0 authentication! If Wizard detects that a Hotmail server has been entered, it automatically configures OAuth 2.0.
720
  * Separated Authentication input from Encryption input for finer configuration control
721
  * Added additional authentication types: plain and CRAM-MD5. 'basic' became 'login'
722
  * Added Ajax to manual config and wizard screens to allow dynamic OAuth2 redirect url + help text changes in response to hostname changes
@@ -740,7 +743,7 @@ Syntx stupid mistake
740
  = 1.0 - 2015-02-02 =
741
  * Overhaul of the UI - A navigation pane is shown at the top of each page and each major function has been separated into its own screen
742
  * Post now supports sending with basic auth and no auth just like the other SMTP plugins
743
- * Added a Port Test function so users can have peace of mind whether the plugin is failing (never!) or whether the host has firewalled them
744
  * [[Ticket](https://wordpress.org/support/topic/emails-not-sending-in-html-format?replies=5)] Now supports email headers, such as a text/html content-type
745
  * Now supports email attachments
746
  * Added a warning if the user has configured OAuth but not requested permission from Google
1
  === Post SMTP Mailer/Email Log ===
2
  Contributors: yehudah
3
+ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=yehudahas@gmail.com&item_name=Donation+for+PostSMTP
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.16
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
281
 
282
  == Changelog ==
283
 
284
+ = 2.0.16 - 2020-12-13
285
+ * Update: General Info
286
+
287
  = 2.0.15 - 2020-08-12
288
  * Fixed: WordPress 5.5 compatibility (stable)
289
 
468
  * [[Ticket](https://wordpress.org/support/topic/cant-send-an-email-using-optimizepress?replies=8)] - the Optimizepress plugin calls wp_mail before the WordPress init hook, before Post is fully initialized, so I made a change to accomodate this behavior
469
  * [[Ticket](https://wordpress.org/support/topic/v17?replies=13)] - v1.7 admin screen may become inaccessible after upgrading. Fixed.
470
  * [[Ticket](https://wordpress.org/support/topic/inboundnow-html-e-mail-templates-are-not-being-recognized-with-170?replies=3)] - v1.7 breaks compatibility with [WordPress Leads](https://wordpress.org/plugins/leads/). Fixed.
471
+
472
  = 1.7.0 "Iliana" - 2015-11-03 =
473
  * Happy Halowe'en! 30,000 installations! - 2015-10-31
474
  * Integrated Mandrill API
509
 
510
  = 1.6.22 - 2015-06-14 =
511
  * Finally realized that for the last five months I've been relying on register_activation_hook to fire during plugin updates - [and it doesn't](https://make.wordpress.org/core/2010/10/27/plugin-activation-hooks-no-longer-fire-for-updates/). Lovely. Well this change should eliminate all the "update doesn't work!" bugs for good.
512
+ * [[Ticket](https://wordpress.org/support/topic/latest-update-conflicting-with-theme?replies=3#post-7066897)] I enable Strict mode when I code Post to ensure it's error free and I forgot to turn it off. This was causing all plugins and themes to show their warnings. Fixed.
513
+ * [[Ticket](https://wordpress.org/support/topic/upgrade-to-1619-broke-contact-form?replies=2#post-7067673)] I didn't thoroughly test the Gmail API, causing "Catchable fatal error: Argument 1 passed to PostGmailApiModuleTransport::getAuthenticationType() must be an instance of PostOptions, none given." Fixed.
514
  * [[Ticket](https://wordpress.org/support/topic/gmail-api-assertion-failed-and-cannot-modify-header-information?replies=4#post-7068833)] I didn't thoroughly test the Gmail API, it wasn't warning the user if the Envelope Sender Address is missing. Fixed.
515
  * [[Ticket](https://wordpress.org/support/topic/password-corruption-issue?replies=1)][[Ticket](https://wordpress.org/support/topic/password-corruption-issue?replies=4#post-7068839)] Found a problem in the Activation Handler. It was re-encoding passwords when it shouldn't have been. Fixed.
516
 
552
 
553
  = 1.6.11 - 2015-05-22 =
554
  * [[Ticket](https://wordpress.org/support/topic/call-to-undefined-function-spritnf?replies=2#post-6977557)] Fix for "Fatal error: Call to undefined function spritnf() in PostEmailLogController.php on line 284" - sometimes PHP really sucks compared to Java
555
+ * Added a link to a HowTo Video for configuring Google OAuth 2.0 in the OAuth2 authentication section
556
 
557
  = 1.6.10 - 2015-05-18 =
558
  * 5,000 installations!
625
  * [[Ticket](https://wordpress.org/support/topic/help-mail-is-failing-in-test?replies=9)] PHP 5.2 users: fix test messages that show failures but still get delivered; fix Contact Form 7 submission freezes
626
  * Translated into Turkish, thank-you ercan yaris
627
 
628
+ = 1.5.11 - 2015-04-05 =
629
  * 2,000 installations! :D
630
  * Commercial-grade improvements to Connectivity Test and Setup Wizard. The new wizard prevents misconfiguration by interrogating the MTA for capabilities and intelligently suggests the best settings for the user. Steve Jobs would be proud.
631
  * Fixed Wizard's MSA hostname guess for GoDaddy addresses (smtp.secureserver.net is the MTA not the MSA)
641
  * Added functionality to add custom headers to every message - useful for [Mandrill "SMTP" headers](http://help.mandrill.com/entries/21688056-Using-SMTP-Headers-to-customize-your-messages)
642
  * [[Ticket](https://wordpress.org/support/topic/invalid-redirect-uri?replies=7)] The Setup Wizard will check for IP addresses in the site URL and warn the user when they are about to configure OAuth 2.0 that this will fail.
643
  * [[Ticket](https://wordpress.org/support/topic/from-address-for-new-site-registration-email?replies=3)] Added functionality to prevent plugins and themes from overriding both the sender name and sender email address
644
+ * [[Ticket](https://wordpress.org/support/topic/problem-with-responding?replies=7#post-6723830)] Hide PHP warnings from `stream_set_timeout()` in case the host has disabled this function.
645
 
646
  = 1.5.8 - 2015-03-16 =
647
  * 1,000 installations! :D
694
  * Translated into French, thank-you Etienne Provost
695
 
696
  = 1.4 - 2015-02-15 =
697
+ * Happy Valentine's Day! Sending Yahoo email now supported with OAuth 2.0 authentication! If the Wizard detects that a Yahoo server has been entered, it automatically configures OAuth 2.0
698
  * First time users may choose to import settings from any of the Big Four WordPress SMTP plugins (five if you count Easy SMTP Mail, a clone of WP Mail SMTP): Easy WP SMTP, WP Mail Bank, WP Mail SMTP and WP SMTP
699
  * [[Ticket](https://wordpress.org/support/topic/display-error-on-plugin-activation?replies=33)] Suppressed warning messages generated by calls to fsockopen - they were causing the remote Ajax queries to hang
700
  * The wizard was resetting some settings by accident, namely Connection Timeout, Read Timeout and Reply-To
719
  * Post now has a modest fatal error screen, rather than a dreaded white screen of death
720
 
721
  = 1.3 - 2015-02-09 =
722
+ * Sending Hotmail/Windows Live/Outlook.com email now supported with OAuth 2.0 authentication! If Wizard detects that a Hotmail server has been entered, it automatically configures OAuth 2.0.
723
  * Separated Authentication input from Encryption input for finer configuration control
724
  * Added additional authentication types: plain and CRAM-MD5. 'basic' became 'login'
725
  * Added Ajax to manual config and wizard screens to allow dynamic OAuth2 redirect url + help text changes in response to hostname changes
743
  = 1.0 - 2015-02-02 =
744
  * Overhaul of the UI - A navigation pane is shown at the top of each page and each major function has been separated into its own screen
745
  * Post now supports sending with basic auth and no auth just like the other SMTP plugins
746
+ * Added a Port Test function so users can have peace of mind whether the plugin is failing (never!) or whether the host has firewalled them
747
  * [[Ticket](https://wordpress.org/support/topic/emails-not-sending-in-html-format?replies=5)] Now supports email headers, such as a text/html content-type
748
  * Now supports email attachments
749
  * Added a warning if the user has configured OAuth but not requested permission from Google