Easy WP SMTP - Version 1.3.3

Version Description

  • Added option to allow insecure SSL certificate usage on SMTP server (thanks to ravipatel and bradclarke365).
  • Changing fields on Test Email tab is no longer shows "you have unsaved settings" notice.
  • Plugin is compatible again with WP version 4.3+ (thanks to lucrus for reporting).
Download this release

Release Info

Developer mra13
Plugin Icon 128x128 Easy WP SMTP
Version 1.3.3
Comparing to
See all releases

Code changes from version 1.3.2 to 1.3.3

easy-wp-smtp-admin-menu.php CHANGED
@@ -9,6 +9,42 @@ function swpsmtp_admin_default_setup() {
9
  add_options_page( __( 'Easy WP SMTP', 'easy-wp-smtp' ), __( 'Easy WP SMTP', 'easy-wp-smtp' ), 'manage_options', 'swpsmtp_settings', 'swpsmtp_settings' );
10
  }
11
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
12
  /**
13
  * Renders the admin settings menu of the plugin.
14
  * @return void
@@ -27,9 +63,9 @@ function swpsmtp_settings() {
27
  $smtp_test_mail = array( 'swpsmtp_to' => '', 'swpsmtp_subject' => '', 'swpsmtp_message' => '', );
28
  }
29
 
30
- if ( isset( $_POST[ 'swpsmtp_form_submit' ] )) {
31
  // check nounce
32
- if (!check_admin_referer( plugin_basename( __FILE__ ), 'swpsmtp_nonce_name' )) {
33
  $error .= " " . __( "Nonce check failed.", 'easy-wp-smtp' );
34
  }
35
  /* Update settings */
@@ -58,6 +94,7 @@ function swpsmtp_settings() {
58
  $swpsmtp_options[ 'smtp_settings' ][ 'password' ] = base64_encode( $smtp_password );
59
  }
60
  $swpsmtp_options[ 'smtp_settings' ][ 'enable_debug' ] = isset( $_POST[ 'swpsmtp_enable_debug' ] ) ? 1 : false;
 
61
  $swpsmtp_options[ 'enable_domain_check' ] = isset( $_POST[ 'swpsmtp_enable_domain_check' ] ) ? 1 : false;
62
  if ( isset( $_POST[ 'swpsmtp_allowed_domains' ] ) ) {
63
  $swpsmtp_options[ 'block_all_emails' ] = isset( $_POST[ 'swpsmtp_block_all_emails' ] ) ? 1 : false;
@@ -97,7 +134,7 @@ function swpsmtp_settings() {
97
  }
98
  }
99
  $swpsmtp_subject = isset( $_POST[ 'swpsmtp_subject' ] ) ? sanitize_text_field( $_POST[ 'swpsmtp_subject' ] ) : '';
100
- $swpsmtp_message = isset( $_POST[ 'swpsmtp_message' ] ) ? sanitize_textarea_field( $_POST[ 'swpsmtp_message' ] ) : '';
101
 
102
  //Save the test mail details so it doesn't need to be filled in everytime.
103
  $smtp_test_mail[ 'swpsmtp_to' ] = $swpsmtp_to;
@@ -109,7 +146,6 @@ function swpsmtp_settings() {
109
  $result = swpsmtp_test_mail( $swpsmtp_to, $swpsmtp_subject, $swpsmtp_message );
110
  }
111
  }
112
-
113
  ?>
114
  <style>
115
  div.swpsmtp-tab-container, #swpsmtp-save-settings-notice {
@@ -122,7 +158,7 @@ function swpsmtp_settings() {
122
  background-color: #ffff76;
123
  padding: 7px;
124
  border: 1px dashed red;
125
- display: block;
126
  }
127
  </style>
128
  <div class="updated fade" <?php if ( empty( $message ) ) echo "style=\"display:none\""; ?>>
