Easy WP SMTP - Version 1.0.5

Version Description

  • "Reply-To" text will no longer be added to the email header
  • From Name field can now contain quotes. It will no longer be converted to '\'

=

Download this release

Release Info

Developer wpecommerce
Plugin Icon 128x128 Easy WP SMTP
Version 1.0.5
Comparing to
See all releases

Code changes from version 1.0.4 to 1.0.5

Files changed (3) hide show
  1. easy_wp_smtp.php +3 -3
  2. easy_wp_smtp_admin.php +6 -6
  3. readme.txt +10 -1
easy_wp_smtp.php CHANGED
@@ -1,13 +1,13 @@
1
  <?php
2
  /*
3
  Plugin Name: Easy WP SMTP
4
- Version: 1.0.4
5
  Plugin URI: http://wp-ecommerce.net/?p=2197
6
  Author: wpecommerce
7
  Author URI: http://wp-ecommerce.net/
8
  Description: Send email via SMTP from your WordPress Blog
9
  */
10
- define('EASY_WP_SMTP_PLUGIN_VERSION', "1.0.4");
11
  $ewpsOptions = get_option("easy_wp_smtp_options");
12
 
13
  function easy_wp_smtp($phpmailer){
@@ -19,7 +19,7 @@ function easy_wp_smtp($phpmailer){
19
  $phpmailer->From = $ewpsOptions["from"];
20
  $phpmailer->FromName = $ewpsOptions["fromname"];
21
  $phpmailer->Sender = $phpmailer->From; //Return-Path
22
- $phpmailer->AddReplyTo($phpmailer->From,$phpmailer->FromName); //Reply-To
23
  $phpmailer->Host = $ewpsOptions["host"];
24
  $phpmailer->SMTPSecure = $ewpsOptions["smtpsecure"];
25
  $phpmailer->Port = $ewpsOptions["port"];
1
  <?php
2
  /*
3
  Plugin Name: Easy WP SMTP
4
+ Version: 1.0.5
5
  Plugin URI: http://wp-ecommerce.net/?p=2197
6
  Author: wpecommerce
7
  Author URI: http://wp-ecommerce.net/
8
  Description: Send email via SMTP from your WordPress Blog
9
  */
10
+ define('EASY_WP_SMTP_PLUGIN_VERSION', "1.0.5");
11
  $ewpsOptions = get_option("easy_wp_smtp_options");
12
 
13
  function easy_wp_smtp($phpmailer){
19
  $phpmailer->From = $ewpsOptions["from"];
20
  $phpmailer->FromName = $ewpsOptions["fromname"];
21
  $phpmailer->Sender = $phpmailer->From; //Return-Path
22
+ //$phpmailer->AddReplyTo($phpmailer->From,$phpmailer->FromName); //Reply-To
23
  $phpmailer->Host = $ewpsOptions["host"];
24
  $phpmailer->SMTPSecure = $ewpsOptions["smtpsecure"];
25
  $phpmailer->Port = $ewpsOptions["port"];
easy_wp_smtp_admin.php CHANGED
@@ -12,14 +12,14 @@ function easy_wp_smtp_options_page()
12
  if(isset($_POST['easy_wp_smtp_update']))
13
  {
14
  $ewpsOptions = array();
15
- $ewpsOptions["from"] = trim($_POST['easy_wp_smtp_from']);
16
- $ewpsOptions["fromname"] = trim($_POST['easy_wp_smtp_fromname']);
17
- $ewpsOptions["host"] = trim($_POST['easy_wp_smtp_host']);
18
  $ewpsOptions["smtpsecure"] = trim($_POST['easy_wp_smtp_smtpsecure']);
19
- $ewpsOptions["port"] = trim($_POST['easy_wp_smtp_port']);
20
  $ewpsOptions["smtpauth"] = trim($_POST['easy_wp_smtp_smtpauth']);
21
- $ewpsOptions["username"] = trim($_POST['easy_wp_smtp_username']);
22
- $ewpsOptions["password"] = trim($_POST['easy_wp_smtp_password']);
23
  $ewpsOptions["debug"] = (isset($_POST['easy_wp_smtp_enable_debug'])) ? trim($_POST['easy_wp_smtp_enable_debug']) : "";
24
  $ewpsOptions["deactivate"] = (isset($_POST['easy_wp_smtp_deactivate'])) ? trim($_POST['easy_wp_smtp_deactivate']) : "";
25
  update_option("easy_wp_smtp_options",$ewpsOptions);
12
  if(isset($_POST['easy_wp_smtp_update']))
13
  {
14
  $ewpsOptions = array();
15
+ $ewpsOptions["from"] = trim(stripslashes($_POST['easy_wp_smtp_from']));
16
+ $ewpsOptions["fromname"] = trim(stripslashes($_POST['easy_wp_smtp_fromname']));
17
+ $ewpsOptions["host"] = trim(stripslashes($_POST['easy_wp_smtp_host']));
18
  $ewpsOptions["smtpsecure"] = trim($_POST['easy_wp_smtp_smtpsecure']);
19
+ $ewpsOptions["port"] = trim(stripslashes($_POST['easy_wp_smtp_port']));
20
  $ewpsOptions["smtpauth"] = trim($_POST['easy_wp_smtp_smtpauth']);
21
+ $ewpsOptions["username"] = trim(stripslashes($_POST['easy_wp_smtp_username']));
22
+ $ewpsOptions["password"] = trim(stripslashes($_POST['easy_wp_smtp_password']));
23
  $ewpsOptions["debug"] = (isset($_POST['easy_wp_smtp_enable_debug'])) ? trim($_POST['easy_wp_smtp_enable_debug']) : "";
24
  $ewpsOptions["deactivate"] = (isset($_POST['easy_wp_smtp_deactivate'])) ? trim($_POST['easy_wp_smtp_deactivate']) : "";
25
  update_option("easy_wp_smtp_options",$ewpsOptions);
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://wp-ecommerce.net/?p=2197
4
  Tags: mail, wordpress smtp, phpmailer, smtp, wp_mail, email, gmail, outgoing mail, privacy, security, sendmail, ssl, tls, wp-phpmailer, mail smtp, wp smtp
5
  Requires at least: 3.0
6
  Tested up to: 3.6
7
- Stable tag: 1.0.4
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -72,16 +72,25 @@ For screenshots please visit the [Easy WordPress SMTP](http://wp-ecommerce.net/e
72
  == Changelog ==
73
 
74
  = 1.0.1 =
 
75
  * First commit of the plugin
76
 
77
  = 1.0.2 =
 
78
  * Fixed a bug where the debug output was being displayed on the front end
79
 
80
  = 1.0.3 =
 
81
  * Added a new option to the settings which allows a user to enable/disable SMTP debug
82
 
83
  = 1.0.4 =
 
84
  * Plugin is now compatible with WordPress 3.6
85
 
 
 
 
 
 
86
  == Upgrade Notice ==
87
  none
4
  Tags: mail, wordpress smtp, phpmailer, smtp, wp_mail, email, gmail, outgoing mail, privacy, security, sendmail, ssl, tls, wp-phpmailer, mail smtp, wp smtp
5
  Requires at least: 3.0
6
  Tested up to: 3.6
7
+ Stable tag: 1.0.5
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
72
  == Changelog ==
73
 
74
  = 1.0.1 =
75
+
76
  * First commit of the plugin
77
 
78
  = 1.0.2 =
79
+
80
  * Fixed a bug where the debug output was being displayed on the front end
81
 
82
  = 1.0.3 =
83
+
84
  * Added a new option to the settings which allows a user to enable/disable SMTP debug
85
 
86
  = 1.0.4 =
87
+
88
  * Plugin is now compatible with WordPress 3.6
89
 
90
+ = 1.0.5 =
91
+
92
+ * "Reply-To" text will no longer be added to the email header
93
+ * From Name field can now contain quotes. It will no longer be converted to '\'
94
+
95
  == Upgrade Notice ==
96
  none