WP SMTP - Version 1.1.6

Version Description

  • Add Yahoo! example
  • Some optimization
Download this release

Release Info

Developer acalbert
Plugin Icon 128x128 WP SMTP
Version 1.1.6
Comparing to
See all releases

Code changes from version 1.1.5 to 1.1.6

img/yahoo.png ADDED
Binary file
lang/wp-smtp-zh_CN.mo CHANGED
Binary file
lang/wp-smtp-zh_CN.po CHANGED
@@ -2,8 +2,8 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: WP-SMTP Languages\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2012-11-13 13:14+0800\n"
6
- "PO-Revision-Date: 2012-11-13 13:47+0800\n"
7
  "Last-Translator: 夜光 <berttung(#)gmail.com>\n"
8
  "Language-Team: 玻璃泉BoLiQuan.COM <berttung(#)gmail.com>\n"
9
  "MIME-Version: 1.0\n"
@@ -14,89 +14,93 @@ msgstr ""
14
  "X-Poedit-Language: English\n"
15
  "X-Poedit-Country: CHINA\n"
16
  "X-Poedit-SourceCharset: utf-8\n"
17
- "X-Poedit-SearchPath-0: F:\\xampp\\htdocs\\wordpress\\wp-content\\plugins\\wp-smtp\n"
18
 
19
- #: F:\xampp\htdocs\wordpress\wp-content\plugins\wp-smtp/wp-smtp.php:66
20
  msgid "Settings"
21
  msgstr "设置"
22
 
23
- #: F:\xampp\htdocs\wordpress\wp-content\plugins\wp-smtp/wp_smtp_admin.php:21
24
  msgid "The field \"From\" must be a valid email address!"
25
  msgstr "“发件人地址”必须是一个有效的电子邮件地址!"
26
 
27
- #: F:\xampp\htdocs\wordpress\wp-content\plugins\wp-smtp/wp_smtp_admin.php:24
28
- msgid "The field \"Host\" can not be left blank!"
29
  msgstr "“SMTP服务器地址”不能为空!"
30
 
31
- #: F:\xampp\htdocs\wordpress\wp-content\plugins\wp-smtp/wp_smtp_admin.php:27
32
  msgid "Options saved."
33
  msgstr "设置已保存。"
34
 
35
- #: F:\xampp\htdocs\wordpress\wp-content\plugins\wp-smtp/wp_smtp_admin.php:47
36
  msgid "Message sent!"
37
  msgstr "邮件已发送!"
38
 
39
- #: F:\xampp\htdocs\wordpress\wp-content\plugins\wp-smtp/wp_smtp_admin.php:54
40
  msgid "Some errors occurred!"
41
  msgstr "发生了一些错误!"
42
 
43
- #: F:\xampp\htdocs\wordpress\wp-content\plugins\wp-smtp/wp_smtp_admin.php:76
 
 
 
 
44
  msgid "From"
45
  msgstr "发件人地址"
46
 
47
- #: F:\xampp\htdocs\wordpress\wp-content\plugins\wp-smtp/wp_smtp_admin.php:86
48
  msgid "From Name"
49
  msgstr "发件人昵称"
50
 
51
- #: F:\xampp\htdocs\wordpress\wp-content\plugins\wp-smtp/wp_smtp_admin.php:96
52
- msgid "Host"
53
  msgstr "SMTP服务器地址"
54
 
55
- #: F:\xampp\htdocs\wordpress\wp-content\plugins\wp-smtp/wp_smtp_admin.php:106
56
  msgid "SMTP Secure"
57
  msgstr "SMTP加密方式"
58
 
59
- #: F:\xampp\htdocs\wordpress\wp-content\plugins\wp-smtp/wp_smtp_admin.php:127
60
- msgid "Port"
61
  msgstr "SMTP端口"
62
 
63
- #: F:\xampp\htdocs\wordpress\wp-content\plugins\wp-smtp/wp_smtp_admin.php:137
64
  msgid "SMTP Authentication"
