WP SMTP - Version 1.2.1

Version Description

Download this release

Release Info

Developer yehudah
Plugin Icon 128x128 WP SMTP
Version 1.2.1
Comparing to
See all releases

Code changes from version 1.2 to 1.2.1

Files changed (4) hide show
  1. inc/Logger/Process.php +5 -1
  2. readme.txt +22 -12
  3. wp-smtp.php +2 -2
  4. wp_smtp_admin.php +0 -12
inc/Logger/Process.php CHANGED
@@ -15,12 +15,16 @@ class Process {
15
  add_action( 'wp_mail_failed', array( $this, 'update_failed_status' ), PHP_INT_MAX );
16
  }
17
 
18
- function log_mails( $data ) {
19
  global $wpdb;
20
 
 
 
21
  unset( $data['attachments'] );
22
 
23
  $this->mail_id = Db::get_instance()->insert( $data );
 
 
24
  }
25
 
26
  /**
15
  add_action( 'wp_mail_failed', array( $this, 'update_failed_status' ), PHP_INT_MAX );
16
  }
17
 
18
+ function log_mails( $parts ) {
19
  global $wpdb;
20
 
21
+ $data = $parts;
22
+
23
  unset( $data['attachments'] );
24
 
25
  $this->mail_id = Db::get_instance()->insert( $data );
26
+
27
+ return $parts;
28
  }
29
 
30
  /**
readme.txt CHANGED
@@ -5,18 +5,18 @@ Tags: wp smtp,smtp,mail,email,logs,mailer,wp mail,gmail,yahoo,mail smtp,ssl,tls
5
  License: GPLv2
6
  Requires at least: 2.7
7
  Tested up to: 5.5
8
- Stable tag: 1.2
9
 
10
- WP SMTP can help us to send emails via SMTP instead of the PHP mail() function.
11
 
12
  == Description ==
13
 
14
- WP SMTP can help us to send emails via SMTP instead of the PHP mail() function.
15
- It adds a settings page to "Dashboard"->"Settings"->"WP SMTP" where you can configure the email settings.
16
- There are some examples on the settings page, you can click the corresponding icon to view (such as "Gmail""Yahoo!""Microsoft""163""QQ").
17
- If the field "From" was not a valid email address, or the field "SMTP Host" was left blank, it will not reconfigure the wp_mail() function.
18
 
19
- = Do you want more advanced SMTP mailer?
 
20
 
21
  * Built-in **importer for WP SMTP settings**.
22
  * Universal SMTP for every service.
@@ -38,19 +38,20 @@ WP SMTP plugin was originally created by BoLiQuan. It is now owned and maintaine
38
  1. Download and extract `wp-smtp.zip` to `wp-content/plugins/`
39
  2. Activate the plugin through the 'Plugins' menu in WordPress.
40
  3. "Dashboard"->"Settings"->"WP SMTP"
41
- 4. There are some examples on the settings page, you can click the corresponding icon to view.(such as "Gmail""Yahoo!""Microsoft""163""QQ")
42
- 5. For more information of this plugin, please visit: [Plugin Homepage](https://wpsmtpmail.com/ "WP SMTP").
43
 
44
  == Installation ==
45
 
46
  1. Download and extract `wp-smtp.zip` to `wp-content/plugins/`
47
  2. Activate the plugin through the 'Plugins' menu in WordPress.
48
  3. "Dashboard"->"Settings"->"WP SMTP"
49
- 4. There are some examples on the settings page, you can click the corresponding icon to view.(such as "Gmail""Yahoo!""Microsoft""163""QQ")
50
- 5. For more information of this plugin, please visit: [Plugin Homepage](https://wpsmtpmail.com/ "WP SMTP").
51
 
52
  == Changelog ==
53
 
 
 
 
54
  = 1.2 =
55
  New and shiny mail logger.
56
 
@@ -107,6 +108,15 @@ https://wpsmtpmail.com/v1-1-10-wp-smtp-is-back/
107
 
108
  == Frequently Asked Questions ==
109
 
110
- You can submit it in https://wordpress.org/support/plugin/wp-smtp, if It's urgent like a bug submit it here: https://wpsmtpmail.com/contact/
 
 
 
 
 
 
 
 
 
111
 
112
 
5
  License: GPLv2
6
  Requires at least: 2.7
7
  Tested up to: 5.5
8
+ Stable tag: 1.2.1
9
 
10
+ WP SMTP & Email logger can help us to send emails via SMTP instead of the PHP mail() function.
11
 
12
  == Description ==
13
 
14
+ WP SMTP & Email Log, can help us to send emails via SMTP instead of the PHP mail() function.
15
+ It fixes your email deliverability by reconfiguring WordPress to use a proper SMTP provider when sending emails, and keep an
16
+ **Email log** so you can know when your emails are failing to deliver and why.
 
17
 
18
+
19
+ = Do you want more advanced SMTP mailer? =
20
 
21
  * Built-in **importer for WP SMTP settings**.
22
  * Universal SMTP for every service.
38
  1. Download and extract `wp-smtp.zip` to `wp-content/plugins/`
39
  2. Activate the plugin through the 'Plugins' menu in WordPress.
40
  3. "Dashboard"->"Settings"->"WP SMTP"
41
+ 4. For more information of this plugin, please visit: [Plugin Homepage](https://wpsmtpmail.com/ "WP SMTP").
 
42
 
43
  == Installation ==
44
 
45
  1. Download and extract `wp-smtp.zip` to `wp-content/plugins/`
46
  2. Activate the plugin through the 'Plugins' menu in WordPress.
47
  3. "Dashboard"->"Settings"->"WP SMTP"
48
+ 4. For more information of this plugin, please visit: [Plugin Homepage](https://wpsmtpmail.com/ "WP SMTP").
 
49
 
50
  == Changelog ==
51
 
52
+ = 1.2 =
53
+ Fixed: handle the mail parts as needed
54
+
55
  = 1.2 =
56
  New and shiny mail logger.
57
 
108
 
109
  == Frequently Asked Questions ==
110
 
111
+ = What is the different between this and Post SMTP =
112
+
113
+ WP SMTP is more SMTP delivery focus and has less features:
114
+
115
+ * If you don't want or need to use API.
116
+ * No failed mails notifications.
117
+ * No fallback server.
118
+
119
+ For any other question you can submit it in https://wordpress.org/support/plugin/wp-smtp,
120
+ if It's urgent like a bug submit it here: https://wpsmtpmail.com/contact/
121
 
122
 
wp-smtp.php CHANGED
@@ -3,8 +3,8 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
3
 
4
  /*
5
  Plugin Name: WP SMTP
6
- Description: WP SMTP can help us to send emails via SMTP instead of the PHP mail() function.
7
- Version: 1.2
8
  Author: Yehuda Hassine
9
  Text Domain: wp-smtp
10
  Domain Path: /lang
3
 
4
  /*
5
  Plugin Name: WP SMTP
6
+ Description: WP SMTP can help us to send emails via SMTP instead of the PHP mail() function and email logger built-in.
7
+ Version: 1.2.1
8
  Author: Yehuda Hassine
9
  Text Domain: wp-smtp
10
  Domain Path: /lang
wp_smtp_admin.php CHANGED
@@ -69,18 +69,6 @@ $ws_nonce = wp_create_nonce('my_ws_nonce');
69
 
70
  <h1>
71
  WP SMTP
72
- <span style="margin-left:10px; vertical-align:middle;">
73
- <a href="<?php echo plugins_url('screenshot-1.png', __FILE__); ?>" target="_blank"><img
74
- src="<?php echo plugins_url('/img/gmail.png', __FILE__); ?>" alt="Gmail" title="Gmail"/></a>
75
- <a href="<?php echo plugins_url('screenshot-2.png', __FILE__); ?>" target="_blank"><img
76
- src="<?php echo plugins_url('/img/yahoo.png', __FILE__); ?>" alt="Yahoo!" title="Yahoo!"/></a>
77
- <a href="<?php echo plugins_url('screenshot-3.png', __FILE__); ?>" target="_blank"><img
78
- src="<?php echo plugins_url('/img/microsoft.png', __FILE__); ?>" alt="Microsoft" title="Microsoft"/></a>
79
- <a href="<?php echo plugins_url('screenshot-4.png', __FILE__); ?>" target="_blank"><img
80
- src="<?php echo plugins_url('/img/163.png', __FILE__); ?>" alt="163" title="163"/></a>
81
- <a href="<?php echo plugins_url('screenshot-5.png', __FILE__); ?>" target="_blank"><img
82
- src="<?php echo plugins_url('/img/qq.png', __FILE__); ?>" alt="QQ" title="QQ"/></a>
83
- </span>
84
  </h1>
85
 
86
  <form action="" method="post" enctype="multipart/form-data" name="wp_smtp_form">
69
 
70
  <h1>
71
  WP SMTP
 
 
 
 
 
 
 
 
 
 
 
 
72
  </h1>
73
 
74
  <form action="" method="post" enctype="multipart/form-data" name="wp_smtp_form">