Version Description
- TWEAK: Could Not Open Socket Solution Provided
- TWEAK: Connection Timeout Solution Provided
- TWEAK: Could No Inititate mail() Function Solution Provided
Download this release
Release Info
Developer | contact-banker |
Plugin | WP Mail Bank: WordPress SMTP Plugin & Email Logs |
Version | 3.0.15 |
Comparing to | |
See all releases |
Code changes from version 3.0.14 to 3.0.15
- lib/action-library.php +10 -0
- lib/zend/mail/protocol/abstract.php +5 -3
- readme.txt +6 -0
- wp-mail-bank.php +2 -2
lib/action-library.php
CHANGED
@@ -158,6 +158,13 @@ if (!is_user_logged_in()) {
|
|
158 |
$debugging_output .= "----------------------------------------------------------------------------------------\n";
|
159 |
}
|
160 |
$debugging_output .= $mail_bank_mail_status;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
161 |
echo $debugging_output;
|
162 |
} else {
|
163 |
$to_address = $phpmailer->getToAddresses();
|
@@ -194,6 +201,9 @@ if (!is_user_logged_in()) {
|
|
194 |
$email_logs_data["meta_value"] = serialize($email_logs_data_array);
|
195 |
$obj_dbHelper_mail_bank->insertCommand(mail_bank_meta(), $email_logs_data);
|
196 |
}
|
|
|
|
|
|
|
197 |
echo $result;
|
198 |
}
|
199 |
}
|
158 |
$debugging_output .= "----------------------------------------------------------------------------------------\n";
|
159 |
}
|
160 |
$debugging_output .= $mail_bank_mail_status;
|
161 |
+
if ($settings_data_array["debug_mode"] == "enable") {
|
162 |
+
if (get_option("mail_bank_is_mail_sent") != "Sent") {
|
163 |
+
$debugging_output .= "\n\n";
|
164 |
+
$debugging_output .= "Your Web Host provider may have installed a firewall between you and the server.\n Contact the admin of the server and ask if they allow outgoing communication on port 25,465,587.\n It seems like they are blocking certain traffic. Ask them to open the ports.\n";
|
165 |
+
$debugging_output .= "----------------------------------------------------------------------------------------\n";
|
166 |
+
}
|
167 |
+
}
|
168 |
echo $debugging_output;
|
169 |
} else {
|
170 |
$to_address = $phpmailer->getToAddresses();
|
201 |
$email_logs_data["meta_value"] = serialize($email_logs_data_array);
|
202 |
$obj_dbHelper_mail_bank->insertCommand(mail_bank_meta(), $email_logs_data);
|
203 |
}
|
204 |
+
if ($result != "true" || $result != "1") {
|
205 |
+
$result .= "Your Web Host provider may have blocked the use of mail() function on your server.\n Ask them to enable the mail() function to start sending emails.\n";
|
206 |
+
}
|
207 |
echo $result;
|
208 |
}
|
209 |
}
|
lib/zend/mail/protocol/abstract.php
CHANGED
@@ -25,15 +25,17 @@ if (!defined("ABSPATH")) {
|
|
25 |
/**
|
26 |
* @see mail_bank_Zend_Validate
|
27 |
*/
|
28 |
-
if (file_exists(MAIL_BANK_DIR_PATH . 'lib/zend/validate.php'))
|
29 |
require_once MAIL_BANK_DIR_PATH . 'lib/zend/validate.php';
|
|
|
30 |
|
31 |
|
32 |
/**
|
33 |
* @see mail_bank_Zend_Validate_Hostname
|
34 |
*/
|
35 |
-
if (file_exists(MAIL_BANK_DIR_PATH . 'lib/zend/validate/hostname.php'))
|
36 |
require_once MAIL_BANK_DIR_PATH . 'lib/zend/validate/hostname.php';
|
|
|
37 |
/**
|
38 |
* mail_bank_Zend_Mail_Protocol_Abstract
|
39 |
*
|
@@ -55,7 +57,7 @@ abstract class mail_bank_Zend_Mail_Protocol_Abstract {
|
|
55 |
/**
|
56 |
* Default timeout in seconds for initiating session
|
57 |
*/
|
58 |
-
const TIMEOUT_CONNECTION =
|
59 |
/**
|
60 |
* Maximum of the transaction log
|
61 |
* @var integer
|
25 |
/**
|
26 |
* @see mail_bank_Zend_Validate
|
27 |
*/
|
28 |
+
if (file_exists(MAIL_BANK_DIR_PATH . 'lib/zend/validate.php')) {
|
29 |
require_once MAIL_BANK_DIR_PATH . 'lib/zend/validate.php';
|
30 |
+
}
|
31 |
|
32 |
|
33 |
/**
|
34 |
* @see mail_bank_Zend_Validate_Hostname
|
35 |
*/
|
36 |
+
if (file_exists(MAIL_BANK_DIR_PATH . 'lib/zend/validate/hostname.php')) {
|
37 |
require_once MAIL_BANK_DIR_PATH . 'lib/zend/validate/hostname.php';
|
38 |
+
}
|
39 |
/**
|
40 |
* mail_bank_Zend_Mail_Protocol_Abstract
|
41 |
*
|
57 |
/**
|
58 |
* Default timeout in seconds for initiating session
|
59 |
*/
|
60 |
+
const TIMEOUT_CONNECTION = 90;
|
61 |
/**
|
62 |
* Maximum of the transaction log
|
63 |
* @var integer
|
readme.txt
CHANGED
@@ -300,6 +300,12 @@ It allows the users to view the debugging output of logged emails.
|
|
300 |
|
301 |
== Changelog ==
|
302 |
|
|
|
|
|
|
|
|
|
|
|
|
|
303 |
= 3.0.14 =
|
304 |
|
305 |
* FIX: Wizard Bugs
|
300 |
|
301 |
== Changelog ==
|
302 |
|
303 |
+
= 3.0.15 =
|
304 |
+
|
305 |
+
* TWEAK: Could Not Open Socket Solution Provided
|
306 |
+
* TWEAK: Connection Timeout Solution Provided
|
307 |
+
* TWEAK: Could No Inititate mail() Function Solution Provided
|
308 |
+
|
309 |
= 3.0.14 =
|
310 |
|
311 |
* FIX: Wizard Bugs
|
wp-mail-bank.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
Description: Mail Bank easily configures sending emails and logging them from your WordPress site using your preferred PHPMailer or SMTP server.
|
6 |
Author: Tech Banker
|
7 |
Author URI: https://mail-bank.tech-banker.com/
|
8 |
-
Version: 3.0.
|
9 |
License: GPLv3
|
10 |
Text Domain: wp-mail-bank
|
11 |
Domain Path: /languages
|
@@ -50,7 +50,7 @@ if (!defined("tech_banker_stats_url")) {
|
|
50 |
define("tech_banker_stats_url", "http://stats.tech-banker-services.org");
|
51 |
}
|
52 |
if (!defined("mail_bank_version_number")) {
|
53 |
-
define("mail_bank_version_number", "3.0.
|
54 |
}
|
55 |
|
56 |
|
5 |
Description: Mail Bank easily configures sending emails and logging them from your WordPress site using your preferred PHPMailer or SMTP server.
|
6 |
Author: Tech Banker
|
7 |
Author URI: https://mail-bank.tech-banker.com/
|
8 |
+
Version: 3.0.15
|
9 |
License: GPLv3
|
10 |
Text Domain: wp-mail-bank
|
11 |
Domain Path: /languages
|
50 |
define("tech_banker_stats_url", "http://stats.tech-banker-services.org");
|
51 |
}
|
52 |
if (!defined("mail_bank_version_number")) {
|
53 |
+
define("mail_bank_version_number", "3.0.15");
|
54 |
}
|
55 |
|
56 |
|