65
  msgstr "SMTP认证"
66
 
67
- #: F:\xampp\htdocs\wordpress\wp-content\plugins\wp-smtp/wp_smtp_admin.php:153
68
  msgid "Username"
69
  msgstr "认证用户名 (完整邮件地址)"
70
 
71
- #: F:\xampp\htdocs\wordpress\wp-content\plugins\wp-smtp/wp_smtp_admin.php:163
72
  msgid "Password"
73
  msgstr "认证密码"
74
 
75
- #: F:\xampp\htdocs\wordpress\wp-content\plugins\wp-smtp/wp_smtp_admin.php:173
76
  msgid "Delete Options"
77
  msgstr "禁用时自动删除设置"
78
 
79
- #: F:\xampp\htdocs\wordpress\wp-content\plugins\wp-smtp/wp_smtp_admin.php:178
80
  msgid "Delete options while deactivate this plugin."
81
  msgstr "当禁用此插件时自动删除此插件的设置数据."
82
 
83
- #: F:\xampp\htdocs\wordpress\wp-content\plugins\wp-smtp/wp_smtp_admin.php:186
84
  msgid "Save Changes"
85
  msgstr "保存更改"
86
 
87
- #: F:\xampp\htdocs\wordpress\wp-content\plugins\wp-smtp/wp_smtp_admin.php:195
88
  msgid "To:"
89
  msgstr "收件地址:"
90
 
91
- #: F:\xampp\htdocs\wordpress\wp-content\plugins\wp-smtp/wp_smtp_admin.php:205
92
  msgid "Subject:"
93
  msgstr "邮件标题:"
94
 
95
- #: F:\xampp\htdocs\wordpress\wp-content\plugins\wp-smtp/wp_smtp_admin.php:215
96
  msgid "Message:"
97
  msgstr "邮件正文:"
98
 
99
- #: F:\xampp\htdocs\wordpress\wp-content\plugins\wp-smtp/wp_smtp_admin.php:226
100
  msgid "Send Test"
101
  msgstr "发送测试"
102
 
2
  msgstr ""
3
  "Project-Id-Version: WP-SMTP Languages\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2013-10-07 00:39+0800\n"
6
+ "PO-Revision-Date: 2013-10-07 00:39+0800\n"
7
  "Last-Translator: 夜光 <berttung(#)gmail.com>\n"
8
  "Language-Team: 玻璃泉BoLiQuan.COM <berttung(#)gmail.com>\n"
9
  "MIME-Version: 1.0\n"
14
  "X-Poedit-Language: English\n"
15
  "X-Poedit-Country: CHINA\n"
16
  "X-Poedit-SourceCharset: utf-8\n"
17
+ "X-Poedit-SearchPath-0: D:\\xampp\\htdocs\\wordpress\\wp-content\\plugins\\wp-smtp\n"
18
 
19
+ #: D:\xampp\htdocs\wordpress\wp-content\plugins\wp-smtp/wp-smtp.php:66
20
  msgid "Settings"
21
  msgstr "设置"
22
 
23
+ #: D:\xampp\htdocs\wordpress\wp-content\plugins\wp-smtp/wp_smtp_admin.php:21
24
  msgid "The field \"From\" must be a valid email address!"
25
  msgstr "“发件人地址”必须是一个有效的电子邮件地址!"
26
 
27
+ #: D:\xampp\htdocs\wordpress\wp-content\plugins\wp-smtp/wp_smtp_admin.php:24
28
+ msgid "The field \"SMTP Host\" can not be left blank!"
29
  msgstr "“SMTP服务器地址”不能为空!"
30
 
31
+ #: D:\xampp\htdocs\wordpress\wp-content\plugins\wp-smtp/wp_smtp_admin.php:27
32
  msgid "Options saved."
33
  msgstr "设置已保存。"
34
 
35
+ #: D:\xampp\htdocs\wordpress\wp-content\plugins\wp-smtp/wp_smtp_admin.php:47
36
  msgid "Message sent!"
37
  msgstr "邮件已发送!"
