WP Mail Bank: WordPress SMTP Plugin & Email Logs - Version 3.0.7

Version Description

  • TWEAK: Unused Files removed
  • TWEAK: Code Optimized
Download this release

Release Info

Developer contact-banker
Plugin Icon 128x128 WP Mail Bank: WordPress SMTP Plugin & Email Logs
Version 3.0.7
Comparing to
See all releases

Code changes from version 3.0.6 to 3.0.7

includes/footer.php CHANGED
@@ -300,17 +300,14 @@ if (!is_user_logged_in()) {
300
  required: true
301
  }
302
  },
303
- errorPlacement: function (error, element)
304
  {
305
- var icon = jQuery(element).parent(".input-icon").children("i");
306
- icon.removeClass("fa-check").addClass("fa-warning");
307
- icon.attr("data-original-title", error.text()).tooltip_tip({"container": "body"});
308
  },
309
  highlight: function (element)
310
  {
311
  jQuery(element).closest(".form-group").removeClass("has-success").addClass("has-error");
312
  },
313
- success: function (element)
314
  {
315
  var icon = jQuery(element).parent(".input-icon").children("i");
316
  jQuery(element).closest(".form-group").removeClass("has-error").addClass("has-success");
@@ -398,17 +395,14 @@ if (!is_user_logged_in()) {
398
  required: true
399
  }
400
  },
401
- errorPlacement: function (error, element)
402
  {
403
- var icon = jQuery(element).parent(".input-icon").children("i");
404
- icon.removeClass("fa-check").addClass("fa-warning");
405
- icon.attr("data-original-title", error.text()).tooltip_tip({"container": "body"});
406
  },
407
  highlight: function (element)
408
  {
409
  jQuery(element).closest(".form-group").removeClass("has-success").addClass("has-error");
410
  },
411
- success: function (element)
412
  {
413
  var icon = jQuery(element).parent(".input-icon").children("i");
414
  jQuery(element).closest(".form-group").removeClass("has-error").addClass("has-success");
@@ -611,17 +605,14 @@ if (!is_user_logged_in()) {
611
  required: true
612
  }
613
  },
614
- errorPlacement: function (error, element)
615
  {
616
- var icon = jQuery(element).parent(".input-icon").children("i");
617
- icon.removeClass("fa-check").addClass("fa-warning");
618
- icon.attr("data-original-title", error.text()).tooltip_tip({"container": "body"});
619
  },
620
  highlight: function (element)
621
  {
622
  jQuery(element).closest(".form-group").removeClass("has-success").addClass("has-error");
623
  },
624
- success: function (element)
625
  {
626
  var icon = jQuery(element).parent(".input-icon").children("i");
627
  jQuery(element).closest(".form-group").removeClass("has-error").addClass("has-success");
@@ -883,17 +874,14 @@ if (!is_user_logged_in()) {
883
  required: true
884
  }
885
  },
886
- errorPlacement: function (error, element)
887
  {
888
- var icon = jQuery(element).parent(".input-icon").children("i");
889
- icon.removeClass("fa-check").addClass("fa-warning");
890
- icon.attr("data-original-title", error.text()).tooltip_tip({"container": "body"});
891
  },
892
  highlight: function (element)
893
  {
894
  jQuery(element).closest(".form-group").removeClass("has-success").addClass("has-error");
895
  },
896
- success: function (element)
897
  {
898
  var icon = jQuery(element).parent(".input-icon").children("i");
899
  jQuery(element).closest(".form-group").removeClass("has-error").addClass("has-success");
@@ -1152,17 +1140,14 @@ if (!is_user_logged_in()) {
1152
  required: true
1153
  }
1154
  },
1155
- errorPlacement: function (error, element)
1156
  {
1157
- var icon = jQuery(element).parent(".input-icon").children("i");
1158
- icon.removeClass("fa-check").addClass("fa-warning");
1159
- icon.attr("data-original-title", error.text()).tooltip_tip({"container": "body"});
1160
  },
1161
  highlight: function (element)
1162
  {
1163
  jQuery(element).closest(".form-group").removeClass("has-success").addClass("has-error");
1164
  },
1165
- success: function (element)
1166
  {
1167
  var icon = jQuery(element).parent(".input-icon").children("i");
1168
  jQuery(element).closest(".form-group").removeClass("has-error").addClass("has-success");
300
  required: true
301
  }
302
  },
303
+ errorPlacement: function ()
304
  {
 
 
 
305
  },
306
  highlight: function (element)
307
  {
308
  jQuery(element).closest(".form-group").removeClass("has-success").addClass("has-error");
309
  },
310
+ success: function (label, element)
311
  {
312
  var icon = jQuery(element).parent(".input-icon").children("i");
313
  jQuery(element).closest(".form-group").removeClass("has-error").addClass("has-success");
395
  required: true
396
  }
397
  },
398
+ errorPlacement: function ()
399
  {
 
 
 
400
  },
401
  highlight: function (element)
402
  {
403
  jQuery(element).closest(".form-group").removeClass("has-success").addClass("has-error");
404
  },
