Version Description
- 2017-12-12 =
- Fixed: PHPMailer using incorrect SMTPSecure value.
Download this release
Release Info
| Developer | jaredatch |
| Plugin | |
| Version | 1.0.2 |
| Comparing to | |
| See all releases | |
Code changes from version 1.0.1 to 1.0.2
- readme.txt +3 -0
- src/Processor.php +2 -1
- wp_mail_smtp.php +2 -2
readme.txt
CHANGED
|
@@ -146,6 +146,9 @@ By all means please contact us to discuss features or options you'd like to see
|
|
| 146 |
|
| 147 |
== Changelog ==
|
| 148 |
|
|
|
|
|
|
|
|
|
|
| 149 |
= 1.0.1 - 2017-12-12 =
|
| 150 |
* Fixed: Global POST processing conflict.
|
| 151 |
|
| 146 |
|
| 147 |
== Changelog ==
|
| 148 |
|
| 149 |
+
= 1.0.2 - 2017-12-12 =
|
| 150 |
+
* Fixed: PHPMailer using incorrect SMTPSecure value.
|
| 151 |
+
|
| 152 |
= 1.0.1 - 2017-12-12 =
|
| 153 |
* Fixed: Global POST processing conflict.
|
| 154 |
|
src/Processor.php
CHANGED
|
@@ -60,6 +60,7 @@ class Processor {
|
|
| 60 |
}
|
| 61 |
|
| 62 |
// Set the mailer type as per config above, this overrides the already called isMail method.
|
|
|
|
| 63 |
$phpmailer->Mailer = $mailer;
|
| 64 |
|
| 65 |
// Set the Sender (return-path) if required.
|
|
@@ -68,7 +69,7 @@ class Processor {
|
|
| 68 |
}
|
| 69 |
|
| 70 |
// Set the SMTPSecure value, if set to none, leave this blank.
|
| 71 |
-
$phpmailer->SMTPSecure = '
|
| 72 |
if ( isset( $options[ $mailer ]['encryption'] ) && 'none' === $options[ $mailer ]['encryption'] ) {
|
| 73 |
$phpmailer->SMTPSecure = '';
|
| 74 |
$phpmailer->SMTPAutoTLS = false;
|
| 60 |
}
|
| 61 |
|
| 62 |
// Set the mailer type as per config above, this overrides the already called isMail method.
|
| 63 |
+
// It's basically always 'smtp'.
|
| 64 |
$phpmailer->Mailer = $mailer;
|
| 65 |
|
| 66 |
// Set the Sender (return-path) if required.
|
| 69 |
}
|
| 70 |
|
| 71 |
// Set the SMTPSecure value, if set to none, leave this blank.
|
| 72 |
+
$phpmailer->SMTPSecure = $options[ $mailer ]['encryption'];
|
| 73 |
if ( isset( $options[ $mailer ]['encryption'] ) && 'none' === $options[ $mailer ]['encryption'] ) {
|
| 74 |
$phpmailer->SMTPSecure = '';
|
| 75 |
$phpmailer->SMTPAutoTLS = false;
|
wp_mail_smtp.php
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
<?php
|
| 2 |
/**
|
| 3 |
* Plugin Name: WP Mail SMTP
|
| 4 |
-
* Version: 1.0.
|
| 5 |
* Plugin URI: https://wpforms.com/
|
| 6 |
* Description: Reconfigures the wp_mail() function to use SMTP instead of mail() and creates an options page to manage the settings.
|
| 7 |
* Author: WPForms
|
|
@@ -17,7 +17,7 @@
|
|
| 17 |
* http://www.gnu.org/licenses/gpl.txt
|
| 18 |
*/
|
| 19 |
|
| 20 |
-
define( 'WPMS_PLUGIN_VER', '1.0.
|
| 21 |
define( 'WPMS_PHP_VER', '5.3' );
|
| 22 |
|
| 23 |
/**
|
| 1 |
<?php
|
| 2 |
/**
|
| 3 |
* Plugin Name: WP Mail SMTP
|
| 4 |
+
* Version: 1.0.2
|
| 5 |
* Plugin URI: https://wpforms.com/
|
| 6 |
* Description: Reconfigures the wp_mail() function to use SMTP instead of mail() and creates an options page to manage the settings.
|
| 7 |
* Author: WPForms
|
| 17 |
* http://www.gnu.org/licenses/gpl.txt
|
| 18 |
*/
|
| 19 |
|
| 20 |
+
define( 'WPMS_PLUGIN_VER', '1.0.2' );
|
| 21 |
define( 'WPMS_PHP_VER', '5.3' );
|
| 22 |
|
| 23 |
/**
|