38
 
39
+ #: D:\xampp\htdocs\wordpress\wp-content\plugins\wp-smtp/wp_smtp_admin.php:54
40
  msgid "Some errors occurred!"
41
  msgstr "发生了一些错误!"
42
 
43
+ #: D:\xampp\htdocs\wordpress\wp-content\plugins\wp-smtp/wp_smtp_admin.php:57
44
+ msgid "The fields \"To\" \"Subject\" \"Message\" can not be left blank when testing!"
45
+ msgstr "测试时“收件地址”“邮件标题”“邮件正文”均不能为空!"
46
+
47
+ #: D:\xampp\htdocs\wordpress\wp-content\plugins\wp-smtp/wp_smtp_admin.php:80
48
  msgid "From"
49
  msgstr "发件人地址"
50
 
51
+ #: D:\xampp\htdocs\wordpress\wp-content\plugins\wp-smtp/wp_smtp_admin.php:90
52
  msgid "From Name"
53
  msgstr "发件人昵称"
54
 
55
+ #: D:\xampp\htdocs\wordpress\wp-content\plugins\wp-smtp/wp_smtp_admin.php:100
56
+ msgid "SMTP Host"
57
  msgstr "SMTP服务器地址"
58
 
59
+ #: D:\xampp\htdocs\wordpress\wp-content\plugins\wp-smtp/wp_smtp_admin.php:110
60
  msgid "SMTP Secure"
61
  msgstr "SMTP加密方式"
62
 
63
+ #: D:\xampp\htdocs\wordpress\wp-content\plugins\wp-smtp/wp_smtp_admin.php:131
64
+ msgid "SMTP Port"
65
  msgstr "SMTP端口"
66
 
67
+ #: D:\xampp\htdocs\wordpress\wp-content\plugins\wp-smtp/wp_smtp_admin.php:141
68
  msgid "SMTP Authentication"
69
  msgstr "SMTP认证"
70
 
71
+ #: D:\xampp\htdocs\wordpress\wp-content\plugins\wp-smtp/wp_smtp_admin.php:157
72
  msgid "Username"
73
  msgstr "认证用户名 (完整邮件地址)"
74
 
75
+ #: D:\xampp\htdocs\wordpress\wp-content\plugins\wp-smtp/wp_smtp_admin.php:167
76
  msgid "Password"
77
  msgstr "认证密码"
78
 
79
+ #: D:\xampp\htdocs\wordpress\wp-content\plugins\wp-smtp/wp_smtp_admin.php:177
80
  msgid "Delete Options"
81
  msgstr "禁用时自动删除设置"
82
 
83
+ #: D:\xampp\htdocs\wordpress\wp-content\plugins\wp-smtp/wp_smtp_admin.php:182
84
  msgid "Delete options while deactivate this plugin."
85
  msgstr "当禁用此插件时自动删除此插件的设置数据."
86
 
87
+ #: D:\xampp\htdocs\wordpress\wp-content\plugins\wp-smtp/wp_smtp_admin.php:190
88
  msgid "Save Changes"
89
  msgstr "保存更改"
90
 
91
+ #: D:\xampp\htdocs\wordpress\wp-content\plugins\wp-smtp/wp_smtp_admin.php:199
92
  msgid "To:"
93
  msgstr "收件地址:"
94
 
95
+ #: D:\xampp\htdocs\wordpress\wp-content\plugins\wp-smtp/wp_smtp_admin.php:209
96
  msgid "Subject:"
97
  msgstr "邮件标题:"
98
 
99
+ #: D:\xampp\htdocs\wordpress\wp-content\plugins\wp-smtp/wp_smtp_admin.php:219
100
  msgid "Message:"
101
  msgstr "邮件正文:"
102
 
103
+ #: D:\xampp\htdocs\wordpress\wp-content\plugins\wp-smtp/wp_smtp_admin.php:230
104
  msgid "Send Test"
105
  msgstr "发送测试"
106
 