405
+ success: function (label, element)
406
  {
407
  var icon = jQuery(element).parent(".input-icon").children("i");
408
  jQuery(element).closest(".form-group").removeClass("has-error").addClass("has-success");
605
  required: true
606
  }
607
  },
608
+ errorPlacement: function ()
609
  {
 
 
 
610
  },
611
  highlight: function (element)
612
  {
613
  jQuery(element).closest(".form-group").removeClass("has-success").addClass("has-error");
614
  },
615
+ success: function (label, element)
616
  {
617
  var icon = jQuery(element).parent(".input-icon").children("i");
618
  jQuery(element).closest(".form-group").removeClass("has-error").addClass("has-success");
874
  required: true
875
  }
876
  },
877
+ errorPlacement: function ()
878
  {
 
 
 
879
  },
880
  highlight: function (element)
881
  {
882
  jQuery(element).closest(".form-group").removeClass("has-success").addClass("has-error");
883
  },
884
+ success: function (label, element)
885
  {
886
  var icon = jQuery(element).parent(".input-icon").children("i");
887
  jQuery(element).closest(".form-group").removeClass("has-error").addClass("has-success");
1140
  required: true
1141
  }
1142
  },
1143
+ errorPlacement: function ()
1144
  {
 
 
 
1145
  },
1146
  highlight: function (element)
1147
  {
1148
  jQuery(element).closest(".form-group").removeClass("has-success").addClass("has-error");
1149
  },
1150
+ success: function (label, element)
1151
  {
1152
  var icon = jQuery(element).parent(".input-icon").children("i");
1153
  jQuery(element).closest(".form-group").removeClass("has-error").addClass("has-success");
includes/mail-bank-configuration-provider.php CHANGED
@@ -17,7 +17,7 @@ if (!class_exists("mail_bank_configuration_provider")) {
17
  " WHERE meta_key=%s", "email_configuration"
18
  )
19
  );
20
- $email_configuration_array = unserialize($email_configuration_data);
21
  return $email_configuration_array;
22
  }
23
 
17
  " WHERE meta_key=%s", "email_configuration"
18
  )
19
  );
20
+ $email_configuration_array = maybe_unserialize($email_configuration_data);
21
  return $email_configuration_array;
22
  }
23
 
includes/mail-bank-send-mail.php CHANGED
@@ -79,7 +79,7 @@ if (!class_exists("mail_bank_send_mail")) {
79
  )
80
  );
81
 
82
- $settings_data = unserialize($mail_bank_settings_data->meta_value);
83
  $ob_mb_config_provider = new mail_bank_configuration_provider();
84
  $this->configuration_settings = $ob_mb_config_provider->get_configuration_settings();
85
  $authorization_token = mail_bank_manage_token::get_instance();
79
  )
80
  );
81
 
82
+ $settings_data = maybe_unserialize($mail_bank_settings_data->meta_value);
83
  $ob_mb_config_provider = new mail_bank_configuration_provider();
84
  $this->configuration_settings = $ob_mb_config_provider->get_configuration_settings();
85
  $authorization_token = mail_bank_manage_token::get_instance();
includes/mailer.php CHANGED
@@ -289,7 +289,7 @@ if (!class_exists("mail_bank_auth_host")) {
289
  WHERE meta_key = %s", "email_configuration"
290
  )
291
  );
292
- $email_configuration_data_array = unserialize($email_configuration_data);
293
  if ($email_configuration_data_array["mailer_type"] == "smtp") {
294
  if (!function_exists("wp_mail")) {
295
 
@@ -303,7 +303,7 @@ if (!class_exists("mail_bank_auth_host")) {
303
  " WHERE meta_key=%s", "email_configuration"
304
  )
305
  );
306
- $email_configuration_settings = unserialize($email_configuration_data_array);
307
  $obj_send_test_mail = new mail_bank_auth_host($email_configuration_settings);
308
  $result = $obj_send_test_mail->send_test_mail_bank($to, $subject, $message, $headers, $attachments, $email_configuration_settings);
309
  return $result;
289
  WHERE meta_key = %s", "email_configuration"
290
  )
291
  );
292
+ $email_configuration_data_array = maybe_unserialize($email_configuration_data);
293
  if ($email_configuration_data_array["mailer_type"] == "smtp") {
294
  if (!function_exists("wp_mail")) {
295
 
303
  " WHERE meta_key=%s", "email_configuration"
304
  )
305
  );
306
+ $email_configuration_settings = maybe_unserialize($email_configuration_data_array);
307
  $obj_send_test_mail = new mail_bank_auth_host($email_configuration_settings);
308
  $result = $obj_send_test_mail->send_test_mail_bank($to, $subject, $message, $headers, $attachments, $email_configuration_settings);
309
  return $result;