@@ -207,7 +243,7 @@ function swpsmtp_settings() {
207
  </td>
208
  </tr>
209
  <tr class="ad_opt swpsmtp_smtp_options">
210
- <th><?php _e( 'SMTP username', 'easy-wp-smtp' ); ?></th>
211
  <td>
212
  <input type='text' name='swpsmtp_smtp_username' value='<?php echo isset( $swpsmtp_options[ 'smtp_settings' ][ 'username' ] ) ? esc_attr( $swpsmtp_options[ 'smtp_settings' ][ 'username' ] ) : ''; ?>' /><br />
213
  <p class="description"><?php _e( "The username to login to your mail server", 'easy-wp-smtp' ); ?></p>
@@ -256,6 +292,13 @@ function swpsmtp_settings() {
256
  <p class="description"><?php _e( "When enabled, plugin attempts to block ALL emails from being sent out if domain mismtach." ); ?></p>
257
  </td>
258
  </tr>
 
 
 
 
 
 
 
259
  <tr valign="top">
260
  <th scope="row"><?php _e( "Enable Debug Log", 'easy-wp-smtp' ); ?></th>
261
  <td>
@@ -280,7 +323,7 @@ function swpsmtp_settings() {
280
  <div class="postbox">
281
  <h3 class="hndle"><label for="title"><?php _e( 'Test Email', 'easy-wp-smtp' ); ?></label></h3>
282
  <div class="inside">
283
- <div id="swpsmtp-save-settings-notice"><span><b><?php _e( 'Notice:', 'easy-wp-smtp' ); ?></b> <?php _e( 'You have unsaved settings. In order to send a test email, you need to go back to previous tab and click "Save Changes" button first.', 'easy-wp-smtp' ); ?></span></div>
284
  <p><?php _e( 'You can use this section to send an email from your server using the above configured SMTP details to see if the email gets delivered.', 'easy-wp-smtp' ); ?></p>
285
  <p><b><?php _ex( 'Note:', '"Note" as in "Note: keep this in mind"', 'easy-wp-smtp' ); ?></b> <?php _e( 'debug log for this test email will be automatically displayed right after you send it. Test email also ignores "Enable Domain Check" option.', 'easy-wp-smtp' ); ?></p>
286
 
@@ -289,14 +332,14 @@ function swpsmtp_settings() {
289
  <tr valign="top">
290
  <th scope="row"><?php _e( "To", 'easy-wp-smtp' ); ?>:</th>
291
  <td>
292
- <input type="text" name="swpsmtp_to" value="<?php echo esc_html( $smtp_test_mail[ 'swpsmtp_to' ] ); ?>" /><br />
293
  <p class="description"><?php _e( "Enter the recipient's email address", 'easy-wp-smtp' ); ?></p>
294
  </td>
295
  </tr>
296
  <tr valign="top">
297
  <th scope="row"><?php _e( "Subject", 'easy-wp-smtp' ); ?>:</th>
298
  <td>
299
- <input type="text" name="swpsmtp_subject" value="<?php echo esc_html( $smtp_test_mail[ 'swpsmtp_subject' ] ); ?>" /><br />
300
  <p class="description"><?php _e( "Enter a subject for your message", 'easy-wp-smtp' ); ?></p>
301
  </td>
302
  </tr>
@@ -326,8 +369,8 @@ function swpsmtp_settings() {
326
  var swpsmtp_urlHash = window.location.hash.substr(1);
327
 
328
  if (swpsmtp_urlHash === '') {
329
- swpsmtp_urlHash = 'smtp';
330
- }
331
  jQuery(function ($) {
332
  var swpsmtp_activeTab = "";
333
  $('a.nav-tab').click(function (e) {
@@ -347,7 +390,7 @@ function swpsmtp_settings() {
347
  });
348
 
349
  jQuery(function ($) {
350
- $('#swpsmtp-mail input').change(function () {
351
  $('#swpsmtp-save-settings-notice').show();
352
  ;
353
  });
@@ -390,7 +433,7 @@ function swpsmtp_admin_init() {
390
  load_plugin_textdomain( 'easy-wp-smtp', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );
391
 
392
  add_action( 'wp_ajax_swpsmtp_clear_log', 'swpsmtp_clear_log' );
393
- //view log file
394
  if ( isset( $_GET[ 'swpsmtp_action' ] ) ) {
395
  if ( $_GET[ 'swpsmtp_action' ] === 'view_log' ) {
396
  $swpsmtp_options = get_option( 'swpsmtp_options' );
9
  add_options_page( __( 'Easy WP SMTP', 'easy-wp-smtp' ), __( 'Easy WP SMTP', 'easy-wp-smtp' ), 'manage_options', 'swpsmtp_settings', 'swpsmtp_settings' );
10
  }
11
 
12
+ /**
13
+ * Sanitizes textarea. Tries to use wp sanitize_textarea_field() function. If that's now available, uses its own methods
14
+ * @return string
15
+ */
16
+ function swpsmtp_sanitize_textarea( $str ) {
17
+ if ( function_exists( 'sanitize_textarea_field' ) ) {
18
+ return sanitize_textarea_field( $str );
19
+ }
20
+ $filtered = wp_check_invalid_utf8( $str );
21
+
22
+ if ( strpos( $filtered, '<' ) !== false ) {
23
+ $filtered = wp_pre_kses_less_than( $filtered );
24
+ // This will strip extra whitespace for us.
25
+ $filtered = wp_strip_all_tags( $filtered, false );
26
+
27
+ // Use html entities in a special case to make sure no later
28
+ // newline stripping stage could lead to a functional tag
29
+ $filtered = str_replace( "<\n", "&lt;\n", $filtered );
30
+ }
31
+
32
+ $filtered = trim( $filtered );
33
+
34
+ $found = false;
35
+ while ( preg_match( '/%[a-f0-9]{2}/i', $filtered, $match ) ) {
36
+ $filtered = str_replace( $match[ 0 ], '', $filtered );
37
+ $found = true;
38
+ }
39
+
40
+ if ( $found ) {
41
+ // Strip out the whitespace that may now exist after removing the octets.
42
+ $filtered = trim( preg_replace( '/ +/', ' ', $filtered ) );
43
+ }
44
+
45
+ return $filtered;
46
+ }
47
+
48
  /**
49
  * Renders the admin settings menu of the plugin.
50
  * @return void
63
  $smtp_test_mail = array( 'swpsmtp_to' => '', 'swpsmtp_subject' => '', 'swpsmtp_message' => '', );
64
  }
65
 
66
+ if ( isset( $_POST[ 'swpsmtp_form_submit' ] ) ) {
67
  // check nounce
68
+ if ( ! check_admin_referer( plugin_basename( __FILE__ ), 'swpsmtp_nonce_name' ) ) {
69
  $error .= " " . __( "Nonce check failed.", 'easy-wp-smtp' );
70
  }
71
  /* Update settings */
94
  $swpsmtp_options[ 'smtp_settings' ][ 'password' ] = base64_encode( $smtp_password );
95
  }
96
  $swpsmtp_options[ 'smtp_settings' ][ 'enable_debug' ] = isset( $_POST[ 'swpsmtp_enable_debug' ] ) ? 1 : false;
97
+ $swpsmtp_options[ 'smtp_settings' ][ 'insecure_ssl' ] = isset( $_POST[ 'swpsmtp_insecure_ssl' ] ) ? 1 : false;
98
  $swpsmtp_options[ 'enable_domain_check' ] = isset( $_POST[ 'swpsmtp_enable_domain_check' ] ) ? 1 : false;
99
  if ( isset( $_POST[ 'swpsmtp_allowed_domains' ] ) ) {
100
  $swpsmtp_options[ 'block_all_emails' ] = isset( $_POST[ 'swpsmtp_block_all_emails' ] ) ? 1 : false;
134
  }
135
  }
136
  $swpsmtp_subject = isset( $_POST[ 'swpsmtp_subject' ] ) ? sanitize_text_field( $_POST[ 'swpsmtp_subject' ] ) : '';
137
+ $swpsmtp_message = isset( $_POST[ 'swpsmtp_message' ] ) ? swpsmtp_sanitize_textarea( $_POST[ 'swpsmtp_message' ] ) : '';
138
 
139
  //Save the test mail details so it doesn't need to be filled in everytime.
140
  $smtp_test_mail[ 'swpsmtp_to' ] = $swpsmtp_to;
146
  $result = swpsmtp_test_mail( $swpsmtp_to, $swpsmtp_subject, $swpsmtp_message );
147
  }
148
  }
 
149
  ?>
150
  <style>
151
  div.swpsmtp-tab-container, #swpsmtp-save-settings-notice {
158
  background-color: #ffff76;
159
  padding: 7px;
160
  border: 1px dashed red;
161
+ display: block;
162
  }
163
  </style>
164
  <div class="updated fade" <?php if ( empty( $message ) ) echo "style=\"display:none\""; ?>>
243
  </td>
244
  </tr>
245
  <tr class="ad_opt swpsmtp_smtp_options">
246
+ <th><?php _e( 'SMTP Username', 'easy-wp-smtp' ); ?></th>
247
  <td>
248
  <input type='text' name='swpsmtp_smtp_username' value='<?php echo isset( $swpsmtp_options[ 'smtp_settings' ][ 'username' ] ) ? esc_attr( $swpsmtp_options[ 'smtp_settings' ][ 'username' ] ) : ''; ?>' /><br />
249
  <p class="description"><?php _e( "The username to login to your mail server", 'easy-wp-smtp' ); ?></p>
292
  <p class="description"><?php _e( "When enabled, plugin attempts to block ALL emails from being sent out if domain mismtach." ); ?></p>
293
  </td>
294
  </tr>
295
+ <tr valign="top">
296
+ <th scope="row"><?php _e( "Allow Insecure SSL Certificates", 'easy-wp-smtp' ); ?></th>
297
+ <td>
298
+ <input type="checkbox" name="swpsmtp_insecure_ssl" value="1" <?php echo (isset( $swpsmtp_options[ 'smtp_settings' ][ 'insecure_ssl' ] ) && ($swpsmtp_options[ 'smtp_settings' ][ 'insecure_ssl' ])) ? 'checked' : ''; ?>/>
299
+ <p class="description"><?php _e( "Allows insecure and self-signed SSL certificates on SMTP server. It's highly recommended to keep this option disabled.", 'easy-wp-smtp' ); ?></p>
300
+ </td>
301
+ </tr>
302
  <tr valign="top">
303
  <th scope="row"><?php _e( "Enable Debug Log", 'easy-wp-smtp' ); ?></th>
304
  <td>
323
  <div class="postbox">
324
  <h3 class="hndle"><label for="title"><?php _e( 'Test Email', 'easy-wp-smtp' ); ?></label></h3>
325
  <div class="inside">
326
+ <div id="swpsmtp-save-settings-notice"><span><b><?php _e( 'Notice:', 'easy-wp-smtp' ); ?></b> <?php _e( 'You have unsaved settings. In order to send a test email, you need to go back to previous tab and click "Save Changes" button first.', 'easy-wp-smtp' ); ?></span></div>
327
  <p><?php _e( 'You can use this section to send an email from your server using the above configured SMTP details to see if the email gets delivered.', 'easy-wp-smtp' ); ?></p>
328
  <p><b><?php _ex( 'Note:', '"Note" as in "Note: keep this in mind"', 'easy-wp-smtp' ); ?></b> <?php _e( 'debug log for this test email will be automatically displayed right after you send it. Test email also ignores "Enable Domain Check" option.', 'easy-wp-smtp' ); ?></p>
329
 
332
  <tr valign="top">
333
  <th scope="row"><?php _e( "To", 'easy-wp-smtp' ); ?>:</th>
334
  <td>
335
+ <input type="text" class="ignore-change" name="swpsmtp_to" value="<?php echo esc_html( $smtp_test_mail[ 'swpsmtp_to' ] ); ?>" /><br />
336
  <p class="description"><?php _e( "Enter the recipient's email address", 'easy-wp-smtp' ); ?></p>
337
  </td>
338
  </tr>
339
  <tr valign="top">
340
  <th scope="row"><?php _e( "Subject", 'easy-wp-smtp' ); ?>:</th>
341
  <td>
342
+ <input type="text" class="ignore-change" name="swpsmtp_subject" value="<?php echo esc_html( $smtp_test_mail[ 'swpsmtp_subject' ] ); ?>" /><br />
343
  <p class="description"><?php _e( "Enter a subject for your message", 'easy-wp-smtp' ); ?></p>
344
  </td>
345
  </tr>
369
  var swpsmtp_urlHash = window.location.hash.substr(1);
370
 
371
  if (swpsmtp_urlHash === '') {
372
+ swpsmtp_urlHash = 'smtp';
373
+ }
374
  jQuery(function ($) {
375
  var swpsmtp_activeTab = "";
376
  $('a.nav-tab').click(function (e) {
390
  });
391
 
392
  jQuery(function ($) {
393
+ $('#swpsmtp-mail input').not('.ignore-change').change(function () {
394
  $('#swpsmtp-save-settings-notice').show();
395
  ;
396
  });
433
  load_plugin_textdomain( 'easy-wp-smtp', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );
434
 
435
  add_action( 'wp_ajax_swpsmtp_clear_log', 'swpsmtp_clear_log' );
436
+ //view log file
437
  if ( isset( $_GET[ 'swpsmtp_action' ] ) ) {
438
  if ( $_GET[ 'swpsmtp_action' ] === 'view_log' ) {
439
  $swpsmtp_options = get_option( 'swpsmtp_options' );
easy-wp-smtp.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  Plugin Name: Easy WP SMTP
4
- Version: 1.3.2
5
  Plugin URI: https://wp-ecommerce.net/easy-wordpress-smtp-send-emails-from-your-wordpress-site-using-a-smtp-server-2197
6
  Author: wpecommerce
7
  Author URI: https://wp-ecommerce.net/
@@ -176,6 +176,8 @@ if ( ! function_exists( 'swpsmtp_init_smtp' ) ) {
176
  $phpmailer->From = $from_email;
177
  $phpmailer->FromName = $from_name;
178
  $phpmailer->SetFrom( $phpmailer->From, $phpmailer->FromName );
 
 
179
  /* Set the SMTPSecure value */
180
  if ( $swpsmtp_options[ 'smtp_settings' ][ 'type_encryption' ] !== 'none' ) {
181
  $phpmailer->SMTPSecure = $swpsmtp_options[ 'smtp_settings' ][ 'type_encryption' ];
@@ -193,6 +195,17 @@ if ( ! function_exists( 'swpsmtp_init_smtp' ) ) {
193
  }
194
  //PHPMailer 5.2.10 introduced this option. However, this might cause issues if the server is advertising TLS with an invalid certificate.
195
  $phpmailer->SMTPAutoTLS = false;
 
 
 
 
 
 
 
 
 
 
 
196
  if ( isset( $swpsmtp_options[ 'smtp_settings' ][ 'enable_debug' ] ) && $swpsmtp_options[ 'smtp_settings' ][ 'enable_debug' ] ) {
197
  $phpmailer->Debugoutput = function($str, $level) {
198
  swpsmtp_write_to_log( $str );
@@ -228,6 +241,10 @@ if ( ! function_exists( 'swpsmtp_test_mail' ) ) {
228
 
229
  $mail->IsSMTP();
230
 
 
 
 
 
231
  /* If using smtp auth, set the username & password */
232
  if ( 'yes' == $swpsmtp_options[ 'smtp_settings' ][ 'autentication' ] ) {
233
  $mail->SMTPAuth = true;
@@ -243,6 +260,16 @@ if ( ! function_exists( 'swpsmtp_test_mail' ) ) {
243
  /* PHPMailer 5.2.10 introduced this option. However, this might cause issues if the server is advertising TLS with an invalid certificate. */
244
  $mail->SMTPAutoTLS = false;
245
 
 
 
 
 
 
 
 
 
 
 
246
  /* Set the other options */
247
  $mail->Host = $swpsmtp_options[ 'smtp_settings' ][ 'host' ];
248
  $mail->Port = $swpsmtp_options[ 'smtp_settings' ][ 'port' ];
@@ -250,9 +277,10 @@ if ( ! function_exists( 'swpsmtp_test_mail' ) ) {
250
  $mail->AddReplyTo( $swpsmtp_options[ 'reply_to_email' ], $from_name );
251
  }
252
  $mail->SetFrom( $from_email, $from_name );
253
- $mail->isHTML( true );
 
254
  $mail->Subject = $subject;
255
- $mail->MsgHTML( $message );
256
  $mail->AddAddress( $to_email );
257
  global $debugMSG;
258
  $debugMSG = '';
1
  <?php
2
  /*
3
  Plugin Name: Easy WP SMTP
4
+ Version: 1.3.3
5
  Plugin URI: https://wp-ecommerce.net/easy-wordpress-smtp-send-emails-from-your-wordpress-site-using-a-smtp-server-2197
6
  Author: wpecommerce
7
  Author URI: https://wp-ecommerce.net/
176
  $phpmailer->From = $from_email;
177
  $phpmailer->FromName = $from_name;
178
  $phpmailer->SetFrom( $phpmailer->From, $phpmailer->FromName );
179
+ //This should set Return-Path header for servers that are not properly handling it, but needs testing first
180
+ //$phpmailer->Sender = $phpmailer->From;
181
  /* Set the SMTPSecure value */
182
  if ( $swpsmtp_options[ 'smtp_settings' ][ 'type_encryption' ] !== 'none' ) {
183
  $phpmailer->SMTPSecure = $swpsmtp_options[ 'smtp_settings' ][ 'type_encryption' ];
195
  }
196
  //PHPMailer 5.2.10 introduced this option. However, this might cause issues if the server is advertising TLS with an invalid certificate.
197
  $phpmailer->SMTPAutoTLS = false;
198
+
199
+ if ( isset( $swpsmtp_options[ 'insecure_ssl' ] ) && $swpsmtp_options[ 'insecure_ssl' ] !== false ) {
200
+ // Insecure SSL option enabled
201
+ $phpmailer->SMTPOptions = array(
202
+ 'ssl' => array(
203
+ 'verify_peer' => false,
204
+ 'verify_peer_name' => false,
205
+ 'allow_self_signed' => true
206
+ ) );
207
+ }
208
+
209
  if ( isset( $swpsmtp_options[ 'smtp_settings' ][ 'enable_debug' ] ) && $swpsmtp_options[ 'smtp_settings' ][ 'enable_debug' ] ) {
210
  $phpmailer->Debugoutput = function($str, $level) {
211
  swpsmtp_write_to_log( $str );
241
 
242
  $mail->IsSMTP();
243
 
244
+ // send plain text test email
245
+ $mail->ContentType = 'text/plain';
246
+ $mail->IsHTML( false );
247
+
248
  /* If using smtp auth, set the username & password */
249
  if ( 'yes' == $swpsmtp_options[ 'smtp_settings' ][ 'autentication' ] ) {
250
  $mail->SMTPAuth = true;
260
  /* PHPMailer 5.2.10 introduced this option. However, this might cause issues if the server is advertising TLS with an invalid certificate. */
261
  $mail->SMTPAutoTLS = false;
262
 
263
+ if ( isset( $swpsmtp_options[ 'insecure_ssl' ] ) && $swpsmtp_options[ 'insecure_ssl' ] !== false ) {
264
+ // Insecure SSL option enabled
265
+ $mail->SMTPOptions = array(
266
+ 'ssl' => array(
267
+ 'verify_peer' => false,
268
+ 'verify_peer_name' => false,
269
+ 'allow_self_signed' => true
270
+ ) );
271
+ }
272
+
273
  /* Set the other options */
274
  $mail->Host = $swpsmtp_options[ 'smtp_settings' ][ 'host' ];
275
  $mail->Port = $swpsmtp_options[ 'smtp_settings' ][ 'port' ];
277
  $mail->AddReplyTo( $swpsmtp_options[ 'reply_to_email' ], $from_name );
278
  }
279
  $mail->SetFrom( $from_email, $from_name );
280
+ //This should set Return-Path header for servers that are not properly handling it, but needs testing first
281
+ //$mail->Sender = $mail->From;
282
  $mail->Subject = $subject;
283
+ $mail->Body = $message;
284
  $mail->AddAddress( $to_email );
285
  global $debugMSG;
286
  $debugMSG = '';
languages/easy-wp-smtp.pot CHANGED
@@ -1,182 +1,309 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Easy WP SMTP\n"
4
- "POT-Creation-Date: 2015-12-09 13:51+1000\n"
5
- "PO-Revision-Date: 2015-12-09 13:51+1000\n"
6
  "Last-Translator: \n"
7
  "Language-Team: \n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
11
- "X-Generator: Poedit 1.5.5\n"
12
- "X-Poedit-KeywordsList: _e;__\n"
13
  "X-Poedit-Basepath: .\n"
14
  "X-Poedit-SearchPath-0: .\n"
15
 
16
- #: easy-wp-smtp.php:21
17
  msgid "Easy WP SMTP"
18
  msgstr ""
19
 
20
- #: easy-wp-smtp.php:82 easy-wp-smtp.php:99
21
- msgid "Settings"
22
  msgstr ""
23
 
24
- #: easy-wp-smtp.php:183 easy-wp-smtp.php:221
 
 
 
 
25
  msgid "Please enter a valid email address in the 'FROM' field."
26
  msgstr ""
27
 
28
- #: easy-wp-smtp.php:198
29
  msgid "Please enter a valid port in the 'SMTP Port' field."
30
  msgstr ""
31
 
32
- #: easy-wp-smtp.php:207
33
  msgid "Settings saved."
34
  msgstr ""
35
 
36
- #: easy-wp-smtp.php:210
37
  msgid "Settings are not saved."
38
  msgstr ""
39
 
40
- #: easy-wp-smtp.php:231
41
- msgid "Easy WP SMTP Settings"
42
  msgstr ""
43
 
44
- #: easy-wp-smtp.php:240
45
- msgid "Notice:"
46
  msgstr ""
47
 
48
- #: easy-wp-smtp.php:240
49
- msgid ""
50
- "The plugin's settings have been changed. In order to save them please don't "
51
- "forget to click the 'Save Changes' button."
 
 
 
52
  msgstr ""
53
 
54
- #: easy-wp-smtp.php:242
55
- msgid "General Settings"
56
  msgstr ""
57
 
58
- #: easy-wp-smtp.php:246
 
 
 
 
 
 
 
59
  msgid "From Email Address"
60
  msgstr ""
61
 
62
- #: easy-wp-smtp.php:249
63
  msgid "This email address will be used in the 'From' field."
64
  msgstr ""
65
 
66
- #: easy-wp-smtp.php:253
67
  msgid "From Name"
68
  msgstr ""
69
 
70
- #: easy-wp-smtp.php:256
71
  msgid "This text will be used in the 'FROM' field"
72
  msgstr ""
73
 
74
- #: easy-wp-smtp.php:260
 
 
 
 
 
 
 
 
 
 
75
  msgid "SMTP Host"
76
  msgstr ""
77
 
78
- #: easy-wp-smtp.php:263
79
  msgid "Your mail server"
80
  msgstr ""
81
 
82
- #: easy-wp-smtp.php:267
83
  msgid "Type of Encryption"
84
  msgstr ""
85
 
86
- #: easy-wp-smtp.php:269
87
  msgid "None"
88
  msgstr ""
89
 
90
- #: easy-wp-smtp.php:270
91
  msgid "SSL"
92
  msgstr ""
93
 
94
- #: easy-wp-smtp.php:271
95
  msgid "TLS"
96
  msgstr ""
97
 
98
- #: easy-wp-smtp.php:272
99
  msgid "For most servers SSL is the recommended option"
100
  msgstr ""
101
 
102
- #: easy-wp-smtp.php:276
103
  msgid "SMTP Port"
104
  msgstr ""
105
 
106
- #: easy-wp-smtp.php:279
107
  msgid "The port to your mail server"
108
  msgstr ""
109
 
110
- #: easy-wp-smtp.php:283
111
  msgid "SMTP Authentication"
112
  msgstr ""
113
 
114
- #: easy-wp-smtp.php:285
115
  msgid "No"
116
  msgstr ""
117
 
118
- #: easy-wp-smtp.php:286
119
  msgid "Yes"
120
  msgstr ""
121
 
122
- #: easy-wp-smtp.php:287
123
  msgid "This options should always be checked 'Yes'"
124
  msgstr ""
125
 
126
- #: easy-wp-smtp.php:291
127
- msgid "SMTP username"
128
  msgstr ""
129
 
130
- #: easy-wp-smtp.php:294
131
  msgid "The username to login to your mail server"
132
  msgstr ""
133
 
134
- #: easy-wp-smtp.php:298
135
  msgid "SMTP Password"
136
  msgstr ""
137
 
138
- #: easy-wp-smtp.php:301
139
  msgid "The password to login to your mail server"
140
  msgstr ""
141
 
142
- #: easy-wp-smtp.php:306
 
143
  msgid "Save Changes"
144
  msgstr ""
145
 
146
- #: easy-wp-smtp.php:315
147
- msgid "Testing And Debugging Settings"
148
  msgstr ""
149
 
150
- #: easy-wp-smtp.php:319
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
151
  msgid "To"
152
  msgstr ""
153
 
154
- #: easy-wp-smtp.php:322
155
- msgid "Enter the email address to recipient"
156
  msgstr ""
157
 
158
- #: easy-wp-smtp.php:326
159
  msgid "Subject"
160
  msgstr ""
161
 
162
- #: easy-wp-smtp.php:329
163
  msgid "Enter a subject for your message"
164
  msgstr ""
165
 
166
- #: easy-wp-smtp.php:333
167
  msgid "Message"
168
  msgstr ""
169
 
170
- #: easy-wp-smtp.php:336
171
- msgid "Write your message"
172
  msgstr ""
173
 
174
- #: easy-wp-smtp.php:341
175
  msgid "Send Test Email"
176
  msgstr ""
177
 
178
- #: easy-wp-smtp.php:458
 
 
 
 
 
 
 
 
 
 
 
 
 
179
  msgid ""
180
- "Please configure your SMTP credentials in the settings in order to send "
181
- "email using Easy WP SMTP plugin."
182
  msgstr ""
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Easy WP SMTP\n"
4
+ "POT-Creation-Date: 2018-01-07 22:14+1000\n"
5
+ "PO-Revision-Date: 2018-01-07 22:14+1000\n"
6
  "Last-Translator: \n"
7
  "Language-Team: \n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
11
+ "X-Generator: Poedit 1.5.7\n"
12
+ "X-Poedit-KeywordsList: __;_e\n"
13
  "X-Poedit-Basepath: .\n"
14
  "X-Poedit-SearchPath-0: .\n"
15
 
16
+ #: easy-wp-smtp/easy-wp-smtp-admin-menu.php:9
17
  msgid "Easy WP SMTP"
18
  msgstr ""
19
 
20
+ #: easy-wp-smtp/easy-wp-smtp-admin-menu.php:54
21
+ msgid "Easy WP SMTP Settings"
22
  msgstr ""
23
 
24
+ #: easy-wp-smtp/easy-wp-smtp-admin-menu.php:69
25
+ msgid "Nonce check failed."
26
+ msgstr ""
27
+
28
+ #: easy-wp-smtp/easy-wp-smtp-admin-menu.php:77
29
  msgid "Please enter a valid email address in the 'FROM' field."
30
  msgstr ""
31
 
32
+ #: easy-wp-smtp/easy-wp-smtp-admin-menu.php:110
33
  msgid "Please enter a valid port in the 'SMTP Port' field."
34
  msgstr ""
35
 
36
+ #: easy-wp-smtp/easy-wp-smtp-admin-menu.php:119
37
  msgid "Settings saved."
38
  msgstr ""
39
 
40
+ #: easy-wp-smtp/easy-wp-smtp-admin-menu.php:121
41
  msgid "Settings are not saved."
42
  msgstr ""
43
 
44
+ #: easy-wp-smtp/easy-wp-smtp-admin-menu.php:133
45
+ msgid "Please enter a valid email address in the recipient email field."
46
  msgstr ""
47
 
48
+ #: easy-wp-smtp/easy-wp-smtp-admin-menu.php:172
49
+ msgid "SMTP Settings"
50
  msgstr ""
51
 
52
+ #: easy-wp-smtp/easy-wp-smtp-admin-menu.php:173
53
+ msgid "Additional Settings"
54
+ msgstr ""
55
+
56
+ #: easy-wp-smtp/easy-wp-smtp-admin-menu.php:174
57
+ #: easy-wp-smtp/easy-wp-smtp-admin-menu.php:324
58
+ msgid "Test Email"
59
  msgstr ""
60
 
61
+ #: easy-wp-smtp/easy-wp-smtp-admin-menu.php:187
62
+ msgid "SMTP Configuration Settings"
63
  msgstr ""
64
 
65
+ #: easy-wp-smtp/easy-wp-smtp-admin-menu.php:190
66
+ msgid ""
67
+ "You can request your hosting provider for the SMTP details of your site. Use "
68
+ "the SMTP details provided by your hosting provider to configure the "
69
+ "following settings."
70
+ msgstr ""
71
+
72
+ #: easy-wp-smtp/easy-wp-smtp-admin-menu.php:194
73
  msgid "From Email Address"
74
  msgstr ""
75
 
76
+ #: easy-wp-smtp/easy-wp-smtp-admin-menu.php:197
77
  msgid "This email address will be used in the 'From' field."
78
  msgstr ""
79
 
80
+ #: easy-wp-smtp/easy-wp-smtp-admin-menu.php:201
81
  msgid "From Name"
82
  msgstr ""
83
 
84
+ #: easy-wp-smtp/easy-wp-smtp-admin-menu.php:204
85
  msgid "This text will be used in the 'FROM' field"
86
  msgstr ""
87
 
88
+ #: easy-wp-smtp/easy-wp-smtp-admin-menu.php:208
89
+ msgid "Reply-To Email Address"
90
+ msgstr ""
91
+
92
+ #: easy-wp-smtp/easy-wp-smtp-admin-menu.php:211
93
+ msgid ""
94
+ "Optional. This email address will be used in the 'Reply-To' field of the "
95
+ "email. Leave it blank to use 'From' email as the reply-to value."
96
+ msgstr ""
97
+
98
+ #: easy-wp-smtp/easy-wp-smtp-admin-menu.php:215
99
  msgid "SMTP Host"
100
  msgstr ""
101
 
102
+ #: easy-wp-smtp/easy-wp-smtp-admin-menu.php:218
103
  msgid "Your mail server"
104
  msgstr ""
105
 
106
+ #: easy-wp-smtp/easy-wp-smtp-admin-menu.php:222
107
  msgid "Type of Encryption"
108
  msgstr ""
109
 
110
+ #: easy-wp-smtp/easy-wp-smtp-admin-menu.php:224
111
  msgid "None"
112
  msgstr ""
113
 
114
+ #: easy-wp-smtp/easy-wp-smtp-admin-menu.php:225
115
  msgid "SSL"
116
  msgstr ""
117
 
118
+ #: easy-wp-smtp/easy-wp-smtp-admin-menu.php:226
119
  msgid "TLS"
120
  msgstr ""
121
 
122
+ #: easy-wp-smtp/easy-wp-smtp-admin-menu.php:227
123
  msgid "For most servers SSL is the recommended option"
124
  msgstr ""
125
 
126
+ #: easy-wp-smtp/easy-wp-smtp-admin-menu.php:231
127
  msgid "SMTP Port"
128
  msgstr ""
129
 
130
+ #: easy-wp-smtp/easy-wp-smtp-admin-menu.php:234
131
  msgid "The port to your mail server"
132
  msgstr ""
133
 
134
+ #: easy-wp-smtp/easy-wp-smtp-admin-menu.php:238
135
  msgid "SMTP Authentication"
136
  msgstr ""
137
 
138
+ #: easy-wp-smtp/easy-wp-smtp-admin-menu.php:240
139
  msgid "No"
140
  msgstr ""
141
 
142
+ #: easy-wp-smtp/easy-wp-smtp-admin-menu.php:241
143
  msgid "Yes"
144
  msgstr ""
145
 
146
+ #: easy-wp-smtp/easy-wp-smtp-admin-menu.php:242
147
  msgid "This options should always be checked 'Yes'"
148
  msgstr ""
149
 
150
+ #: easy-wp-smtp/easy-wp-smtp-admin-menu.php:246
151
+ msgid "SMTP Username"
152
  msgstr ""
153
 
154
+ #: easy-wp-smtp/easy-wp-smtp-admin-menu.php:249
155
  msgid "The username to login to your mail server"
156
  msgstr ""
157
 
158
+ #: easy-wp-smtp/easy-wp-smtp-admin-menu.php:253
159
  msgid "SMTP Password"
160
  msgstr ""
161
 
162
+ #: easy-wp-smtp/easy-wp-smtp-admin-menu.php:256
163
  msgid "The password to login to your mail server"
164
  msgstr ""
165
 
166
+ #: easy-wp-smtp/easy-wp-smtp-admin-menu.php:261
167
+ #: easy-wp-smtp/easy-wp-smtp-admin-menu.php:312
168
  msgid "Save Changes"
169
  msgstr ""
170
 
171
+ #: easy-wp-smtp/easy-wp-smtp-admin-menu.php:271
172
+ msgid "Additional Settings (Optional)"
173
  msgstr ""
174
 
175
+ #: easy-wp-smtp/easy-wp-smtp-admin-menu.php:275
176
+ msgid "Don't Replace \"From\" Field"
177
+ msgstr ""
178
+
179
+ #: easy-wp-smtp/easy-wp-smtp-admin-menu.php:278
180
+ msgid ""
181
+ "Comma separated emails list. Example value: email1@domain.com, email2@domain."
182
+ "com"
183
+ msgstr ""
184
+
185
+ #: easy-wp-smtp/easy-wp-smtp-admin-menu.php:279
186
+ msgid ""
187
+ "This option is useful when you are using several email aliases on your SMTP "
188
+ "server. If you don't want your aliases to be replaced by the address "
189
+ "specified in \"From\" field, enter them in this field."
190
+ msgstr ""
191
+
192
+ #: easy-wp-smtp/easy-wp-smtp-admin-menu.php:283
193
+ msgid "Enable Domain Check"
194
+ msgstr ""
195
+
196
+ #: easy-wp-smtp/easy-wp-smtp-admin-menu.php:286
197
+ msgid ""
198
+ "This option is usually used by developers only. SMTP settings will be used "
199
+ "only if the site is running on following domain(s):"
200
+ msgstr ""
201
+
202
+ #: easy-wp-smtp/easy-wp-smtp-admin-menu.php:288
203
+ msgid "Coma-separated domains list. Example: domain1.com, domain2.com"
204
+ msgstr ""
205
+
206
+ #: easy-wp-smtp/easy-wp-smtp-admin-menu.php:290
207
+ msgid "Block all emails"
208
+ msgstr ""
209
+
210
+ #: easy-wp-smtp/easy-wp-smtp-admin-menu.php:292
211
+ msgid ""
212
+ "When enabled, plugin attempts to block ALL emails from being sent out if "
213
+ "domain mismtach."
214
+ msgstr ""
215
+
216
+ #: easy-wp-smtp/easy-wp-smtp-admin-menu.php:296
217
+ msgid "Allow Insecure SSL Certificates"
218
+ msgstr ""
219
+
220
+ #: easy-wp-smtp/easy-wp-smtp-admin-menu.php:299
221
+ msgid ""
222
+ "Allows insecure and self-signed SSL certificates on SMTP server. It's highly "
223
+ "recommended to keep this option disabled."
224
+ msgstr ""
225
+
226
+ #: easy-wp-smtp/easy-wp-smtp-admin-menu.php:303
227
+ msgid "Enable Debug Log"
228
+ msgstr ""
229
+
230
+ #: easy-wp-smtp/easy-wp-smtp-admin-menu.php:306
231
+ msgid "Check this box to enable mail debug log"
232
+ msgstr ""
233
+
234
+ #: easy-wp-smtp/easy-wp-smtp-admin-menu.php:307
235
+ msgid "View Log"
236
+ msgstr ""
237
+
238
+ #: easy-wp-smtp/easy-wp-smtp-admin-menu.php:307
239
+ msgid "Clear Log"
240
+ msgstr ""
241
+
242
+ #: easy-wp-smtp/easy-wp-smtp-admin-menu.php:326
243
+ msgid "Notice:"
244
+ msgstr ""
245
+
246
+ #: easy-wp-smtp/easy-wp-smtp-admin-menu.php:326
247
+ msgid ""
248
+ "You have unsaved settings. In order to send a test email, you need to go "
249
+ "back to previous tab and click \"Save Changes\" button first."
250
+ msgstr ""
251
+
252
+ #: easy-wp-smtp/easy-wp-smtp-admin-menu.php:327
253
+ msgid ""
254
+ "You can use this section to send an email from your server using the above "
255
+ "configured SMTP details to see if the email gets delivered."
256
+ msgstr ""
257
+
258
+ #: easy-wp-smtp/easy-wp-smtp-admin-menu.php:328
259
+ msgid ""
260
+ "debug log for this test email will be automatically displayed right after "
261
+ "you send it. Test email also ignores \"Enable Domain Check\" option."
262
+ msgstr ""
263
+
264
+ #: easy-wp-smtp/easy-wp-smtp-admin-menu.php:333
265
  msgid "To"
266
  msgstr ""
267
 
268
+ #: easy-wp-smtp/easy-wp-smtp-admin-menu.php:336
269
+ msgid "Enter the recipient's email address"
270
  msgstr ""
271
 
272
+ #: easy-wp-smtp/easy-wp-smtp-admin-menu.php:340
273
  msgid "Subject"
274
  msgstr ""
275
 
276
+ #: easy-wp-smtp/easy-wp-smtp-admin-menu.php:343
277
  msgid "Enter a subject for your message"
278
  msgstr ""
279
 
280
+ #: easy-wp-smtp/easy-wp-smtp-admin-menu.php:347
281
  msgid "Message"
282
  msgstr ""
283
 
284
+ #: easy-wp-smtp/easy-wp-smtp-admin-menu.php:350
285
+ msgid "Write your email message"
286
  msgstr ""
287
 
288
+ #: easy-wp-smtp/easy-wp-smtp-admin-menu.php:355
289
  msgid "Send Test Email"
290
  msgstr ""
291
 
292
+ #: easy-wp-smtp/easy-wp-smtp-admin-menu.php:403
293
+ msgid "Are you sure want to clear log?"
294
+ msgstr ""
295
+
296
+ #: easy-wp-smtp/easy-wp-smtp-admin-menu.php:411
297
+ msgid "Log cleared."
298
+ msgstr ""
299
+
300
+ #: easy-wp-smtp/easy-wp-smtp.php:32 easy-wp-smtp/easy-wp-smtp.php:51
301
+ msgid "Settings"
302
+ msgstr ""
303
+
304
+ #: easy-wp-smtp/easy-wp-smtp.php:349
305
+ #, php-format
306
  msgid ""
307
+ "Please configure your SMTP credentials in the <a href=\"%s\">settings menu</"
308
+ "a> in order to send email using Easy WP SMTP plugin."
309
  msgstr ""
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://wp-ecommerce.net/easy-wordpress-smtp-send-emails-from-your-
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: 4.3
6
  Tested up to: 4.9
7
- Stable tag: 1.3.2
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -77,6 +77,11 @@ Inspired by [WP Mail SMTP](http://wordpress.org/plugins/wp-mail-smtp/) plugin
77
 
78
  == Changelog ==
79
 
 
 
 
 
 
80
  = 1.3.2 =
81
  * Hopefully fixed inability for plugin to save settings in some circumstances (thanks to all who kept reporting this issue).
82
  * The plugin is no longer failing if PHP mbstring extension is not installed on the server.
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: 4.3
6
  Tested up to: 4.9
7
+ Stable tag: 1.3.3
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
77
 
78
  == Changelog ==
79
 
80
+ = 1.3.3 =
81
+ * Added option to allow insecure SSL certificate usage on SMTP server (thanks to ravipatel and bradclarke365).
82
+ * Changing fields on Test Email tab is no longer shows "you have unsaved settings" notice.
83
+ * Plugin is compatible again with WP version 4.3+ (thanks to lucrus for reporting).
84
+
85
  = 1.3.2 =
86
  * Hopefully fixed inability for plugin to save settings in some circumstances (thanks to all who kept reporting this issue).
87
  * The plugin is no longer failing if PHP mbstring extension is not installed on the server.