readme.txt CHANGED
@@ -1,11 +1,11 @@
1
  === WP SMTP ===
2
  Contributors: boliquan
3
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=SKA6TPPWSATKG&item_name=BoLiQuan&no_shipping=0&no_note=1&tax=0&currency_code=USD&lc=CA&bn=PP%2dDonationsBF&charset=UTF%2d8
4
- Tags: wp smtp,smtp,mail,email,phpmailer,mailer,wp mail,gmail,mail smtp,ssl,tls
5
  License: GPLv2
6
  Requires at least: 2.7
7
- Tested up to: 3.5
8
- Stable tag: 1.1.5
9
 
10
  WP SMTP can help us to send emails via SMTP instead of the PHP mail() function.
11
 
@@ -13,15 +13,15 @@ WP SMTP can help us to send emails via SMTP instead of the PHP mail() function.
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").
17
- If the field "From" was not a valid email address, or the field "Host" was left blank, it will not reconfigure the wp_mail() function.
18
 
19
  = Usage =
20
 
21
  1. Download and extract `wp-smtp.zip` to `wp-content/plugins/`
22
  2. Activate the plugin through the 'Plugins' menu in WordPress.
23
  3. "Dashboard"->"Settings"->"WP SMTP"
24
- 4. There are some examples on the settings page, you can click the corresponding icon to view.(such as "Gmail""Microsoft""163""QQ")
25
  5. For more information of this plugin, please visit: [Plugin Homepage](http://boliquan.com/wp-smtp/ "WP SMTP").
26
 
27
  Related Links:
@@ -43,11 +43,16 @@ Related Links:
43
  1. Download and extract `wp-smtp.zip` to `wp-content/plugins/`
44
  2. Activate the plugin through the 'Plugins' menu in WordPress.
45
  3. "Dashboard"->"Settings"->"WP SMTP"
46
- 4. There are some examples on the settings page, you can click the corresponding icon to view.(such as "Gmail""Microsoft""163""QQ")
47
  5. For more information of this plugin, please visit: [Plugin Homepage](http://boliquan.com/wp-smtp/ "WP SMTP").
48
 
49
  == Changelog ==
50
 
 
 
 
 
 
51
  = 1.1.5 =
52
 
53
  * Some optimization
@@ -69,9 +74,10 @@ Related Links:
69
  == Screenshots ==
70
 
71
  1. "Gmail.com" settings
72
- 2. "Live.com" settings
73
- 3. "163.com" settings
74
- 4. "QQ.com" settings
 
75
 
76
 
77
  == Frequently Asked Questions ==
1
  === WP SMTP ===
2
  Contributors: boliquan
3
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=SKA6TPPWSATKG&item_name=BoLiQuan&no_shipping=0&no_note=1&tax=0&currency_code=USD&lc=CA&bn=PP%2dDonationsBF&charset=UTF%2d8
4
+ Tags: wp smtp,smtp,mail,email,phpmailer,mailer,wp mail,gmail,yahoo,mail smtp,ssl,tls
5
  License: GPLv2
6
  Requires at least: 2.7
7
+ Tested up to: 3.6.1
8
+ Stable tag: 1.1.6
9
 
10
  WP SMTP can help us to send emails via SMTP instead of the PHP mail() function.
11
 
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
  = Usage =
20
 
21
  1. Download and extract `wp-smtp.zip` to `wp-content/plugins/`
22
  2. Activate the plugin through the 'Plugins' menu in WordPress.
23
  3. "Dashboard"->"Settings"->"WP SMTP"
24
+ 4. There are some examples on the settings page, you can click the corresponding icon to view.(such as "Gmail""Yahoo!""Microsoft""163""QQ")
25
  5. For more information of this plugin, please visit: [Plugin Homepage](http://boliquan.com/wp-smtp/ "WP SMTP").
26
 
27
  Related Links:
43
  1. Download and extract `wp-smtp.zip` to `wp-content/plugins/`
44
  2. Activate the plugin through the 'Plugins' menu in WordPress.
45
  3. "Dashboard"->"Settings"->"WP SMTP"
46
+ 4. There are some examples on the settings page, you can click the corresponding icon to view.(such as "Gmail""Yahoo!""Microsoft""163""QQ")
47
  5. For more information of this plugin, please visit: [Plugin Homepage](http://boliquan.com/wp-smtp/ "WP SMTP").
48
 
49
  == Changelog ==
50
 
51
+ = 1.1.6 =
52
+
53
+ * Add Yahoo! example
54
+ * Some optimization
55
+
56
  = 1.1.5 =
57
 
58
  * Some optimization
74
  == Screenshots ==
75
 
76
  1. "Gmail.com" settings
77
+ 2. "Yahoo.com" settings
78
+ 3. "Live.com" settings
79
+ 4. "163.com" settings
80
+ 5. "QQ.com" settings
81
 
82
 
83
  == Frequently Asked Questions ==
screenshot-1.png CHANGED
Binary file
screenshot-2.png CHANGED
Binary file
screenshot-3.png CHANGED
Binary file
screenshot-4.png CHANGED
Binary file
screenshot-5.png ADDED
Binary file
wp-smtp.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: WP SMTP
4
  Plugin URI: http://boliquan.com/wp-smtp/
5
  Description: WP SMTP can help us to send emails via SMTP instead of the PHP mail() function.
6
- Version: 1.1.5
7
  Author: BoLiQuan
8
  Author URI: http://boliquan.com/
9
  Text Domain: WP-SMTP
3
  Plugin Name: WP SMTP
4
  Plugin URI: http://boliquan.com/wp-smtp/
5
  Description: WP SMTP can help us to send emails via SMTP instead of the PHP mail() function.
6
+ Version: 1.1.6
7
  Author: BoLiQuan
8
  Author URI: http://boliquan.com/
9
  Text Domain: WP-SMTP
wp_smtp_admin.php CHANGED
@@ -21,10 +21,10 @@ function wp_smtp_page(){
21
  echo '<div id="message" class="updated fade"><p><strong>' . __("The field \"From\" must be a valid email address!","WP-SMTP") . '</strong></p></div>';
22
  }
23
  elseif(empty($wsOptions["host"])){
24
- echo '<div id="message" class="updated fade"><p><strong>' . __("The field \"Host\" can not be left blank!","WP-SMTP") . '</strong></p></div>';
25
  }
26
  else{
27
- echo '<div id="message" class="updated fade"><p><strong>' . __("Options saved.") . '</strong></p></div>';
28
  }
29
  }
30
  if(isset($_POST['wp_smtp_test'])){
@@ -40,7 +40,7 @@ function wp_smtp_page(){
40
  }
41
  }
42
  else{
43
- $failed = 1;
44
  }
45
  if(!$failed){
46
  if($result==TRUE){
@@ -50,9 +50,12 @@ function wp_smtp_page(){
50
  $failed = 1;
51
  }
52
  }
53
- if($failed){
54
  echo '<div id="message" class="updated fade"><p><strong>' . __("Some errors occurred!","WP-SMTP") . '</strong></p></div>';
55
  }
 
 
 
56
  }
57
  ?>
58
  <div class="wrap">
@@ -62,9 +65,10 @@ function wp_smtp_page(){
62
  WP SMTP
63
  <span style="margin-left:10px; vertical-align:middle;">
64
  <a href="<?php echo plugins_url('screenshot-1.png',__FILE__); ?>" target="_blank"><img src="<?php echo plugins_url('/img/gmail.png',__FILE__); ?>" alt="Gmail" title="Gmail" /></a>
65
- <a href="<?php echo plugins_url('screenshot-2.png',__FILE__); ?>" target="_blank"><img src="<?php echo plugins_url('/img/microsoft.png',__FILE__); ?>" alt="Microsoft" title="Microsoft" /></a>
66
- <a href="<?php echo plugins_url('screenshot-3.png',__FILE__); ?>" target="_blank"><img src="<?php echo plugins_url('/img/163.png',__FILE__); ?>" alt="163" title="163" /></a>
67
- <a href="<?php echo plugins_url('screenshot-4.png',__FILE__); ?>" target="_blank"><img src="<?php echo plugins_url('/img/qq.png',__FILE__); ?>" alt="QQ" title="QQ" /></a>
 
68
  </span>
69
  </h2>
70
 
@@ -93,7 +97,7 @@ WP SMTP
93
  </tr>
94
  <tr valign="top">
95
  <th scope="row">
96
- <?php _e('Host','WP-SMTP'); ?>
97
  </th>
98
  <td>
99
  <label>
@@ -124,7 +128,7 @@ WP SMTP
124
  </tr>
125
  <tr valign="top">
126
  <th scope="row">
127
- <?php _e('Port','WP-SMTP'); ?>
128
  </th>
129
  <td>
130
  <label>
21
  echo '<div id="message" class="updated fade"><p><strong>' . __("The field \"From\" must be a valid email address!","WP-SMTP") . '</strong></p></div>';
22
  }
23
  elseif(empty($wsOptions["host"])){
24
+ echo '<div id="message" class="updated fade"><p><strong>' . __("The field \"SMTP Host\" can not be left blank!","WP-SMTP") . '</strong></p></div>';
25
  }
26
  else{
27
+ echo '<div id="message" class="updated fade"><p><strong>' . __("Options saved.","WP-SMTP") . '</strong></p></div>';
28
  }
29
  }
30
  if(isset($_POST['wp_smtp_test'])){
40
  }
41
  }
42
  else{
43
+ $failed = 2;
44
  }
45
  if(!$failed){
46
  if($result==TRUE){
50
  $failed = 1;
51
  }
52
  }
53
+ if($failed == 1){
54
  echo '<div id="message" class="updated fade"><p><strong>' . __("Some errors occurred!","WP-SMTP") . '</strong></p></div>';
55
  }
56
+ elseif($failed == 2){
57
+ echo '<div id="message" class="updated fade"><p><strong>' . __("The fields \"To\" \"Subject\" \"Message\" can not be left blank when testing!","WP-SMTP") . '</strong></p></div>';
58
+ }
59
  }