includes/queries.php CHANGED
@@ -24,10 +24,10 @@ if (!is_user_logged_in()) {
24
  return;
25
  } else {
26
 
27
- function get_mail_bank_log_data_unserialize($data, $start_date, $end_date) {
28
  $array_details = array();
29
  foreach ($data as $raw_row) {
30
- $unserialize_data = unserialize($raw_row->meta_value);
31
  $unserialize_data["id"] = $raw_row->id;
32
  $unserialize_data["meta_id"] = $raw_row->meta_id;
33
  if ($unserialize_data["timestamp"] >= $start_date && $unserialize_data["timestamp"] <= $end_date)
@@ -46,7 +46,7 @@ if (!is_user_logged_in()) {
46
  " WHERE meta_key=%s", $meta_key
47
  )
48
  );
49
- return unserialize($meta_value);
50
  }
51
 
52
  if (isset($_GET["page"])) {
@@ -80,7 +80,7 @@ if (!is_user_logged_in()) {
80
  WHERE meta_key = %s ORDER BY id DESC", "email_logs"
81
  )
82
  );
83
- $unserialized_email_logs_data = get_mail_bank_log_data_unserialize($email_logs_data, $start_date, $end_date);
84
 
85
  break;
86
 
24
  return;
25
  } else {
26
 
27
+ function get_mail_bank_log_data_maybe_unserialize($data, $start_date, $end_date) {
28
  $array_details = array();
29
  foreach ($data as $raw_row) {
30
+ $unserialize_data = maybe_unserialize($raw_row->meta_value);
31
  $unserialize_data["id"] = $raw_row->id;
32
  $unserialize_data["meta_id"] = $raw_row->meta_id;
33
  if ($unserialize_data["timestamp"] >= $start_date && $unserialize_data["timestamp"] <= $end_date)
46
  " WHERE meta_key=%s", $meta_key
47
  )
48
  );
49
+ return maybe_unserialize($meta_value);
50
  }
51
 
52
  if (isset($_GET["page"])) {
80
  WHERE meta_key = %s ORDER BY id DESC", "email_logs"
81
  )
82
  );
83
+ $unserialized_email_logs_data = get_mail_bank_log_data_maybe_unserialize($email_logs_data, $start_date, $end_date);
84
 
85
  break;
86
 
lib/action-library.php CHANGED
@@ -23,10 +23,10 @@ if (!is_user_logged_in()) {
23
  return;
24
  } else {
25
 
26
- function get_mail_bank_details_unserialize($email_data_manage, $mb_date1, $mb_date2) {
27
  $email_details = array();
28
  foreach ($email_data_manage as $raw_row) {
29
- $unserialize_data = unserialize($raw_row->meta_value);
30
  $unserialize_data["id"] = $raw_row->id;
31
  $unserialize_data["meta_id"] = $raw_row->meta_id;
32
  if ($unserialize_data["timestamp"] >= $mb_date1 && $unserialize_data["timestamp"] <= $mb_date2)
@@ -129,7 +129,7 @@ if (!is_user_logged_in()) {
129
  " WHERE meta_key = %s", "email_configuration"
130
  )
131
  );
132
- $unserialized_email_configuration_data = unserialize($mb_email_configuration_data->meta_value);
133
 
134
  $settings_data = $wpdb->get_var
135
  (
@@ -139,7 +139,7 @@ if (!is_user_logged_in()) {
139
  " WHERE meta_key=%s", "settings"
140
  )
141
  );
142
- $settings_data_array = unserialize($settings_data);
143
  $debugging_output = "";
144
  $mailer_type_mail_bank = isset($unserialized_email_configuration_data["mailer_type"]) ? esc_attr($unserialized_email_configuration_data["mailer_type"]) : "";
145
 
@@ -244,7 +244,7 @@ if (!is_user_logged_in()) {
244
  " WHERE meta_key=%s", "email_configuration"
245
  )
246
  );
247
- $email_configuration_array = unserialize($email_configuration_data);
248
  $update_email_configuration_array["password"] = isset($email_configuration_array["password"]) ? esc_attr($email_configuration_array["password"]) : "";
249
  } else {
250
  $update_email_configuration_array["password"] = base64_encode(esc_html($form_data["ux_txt_password"]));
23
  return;
24
  } else {
25
 
26
+ function get_mail_bank_details_maybe_unserialize($email_data_manage, $mb_date1, $mb_date2) {
27
  $email_details = array();
28
  foreach ($email_data_manage as $raw_row) {
29
+ $unserialize_data = maybe_unserialize($raw_row->meta_value);
30
  $unserialize_data["id"] = $raw_row->id;
31
  $unserialize_data["meta_id"] = $raw_row->meta_id;
32
  if ($unserialize_data["timestamp"] >= $mb_date1 && $unserialize_data["timestamp"] <= $mb_date2)
129
  " WHERE meta_key = %s", "email_configuration"
130
  )
131
  );
132
+ $unserialized_email_configuration_data = maybe_unserialize($mb_email_configuration_data->meta_value);
133
 
134
  $settings_data = $wpdb->get_var
135
  (
139
  " WHERE meta_key=%s", "settings"
140
  )
141
  );
142
+ $settings_data_array = maybe_unserialize($settings_data);
143
  $debugging_output = "";
144
  $mailer_type_mail_bank = isset($unserialized_email_configuration_data["mailer_type"]) ? esc_attr($unserialized_email_configuration_data["mailer_type"]) : "";
