Version Description
- Added more requirements to the Server Info tab to help with troubleshooting.
- Compatible with WooCommerce email in HTML format.
Download this release
Release Info
Developer | naa986 |
Plugin | Gmail SMTP |
Version | 1.0.7 |
Comparing to | |
See all releases |
Code changes from version 1.0.6 to 1.0.7
- main.php +11 -2
- readme.txt +6 -2
main.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
/*
|
3 |
Plugin Name: Gmail SMTP
|
4 |
-
Version: 1.0.
|
5 |
Plugin URI: http://wphowto.net/
|
6 |
Author: naa986
|
7 |
Author URI: http://wphowto.net/
|
@@ -16,7 +16,7 @@ if (!defined('ABSPATH')){
|
|
16 |
|
17 |
class GMAIL_SMTP {
|
18 |
|
19 |
-
var $plugin_version = '1.0.
|
20 |
var $phpmailer_version = '5.2.14';
|
21 |
var $plugin_url;
|
22 |
var $plugin_path;
|
@@ -277,6 +277,15 @@ class GMAIL_SMTP {
|
|
277 |
}
|
278 |
$server_info .= sprintf('stream_socket_client: %s%s', $stream_socket_client_status, PHP_EOL);
|
279 |
$server_info .= sprintf('fsockopen: %s%s%s', $fsockopen_status, $socket_text, PHP_EOL);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
280 |
?>
|
281 |
<textarea rows="10" cols="50" class="large-text code"><?php echo $server_info;?></textarea>
|
282 |
<?php
|
1 |
<?php
|
2 |
/*
|
3 |
Plugin Name: Gmail SMTP
|
4 |
+
Version: 1.0.7
|
5 |
Plugin URI: http://wphowto.net/
|
6 |
Author: naa986
|
7 |
Author URI: http://wphowto.net/
|
16 |
|
17 |
class GMAIL_SMTP {
|
18 |
|
19 |
+
var $plugin_version = '1.0.7';
|
20 |
var $phpmailer_version = '5.2.14';
|
21 |
var $plugin_url;
|
22 |
var $plugin_path;
|
277 |
}
|
278 |
$server_info .= sprintf('stream_socket_client: %s%s', $stream_socket_client_status, PHP_EOL);
|
279 |
$server_info .= sprintf('fsockopen: %s%s%s', $fsockopen_status, $socket_text, PHP_EOL);
|
280 |
+
$cURL_status = 'Not Available. In order to make a SMTP connection your server needs to have cURL enabled';
|
281 |
+
if(function_exists('curl_init')){
|
282 |
+
$cURL_status = 'Available';
|
283 |
+
}
|
284 |
+
$server_info .= sprintf('cURL: %s%s', $cURL_status, PHP_EOL);
|
285 |
+
if(function_exists('curl_version')){
|
286 |
+
$curl_version = curl_version();
|
287 |
+
$server_info .= sprintf('cURL Version: %s, %s%s', $curl_version['version'], $curl_version['ssl_version'], PHP_EOL);
|
288 |
+
}
|
289 |
?>
|
290 |
<textarea rows="10" cols="50" class="large-text code"><?php echo $server_info;?></textarea>
|
291 |
<?php
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: naa986
|
|
3 |
Donate link: https://wphowto.net/
|
4 |
Tags: smtp, gmail, mail, mailer, phpmailer, wp_mail, email, oauth2
|
5 |
Requires at least: 4.3
|
6 |
-
Tested up to: 4.
|
7 |
-
Stable tag: 1.0.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -102,6 +102,10 @@ none
|
|
102 |
|
103 |
== Changelog ==
|
104 |
|
|
|
|
|
|
|
|
|
105 |
= 1.0.6 =
|
106 |
* Added a new option to bypass this error on some servers where the SSL certificate is not properly configured - Warning: stream_socket_enable_crypto(): SSL operation failed with code 1.
|
107 |
OpenSSL Error messages: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
|
3 |
Donate link: https://wphowto.net/
|
4 |
Tags: smtp, gmail, mail, mailer, phpmailer, wp_mail, email, oauth2
|
5 |
Requires at least: 4.3
|
6 |
+
Tested up to: 4.7
|
7 |
+
Stable tag: 1.0.7
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
102 |
|
103 |
== Changelog ==
|
104 |
|
105 |
+
= 1.0.7 =
|
106 |
+
* Added more requirements to the Server Info tab to help with troubleshooting.
|
107 |
+
* Compatible with WooCommerce email in HTML format.
|
108 |
+
|
109 |
= 1.0.6 =
|
110 |
* Added a new option to bypass this error on some servers where the SSL certificate is not properly configured - Warning: stream_socket_enable_crypto(): SSL operation failed with code 1.
|
111 |
OpenSSL Error messages: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
|