60
  ?>
61
  <div class="wrap">
65
  WP SMTP
66
  <span style="margin-left:10px; vertical-align:middle;">
67
  <a href="<?php echo plugins_url('screenshot-1.png',__FILE__); ?>" target="_blank"><img src="<?php echo plugins_url('/img/gmail.png',__FILE__); ?>" alt="Gmail" title="Gmail" /></a>
68
+ <a href="<?php echo plugins_url('screenshot-2.png',__FILE__); ?>" target="_blank"><img src="<?php echo plugins_url('/img/yahoo.png',__FILE__); ?>" alt="Yahoo!" title="Yahoo!" /></a>
69
+ <a href="<?php echo plugins_url('screenshot-3.png',__FILE__); ?>" target="_blank"><img src="<?php echo plugins_url('/img/microsoft.png',__FILE__); ?>" alt="Microsoft" title="Microsoft" /></a>
70
+ <a href="<?php echo plugins_url('screenshot-4.png',__FILE__); ?>" target="_blank"><img src="<?php echo plugins_url('/img/163.png',__FILE__); ?>" alt="163" title="163" /></a>
71
+ <a href="<?php echo plugins_url('screenshot-5.png',__FILE__); ?>" target="_blank"><img src="<?php echo plugins_url('/img/qq.png',__FILE__); ?>" alt="QQ" title="QQ" /></a>
72
  </span>
73
  </h2>
74
 
97
  </tr>
98
  <tr valign="top">
99
  <th scope="row">
100
+ <?php _e('SMTP Host','WP-SMTP'); ?>
101
  </th>
102
  <td>
103
  <label>
128
  </tr>
129
  <tr valign="top">
130
  <th scope="row">
131
+ <?php _e('SMTP Port','WP-SMTP'); ?>
132
  </th>
133
  <td>
134
  <label>