145
 
244
  " WHERE meta_key=%s", "email_configuration"
245
  )
246
  );
247
+ $email_configuration_array = maybe_unserialize($email_configuration_data);
248
  $update_email_configuration_array["password"] = isset($email_configuration_array["password"]) ? esc_attr($email_configuration_array["password"]) : "";
249
  } else {
250
  $update_email_configuration_array["password"] = base64_encode(esc_html($form_data["ux_txt_password"]));
lib/admin-bar-menu.php CHANGED
@@ -34,7 +34,7 @@ if (!is_user_logged_in()) {
34
  )
35
  );
36
 
37
- $roles_and_capabilities_unserialized_data = unserialize($role_capabilities);
38
  $capabilities = explode(",", isset($roles_and_capabilities_unserialized_data["roles_and_capabilities"]) ? esc_attr($roles_and_capabilities_unserialized_data["roles_and_capabilities"]) : "");
39
 
40
  if (is_super_admin()) {
34
  )
35
  );
36
 
37
+ $roles_and_capabilities_unserialized_data = maybe_unserialize($role_capabilities);
38
  $capabilities = explode(",", isset($roles_and_capabilities_unserialized_data["roles_and_capabilities"]) ? esc_attr($roles_and_capabilities_unserialized_data["roles_and_capabilities"]) : "");
39
 
40
  if (is_super_admin()) {
lib/install-script.php CHANGED
@@ -235,7 +235,7 @@ if (!is_user_logged_in()) {
235
  WHERE meta_key = %s", "settings"
236
  )
237
  );
238
- $plugin_settings_data_unserialize = unserialize($plugin_settings_data);
239
 
240
  $update_plugin_data = array();
241
  $update_plugin_data["debug_mode"] = isset($plugin_settings_data_unserialize["debug_mode"]) ? esc_attr($plugin_settings_data_unserialize["debug_mode"]) : "enable";
@@ -264,7 +264,7 @@ if (!is_user_logged_in()) {
264
  )
265
  );
266
 
267
- $settings_data_array = unserialize($settings_data);
268
  if (!array_key_exists("monitor_email_logs", $settings_data_array)) {
269
  $settings_data_array["monitor_email_logs"] = "enable";
270
  }
@@ -283,7 +283,7 @@ if (!is_user_logged_in()) {
283
  )
284
  );
285
 
286
- $get_roles_settings_data_array = unserialize($get_roles_settings_data);
287
 
288
  if (array_key_exists("roles_and_capabilities", $get_roles_settings_data_array)) {
289
  $roles_and_capabilities_data = isset($get_roles_settings_data_array["roles_and_capabilities"]) ? explode(",", $get_roles_settings_data_array["roles_and_capabilities"]) : "1,1,1,0,0,0";
235
  WHERE meta_key = %s", "settings"
236
  )
237
  );
238
+ $plugin_settings_data_unserialize = maybe_unserialize($plugin_settings_data);
239
 
240
  $update_plugin_data = array();
241
  $update_plugin_data["debug_mode"] = isset($plugin_settings_data_unserialize["debug_mode"]) ? esc_attr($plugin_settings_data_unserialize["debug_mode"]) : "enable";
264
  )
265
  );
266
 
267
+ $settings_data_array = maybe_unserialize($settings_data);
268
  if (!array_key_exists("monitor_email_logs", $settings_data_array)) {
269
  $settings_data_array["monitor_email_logs"] = "enable";
270
  }
283
  )
284
  );
285
 
286
+ $get_roles_settings_data_array = maybe_unserialize($get_roles_settings_data);
287
 
288
  if (array_key_exists("roles_and_capabilities", $get_roles_settings_data_array)) {
289
  $roles_and_capabilities_data = isset($get_roles_settings_data_array["roles_and_capabilities"]) ? explode(",", $get_roles_settings_data_array["roles_and_capabilities"]) : "1,1,1,0,0,0";
lib/sidebar-menu.php CHANGED
@@ -34,7 +34,7 @@ if (!is_user_logged_in()) {
34
  )
35
  );
36
 
37
- $roles_and_capabilities_unserialized_data = unserialize($role_capabilities);
38
  $capabilities = explode(",", isset($roles_and_capabilities_unserialized_data["roles_and_capabilities"]) ? esc_attr($roles_and_capabilities_unserialized_data["roles_and_capabilities"]) : "");
39
 
40
  if (is_super_admin()) {
34
  )
35
  );
36
 
37
+ $roles_and_capabilities_unserialized_data = maybe_unserialize($role_capabilities);
38
  $capabilities = explode(",", isset($roles_and_capabilities_unserialized_data["roles_and_capabilities"]) ? esc_attr($roles_and_capabilities_unserialized_data["roles_and_capabilities"]) : "");
39
 
40
  if (is_super_admin()) {
lib/zend/mail/storage/folder/mbox.php CHANGED
@@ -260,7 +260,7 @@ class mail_bank_Zend_Mail_Storage_Folder_Mbox extends mail_bank_Zend_Mail_Storag
260
  }
261
 
262
  /**
263
- * magic method for unserialize()
264
  *
265
  * with this method you can cache the mbox class
266
  *
260
  }
261
 
262
  /**
263
+ * magic method for maybe_unserialize()
264
  *
265
  * with this method you can cache the mbox class
266
  *
lib/zend/mail/storage/mbox.php CHANGED
@@ -419,7 +419,7 @@ class mail_bank_Zend_Mail_Storage_Mbox extends mail_bank_Zend_Mail_Storage_Abstr
419
  }
420
 
421
  /**
422
- * magic method for unserialize()
423
  *
424
  * with this method you can cache the mbox class
425
  * for cache validation the mtime of the mbox file is used
419
  }
420
 
421
  /**
422
+ * magic method for maybe_unserialize()
423
  *
424
  * with this method you can cache the mbox class
425
  * for cache validation the mtime of the mbox file is used
readme.txt CHANGED
@@ -1,61 +1,67 @@
1
- === SMTP Mailer Plugin by Mail Bank ===
2
  Contributors: contact-banker, Gallery-Bank, wordpress-empire
3
- Tags: email, gmail, mail, mail smtp, mailer, outgoing mail, phpmailer, sendmail, smtp, ssl, tls, wordpress smtp, wp mail, wp smtp
 
4
  Requires at least: 2.7
5
  Tested up to: 4.8
6
  Stable tag: trunk
7
 
8
- Mail Bank easily configures sending emails and logging them from your WordPress site using your preferred PHPMailer or SMTP server.
9
 
10
  == Description ==
11
 
12
- [**Mail SMTP & PHPMailer by Mail Bank**](http://beta.tech-banker.com/products/mail-bank/) is one of easiest way of sending emails and logging them from your WordPress site using your preferred PHPMailer or SMTP server.
13
 
 
 
 
 
 
 
 
14
 
15
  > #### **Live Demos - Mail Bank**
16
 
17
- > * [Mail Bank - Mail SMTP & PHPMailer Plugin](http://beta.tech-banker.com/products/mail-bank/)
18
- > * [Mail Bank Demos - Mail SMTP & PHPMailer Plugin](http://beta.tech-banker.com/products/mail-bank/demos/)
19
- > * [Installation Screen - Mail SMTP & PHPMailer Plugin](http://beta.tech-banker.com/products/mail-bank/demos/installation/)
20
- > * [Email Setup Screen - Mail SMTP & PHPMailer Plugin](http://beta.tech-banker.com/products/mail-bank/demos/email-setup/)
21
- > * [Test Email Screen - Mail SMTP & PHPMailer Plugin](http://beta.tech-banker.com/products/mail-bank/demos/test-email/)
22
- > * [Connectivity Screen](http://beta.tech-banker.com/products/mail-bank/demos/connectivity-test/)
23
- > * [Email Logs Screen - Mail SMTP & PHPMailer Plugin](http://beta.tech-banker.com/products/mail-bank/demos/email-logs/)
24
- > * [Plugin Settings Screen - Mail SMTP & PHPMailer Plugin](http://beta.tech-banker.com/products/mail-bank/demos/plugin-settings/)
25
- > * [Roles & Capabilities Screen - Mail SMTP & PHPMailer Plugin](http://beta.tech-banker.com/products/mail-bank/demos/roles-capabilities/)
26
- > * [Feedbacks Screen - Mail SMTP & PHPMailer Plugin](http://beta.tech-banker.com/products/mail-bank/demos/feedbacks/)
27
- > * [System Information Screen - Mail SMTP & PHPMailer Plugin](http://beta.tech-banker.com/products/mail-bank/demos/system-information/)
28
 
29
  > #### **User Guide - Mail Bank**
30
 
31
- > * [Installation Screen - Mail SMTP & PHPMailer Plugin](http://beta.tech-banker.com/products/mail-bank/user-guide/installation/)
32
- > * [Email Setup Screen - Mail SMTP & PHPMailer Plugin](http://beta.tech-banker.com/products/mail-bank/user-guide/email-setup/)
33
- > * [Test Email Screen - Mail SMTP & PHPMailer Plugin](http://beta.tech-banker.com/products/mail-bank/user-guide/test-email/)
34
- > * [Connectivity Screen](http://beta.tech-banker.com/products/mail-bank/user-guide/connectivity-test/)
35
- > * [Email Logs Screen - Mail SMTP & PHPMailer Plugin](http://beta.tech-banker.com/products/mail-bank/user-guide/email-logs/)
36
- > * [Plugin Settings Screen - Mail SMTP & PHPMailer Plugin](http://beta.tech-banker.com/products/mail-bank/user-guide/plugin-settings/)
37
- > * [Roles & Capabilities Screen - Mail SMTP & PHPMailer Plugin](http://beta.tech-banker.com/products/mail-bank/user-guide/roles-capabilities/)
38
- > * [Feedbacks Screen - Mail SMTP & PHPMailer Plugin](http://beta.tech-banker.com/products/mail-bank/user-guide/feedbacks/)
39
- > * [System Information Screen - Mail SMTP & PHPMailer Plugin](http://beta.tech-banker.com/products/mail-bank/user-guide/system-information/)
40
-
41
- Mail Bank is an substantial tool known for excellence deliverability through safe and secure way.
42
 
43
  It has following two options to send emails one is SMTP server and other is inbuilt PHPMailer.
44
 
45
 
46
  > #### **List of SMTP Servers (Outgoing)**
47
 
48
- > * **Gmail** :- Host: smtp.gmail.com - Secure(SSL) - Port(465)
49
- > * **Gmail** :- Host: smtp.gmail.com - Secure(TLS) - Port(587)
50
- > * **Outlook.com** :- Host: smtp-mail.outlook.com - Secure(TLS) - Port(587)
51
- > * **Office365.com** :- Host: smtp.office365.com - Secure(TLS) - Port(587)
52
- > * **Hotmail.com** :- Host: smtp.live.com - Secure(TLS) - Port(587)
53
- > * **Yahoo Mail** :- Host: smtp.mail.yahoo.com - Secure(TLS) - Port(587)
54
- > * **Yahoo Mail** :- Host: smtp.mail.yahoo.com - Secure(SSL) - Port(465)
55
- > * **Yahoo Mail Deutschland** :- Host: smtp.mail.yahoo.com - Secure(SSL) - Port(465)
56
- > * **Yahoo Mail Plus** :- Host: plus.smtp.mail.yahoo.com - Secure(SSL) - Port(465)
57
- > * **AOL.com** :- Host: smtp.aol.com - Secure(TLS) - Port(587)
58
- > * **AT&T** :- Host: smtp.att.yahoo.com - Secure(SSL) - Port(465)
59
  > * **NTL @ntlworld.com** :- Host: smtp.ntlworld.com - Secure(SSL) - Port(465)
60
  > * **BT Connect** :- Host: smtp.btconnect.com - No-Encryption - Port(25)
61
  > * **BT Openworld** :- Host: mail.btopenworld.com - No-Encryption - Port(25)
@@ -294,6 +300,11 @@ It allows the users to view the debugging output of logged emails.
294
 
295
  == Changelog ==
296
 
 
 
 
 
 
297
  = 3.0.6 =
298
 
299
  * FIX: Proper Sanitization, Escaping, Validation of all Post Calls
1
+ === WP Mail SMTP Plugin by Mail Bank ===
2
  Contributors: contact-banker, Gallery-Bank, wordpress-empire
3
+ Donate link: http://thewpgeeks.com/
4
+ Tags: wp mail, wordpress smtp, wp smtp, wordpress smtp plugin, email, gmail, mail, mail smtp, mailer, outgoing mail, phpmailer, sendmail, smtp
5
  Requires at least: 2.7
6
  Tested up to: 4.8
7
  Stable tag: trunk
8
 
9
+ Mail Bank uses smtp settings for sending emails from your website/blog. It is the best wp mail smtp plugin.
10
 
11
  == Description ==
12
 
13
+ = WordPress SMTP Plugin =
14
 
15
+ [**WP Mail SMTP Plugin by Mail Bank**](http://beta.tech-banker.com/products/mail-bank/) is one of easiest way of sending emails and logging them from your WordPress site using your preferred PHPMailer or SMTP Server Settings.
16
+
17
+ WP Mail SMTP Plugin by Mail Bank works with all major email services such as Gmail, Yahoo, Outlook, Microsoft Live, and any other email sending service that offers SMTP.
18
+
19
+ The goal of WP Mail SMTP plugin by Mail Bank is to help fix the common "WordPress not sending an email issue".
20
+
21
+ WP Mail SMTP Plugin by Mail Bank is an substantial tool known for excellence deliverability through safe and secure way.
22
 
23
  > #### **Live Demos - Mail Bank**
24
 
25
+ > * [Mail Bank - WP Mail SMTP & PHPMailer Plugin](http://beta.tech-banker.com/products/mail-bank/)
26
+ > * [Mail Bank Demos - WP Mail SMTP & PHPMailer Plugin](http://beta.tech-banker.com/products/mail-bank/demos/)
27
+ > * [Installation Screen - WP Mail SMTP & PHPMailer Plugin](http://beta.tech-banker.com/products/mail-bank/demos/installation/)
28
+ > * [Email Setup Screen - WP Mail SMTP & PHPMailer Plugin](http://beta.tech-banker.com/products/mail-bank/demos/email-setup/)
29
+ > * [Test Email Screen - WP Mail SMTP & PHPMailer Plugin](http://beta.tech-banker.com/products/mail-bank/demos/test-email/)
30
+ > * [Connectivity Screen - WP Mail SMTP & PHPMailer Plugin](http://beta.tech-banker.com/products/mail-bank/demos/connectivity-test/)
31
+ > * [Email Logs Screen - WP Mail SMTP & PHPMailer Plugin](http://beta.tech-banker.com/products/mail-bank/demos/email-logs/)
32
+ > * [Plugin Settings Screen - WP Mail SMTP & PHPMailer Plugin](http://beta.tech-banker.com/products/mail-bank/demos/plugin-settings/)
33
+ > * [Roles & Capabilities Screen - WP Mail SMTP & PHPMailer Plugin](http://beta.tech-banker.com/products/mail-bank/demos/roles-capabilities/)
34
+ > * [Feedbacks Screen - WP Mail SMTP & PHPMailer Plugin](http://beta.tech-banker.com/products/mail-bank/demos/feedbacks/)
35
+ > * [System Information Screen - WP Mail SMTP & PHPMailer Plugin](http://beta.tech-banker.com/products/mail-bank/demos/system-information/)
36
 
37
  > #### **User Guide - Mail Bank**
38
 
39
+ > * [Installation Screen - WP Mail SMTP & PHPMailer Plugin](http://beta.tech-banker.com/products/mail-bank/user-guide/installation/)
40
+ > * [Email Setup Screen - WP Mail SMTP & PHPMailer Plugin](http://beta.tech-banker.com/products/mail-bank/user-guide/email-setup/)
41
+ > * [Test Email Screen - WP Mail SMTP & PHPMailer Plugin](http://beta.tech-banker.com/products/mail-bank/user-guide/test-email/)
42
+ > * [Connectivity Screen - WP Mail SMTP & PHPMailer Plugin](http://beta.tech-banker.com/products/mail-bank/user-guide/connectivity-test/)
43
+ > * [Email Logs Screen - WP Mail SMTP & PHPMailer Plugin](http://beta.tech-banker.com/products/mail-bank/user-guide/email-logs/)
44
+ > * [Plugin Settings Screen - WP Mail SMTP & PHPMailer Plugin](http://beta.tech-banker.com/products/mail-bank/user-guide/plugin-settings/)
45
+ > * [Roles & Capabilities Screen - WP Mail SMTP & PHPMailer Plugin](http://beta.tech-banker.com/products/mail-bank/user-guide/roles-capabilities/)
46
+ > * [Feedbacks Screen - WP Mail SMTP & PHPMailer Plugin](http://beta.tech-banker.com/products/mail-bank/user-guide/feedbacks/)
47
+ > * [System Information Screen - WP Mail SMTP & PHPMailer Plugin](http://beta.tech-banker.com/products/mail-bank/user-guide/system-information/)
 
 
48
 
49
  It has following two options to send emails one is SMTP server and other is inbuilt PHPMailer.
50
 
51
 
52
  > #### **List of SMTP Servers (Outgoing)**
53
 
54
+ > * **Gmail SMTP Details** :- Host: smtp.gmail.com - Secure(SSL) - Port(465)
55
+ > * **Gmail SMTP Details** :- Host: smtp.gmail.com - Secure(TLS) - Port(587)
56
+ > * **Outlook.com SMTP Details** :- Host: smtp-mail.outlook.com - Secure(TLS) - Port(587)
57
+ > * **Office365.com SMTP Details** :- Host: smtp.office365.com - Secure(TLS) - Port(587)
58
+ > * **Hotmail.com SMTP Details** :- Host: smtp.live.com - Secure(TLS) - Port(587)
59
+ > * **Yahoo Mail SMTP Details** :- Host: smtp.mail.yahoo.com - Secure(TLS) - Port(587)
60
+ > * **Yahoo Mail SMTP Details** :- Host: smtp.mail.yahoo.com - Secure(SSL) - Port(465)
61
+ > * **Yahoo Mail Deutschland SMTP Details** :- Host: smtp.mail.yahoo.com - Secure(SSL) - Port(465)
62
+ > * **Yahoo Mail Plus SMTP Details** :- Host: plus.smtp.mail.yahoo.com - Secure(SSL) - Port(465)
63
+ > * **AOL.com SMTP Details** :- Host: smtp.aol.com - Secure(TLS) - Port(587)
64
+ > * **AT&T SMTP Details** :- Host: smtp.att.yahoo.com - Secure(SSL) - Port(465)
65
  > * **NTL @ntlworld.com** :- Host: smtp.ntlworld.com - Secure(SSL) - Port(465)
66
  > * **BT Connect** :- Host: smtp.btconnect.com - No-Encryption - Port(25)
67
  > * **BT Openworld** :- Host: mail.btopenworld.com - No-Encryption - Port(25)
300
 
301
  == Changelog ==
302
 
303
+ = 3.0.7 =
304
+
305
+ * TWEAK: Unused Files removed
306
+ * TWEAK: Code Optimized
307
+
308
  = 3.0.6 =
309
 
310
  * FIX: Proper Sanitization, Escaping, Validation of all Post Calls
uninstall.php CHANGED
@@ -25,7 +25,7 @@ if (!current_user_can("manage_options")) {
25
  WHERE meta_key = %s", "settings"
26
  )
27
  );
28
- $settings_remove_tables_unserialize = unserialize($settings_remove_tables);
29
 
30
  if (esc_attr($settings_remove_tables_unserialize["remove_tables_at_uninstall"]) == "enable") {
31
  $wpdb->query("DROP TABLE IF EXISTS " . $wpdb->prefix . "mail_bank");
25
  WHERE meta_key = %s", "settings"
26
  )
27
  );
28
+ $settings_remove_tables_unserialize = maybe_unserialize($settings_remove_tables);
29
 
30
  if (esc_attr($settings_remove_tables_unserialize["remove_tables_at_uninstall"]) == "enable") {
31
  $wpdb->query("DROP TABLE IF EXISTS " . $wpdb->prefix . "mail_bank");
wp-mail-bank.php CHANGED
@@ -1,12 +1,12 @@
1
  <?php
2
 
3
  /*
4
- Plugin Name: SMTP Mailer Plugin by Mail Bank
5
- Plugin URI: http://beta.tech-banker.com/
6
  Description: Mail Bank easily configures sending emails and logging them from your WordPress site using your preferred PHPMailer or SMTP server.
7
  Author: Tech Banker
8
- Author URI: http://beta.tech-banker.com
9
- Version: 3.0.6
10
  License: GPLv3
11
  Text Domain: wp-mail-bank
12
  Domain Path: /languages
@@ -39,7 +39,7 @@ else {
39
  if (!defined("tech_banker_stats_url"))
40
  define("tech_banker_stats_url", "http://stats.tech-banker-services.org");
41
  if (!defined("mail_bank_version_number"))
42
- define("mail_bank_version_number", "3.0.6");
43
 
44
 
45
  $memory_limit_mail_bank = intval(ini_get("memory_limit"));
@@ -75,7 +75,7 @@ function get_users_capabilities_mail_bank() {
75
  "edit_pages",
76
  "read"
77
  );
78
- $unserialized_capabilities = unserialize($capabilities);
79
  return isset($unserialized_capabilities["capabilities"]) ? $unserialized_capabilities["capabilities"] : $core_roles;
80
  }
81
 
@@ -321,7 +321,7 @@ if ($version >= "3.0.0") {
321
  WHERE meta_key = %s", "roles_and_capabilities"
322
  )
323
  );
324
- $roles_and_capabilities_unserialized_data = unserialize($role_capabilities);
325
  $top_bar_menu = $roles_and_capabilities_unserialized_data["show_mail_bank_top_bar_menu"];
326
 
327
  if ($top_bar_menu == "enable") {
@@ -407,7 +407,7 @@ if ($version >= "3.0.0") {
407
  WHERE meta_key = %s", "email_configuration"
408
  )
409
  );
410
- $email_configuration_data_array = unserialize($email_configuration_data);
411
 
412
  $phpmailer->Mailer = "mail";
413
  if ($email_configuration_data_array["sender_name_configuration"] == "override") {
@@ -485,7 +485,7 @@ if ($version >= "3.0.0") {
485
 
486
  $meta_data_array = array();
487
  foreach ($meta_values as $value) {
488
- $unserialize_data = unserialize($value->meta_value);
489
  array_push($meta_data_array, $unserialize_data);
490
  }
491
  mailer_file_for_mail_bank();
1
  <?php
2
 
3
  /*
4
+ Plugin Name: WP Mail SMTP Plugin by Mail Bank
5
+ Plugin URI: http://beta.tech-banker.com/products/mail-bank/
6
  Description: Mail Bank easily configures sending emails and logging them from your WordPress site using your preferred PHPMailer or SMTP server.
7
  Author: Tech Banker
8
+ Author URI: http://beta.tech-banker.com/products/mail-bank/
9
+ Version: 3.0.7
10
  License: GPLv3
11
  Text Domain: wp-mail-bank
12
  Domain Path: /languages
39
  if (!defined("tech_banker_stats_url"))
40
  define("tech_banker_stats_url", "http://stats.tech-banker-services.org");
41
  if (!defined("mail_bank_version_number"))
42
+ define("mail_bank_version_number", "3.0.7");
43
 
44
 
45
  $memory_limit_mail_bank = intval(ini_get("memory_limit"));
75
  "edit_pages",
76
  "read"
77
  );
78
+ $unserialized_capabilities = maybe_unserialize($capabilities);
79
  return isset($unserialized_capabilities["capabilities"]) ? $unserialized_capabilities["capabilities"] : $core_roles;
80
  }
81
 
321
  WHERE meta_key = %s", "roles_and_capabilities"
322
  )
323
  );
324
+ $roles_and_capabilities_unserialized_data = maybe_unserialize($role_capabilities);
325
  $top_bar_menu = $roles_and_capabilities_unserialized_data["show_mail_bank_top_bar_menu"];
326
 
327
  if ($top_bar_menu == "enable") {
407
  WHERE meta_key = %s", "email_configuration"
408
  )
409
  );
410
+ $email_configuration_data_array = maybe_unserialize($email_configuration_data);
411
 
412
  $phpmailer->Mailer = "mail";
413
  if ($email_configuration_data_array["sender_name_configuration"] == "override") {
485
 
486
  $meta_data_array = array();
487
  foreach ($meta_values as $value) {
488
+ $unserialize_data = maybe_unserialize($value->meta_value);
489
  array_push($meta_data_array, $unserialize_data);
490
  }
491
  mailer_file_for_mail_bank();