WP SMTP - Version 1.1.3

Version Description

  • If "SMTP Authentication" was set to no, the values "Username""Password" are ignored.
Download this release

Release Info

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

Code changes from version 1.1.2 to 1.1.3

img/microsoft.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-09 14:15+0800\n"
6
- "PO-Revision-Date: 2012-11-09 14:16+0800\n"
7
  "Last-Translator: 夜光 <berttung(#)gmail.com>\n"
8
  "Language-Team: 玻璃泉BoLiQuan.COM <berttung(#)gmail.com>\n"
9
  "MIME-Version: 1.0\n"
@@ -16,7 +16,7 @@ msgstr ""
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:61
20
  msgid "Settings"
21
  msgstr "设置"
22
 
@@ -32,63 +32,63 @@ msgstr "邮件已发送!"
32
  msgid "Something Error!"
33
  msgstr "发生了一些错误!"
34
 
35
- #: F:\xampp\htdocs\wordpress\wp-content\plugins\wp-smtp/wp_smtp_admin.php:67
36
  msgid "From"
37
  msgstr "发件人地址"
38
 
39
- #: F:\xampp\htdocs\wordpress\wp-content\plugins\wp-smtp/wp_smtp_admin.php:77
40
  msgid "From Name"
41
  msgstr "发件人昵称"
42
 
43
- #: F:\xampp\htdocs\wordpress\wp-content\plugins\wp-smtp/wp_smtp_admin.php:87
44
  msgid "Host"
45
  msgstr "SMTP服务器地址"
46
 
47
- #: F:\xampp\htdocs\wordpress\wp-content\plugins\wp-smtp/wp_smtp_admin.php:97
48
  msgid "SMTP Secure"
49
  msgstr "SMTP加密方式"
50
 
51
- #: F:\xampp\htdocs\wordpress\wp-content\plugins\wp-smtp/wp_smtp_admin.php:118
52
  msgid "Port"
53
- msgstr "端口"
54
 
55
- #: F:\xampp\htdocs\wordpress\wp-content\plugins\wp-smtp/wp_smtp_admin.php:128
56
  msgid "SMTP Authentication"
57
  msgstr "SMTP认证"
58
 
59
- #: F:\xampp\htdocs\wordpress\wp-content\plugins\wp-smtp/wp_smtp_admin.php:144
60
  msgid "Username"
61
  msgstr "认证用户名 (完整邮件地址)"
62
 
63
- #: F:\xampp\htdocs\wordpress\wp-content\plugins\wp-smtp/wp_smtp_admin.php:154
64
  msgid "Password"
65
  msgstr "认证密码"
66
 
67
- #: F:\xampp\htdocs\wordpress\wp-content\plugins\wp-smtp/wp_smtp_admin.php:164
68
  msgid "Delete Options"
69
  msgstr "禁用时自动删除设置"
70
 
71
- #: F:\xampp\htdocs\wordpress\wp-content\plugins\wp-smtp/wp_smtp_admin.php:169
72
  msgid "Delete options while deactivate this plugin."
73
  msgstr "当禁用此插件时自动删除此插件的设置数据."
74
 
75
- #: F:\xampp\htdocs\wordpress\wp-content\plugins\wp-smtp/wp_smtp_admin.php:177
76
  msgid "Save Changes"
77
  msgstr "保存更改"
78
 
79
- #: F:\xampp\htdocs\wordpress\wp-content\plugins\wp-smtp/wp_smtp_admin.php:186
80
  msgid "To:"
81
  msgstr "收件地址:"
82
 
83
- #: F:\xampp\htdocs\wordpress\wp-content\plugins\wp-smtp/wp_smtp_admin.php:196
84
  msgid "Subject:"
85
  msgstr "邮件标题:"
86
 
87
- #: F:\xampp\htdocs\wordpress\wp-content\plugins\wp-smtp/wp_smtp_admin.php:206
88
  msgid "Message:"
89
  msgstr "邮件正文:"
90
 
91
- #: F:\xampp\htdocs\wordpress\wp-content\plugins\wp-smtp/wp_smtp_admin.php:217
92
  msgid "Send Test"
93
  msgstr "发送测试"
94
 
2
  msgstr ""
3
  "Project-Id-Version: WP-SMTP Languages\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2012-11-12 14:25+0800\n"
6
+ "PO-Revision-Date: 2012-11-12 14:53+0800\n"
7
  "Last-Translator: 夜光 <berttung(#)gmail.com>\n"
8
  "Language-Team: 玻璃泉BoLiQuan.COM <berttung(#)gmail.com>\n"
9
  "MIME-Version: 1.0\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:63
20
  msgid "Settings"
21
  msgstr "设置"
22
 
32
  msgid "Something Error!"
33
  msgstr "发生了一些错误!"
34
 
35
+ #: F:\xampp\htdocs\wordpress\wp-content\plugins\wp-smtp/wp_smtp_admin.php:68
36
  msgid "From"
37
  msgstr "发件人地址"
38
 
39
+ #: F:\xampp\htdocs\wordpress\wp-content\plugins\wp-smtp/wp_smtp_admin.php:78
40
  msgid "From Name"
41
  msgstr "发件人昵称"
42
 
43
+ #: F:\xampp\htdocs\wordpress\wp-content\plugins\wp-smtp/wp_smtp_admin.php:88
44
  msgid "Host"
45
  msgstr "SMTP服务器地址"
46
 
47
+ #: F:\xampp\htdocs\wordpress\wp-content\plugins\wp-smtp/wp_smtp_admin.php:98
48
  msgid "SMTP Secure"
49
  msgstr "SMTP加密方式"
50
 
51
+ #: F:\xampp\htdocs\wordpress\wp-content\plugins\wp-smtp/wp_smtp_admin.php:119
52
  msgid "Port"
53
+ msgstr "SMTP端口"
54
 
55
+ #: F:\xampp\htdocs\wordpress\wp-content\plugins\wp-smtp/wp_smtp_admin.php:129
56
  msgid "SMTP Authentication"
57
  msgstr "SMTP认证"
58
 
59
+ #: F:\xampp\htdocs\wordpress\wp-content\plugins\wp-smtp/wp_smtp_admin.php:145
60
  msgid "Username"
61
  msgstr "认证用户名 (完整邮件地址)"
62
 
63
+ #: F:\xampp\htdocs\wordpress\wp-content\plugins\wp-smtp/wp_smtp_admin.php:155
64
  msgid "Password"
65
  msgstr "认证密码"
66
 
67
+ #: F:\xampp\htdocs\wordpress\wp-content\plugins\wp-smtp/wp_smtp_admin.php:165
68
  msgid "Delete Options"
69
  msgstr "禁用时自动删除设置"
70
 
71
+ #: F:\xampp\htdocs\wordpress\wp-content\plugins\wp-smtp/wp_smtp_admin.php:170
72
  msgid "Delete options while deactivate this plugin."
73
  msgstr "当禁用此插件时自动删除此插件的设置数据."
74
 
75
+ #: F:\xampp\htdocs\wordpress\wp-content\plugins\wp-smtp/wp_smtp_admin.php:178
76
  msgid "Save Changes"
77
  msgstr "保存更改"
78
 
79
+ #: F:\xampp\htdocs\wordpress\wp-content\plugins\wp-smtp/wp_smtp_admin.php:187
80
  msgid "To:"
81
  msgstr "收件地址:"
82
 
83
+ #: F:\xampp\htdocs\wordpress\wp-content\plugins\wp-smtp/wp_smtp_admin.php:197
84
  msgid "Subject:"
85
  msgstr "邮件标题:"
86
 
87
+ #: F:\xampp\htdocs\wordpress\wp-content\plugins\wp-smtp/wp_smtp_admin.php:207
88
  msgid "Message:"
89
  msgstr "邮件正文:"
90
 
91
+ #: F:\xampp\htdocs\wordpress\wp-content\plugins\wp-smtp/wp_smtp_admin.php:218
92
  msgid "Send Test"
93
  msgstr "发送测试"
94
 
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,phpmailer,mailer,wp mail,gmail
5
  License: GPLv2
6
  Requires at least: 2.7
7
  Tested up to: 3.4.2
8
- Stable tag: 1.1.2
9
 
10
  WP SMTP can help us to send emails via SMTP instead of the PHP mail() function.
11
 
@@ -13,16 +13,19 @@ 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
 
17
  = Usage =
18
 
19
  1. Download and extract `wp-smtp.zip` to `wp-content/plugins/`
20
  2. Activate the plugin through the 'Plugins' menu in WordPress.
21
  3. "Dashboard"->"Settings"->"WP SMTP"
 
 
22
 
23
  Related Links:
24
 
25
- * <a href="http://boliquan.com/wp-smtp/">WP SMTP</a> | <a href="http://wordpress.org/extend/plugins/wp-smtp/">Download</a>
26
  * <a href="http://boliquan.com/wp-anti-spam/">WP Anti Spam</a> | <a href="http://wordpress.org/extend/plugins/wp-anti-spam/">Download</a>
27
  * <a href="http://boliquan.com/wp-code-highlight/">WP Code Highlight</a> | <a href="http://wordpress.org/extend/plugins/wp-code-highlight/">Download</a>
28
  * <a href="http://boliquan.com/wp-slug-translate/">WP Slug Translate</a> | <a href="http://wordpress.org/extend/plugins/wp-slug-translate/">Download</a>
@@ -38,9 +41,15 @@ Related Links:
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
 
42
  == Changelog ==
43
 
 
 
 
 
44
  = 1.1.2 =
45
 
46
  * First release.
@@ -49,8 +58,9 @@ Related Links:
49
  == Screenshots ==
50
 
51
  1. "Gmail.com" settings
52
- 2. "163.com" settings
53
- 3. "QQ.com" settings
 
54
 
55
 
56
  == 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,mail smtp,ssl,tls
5
  License: GPLv2
6
  Requires at least: 2.7
7
  Tested up to: 3.4.2
8
+ Stable tag: 1.1.3
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.
17
 
18
  = Usage =
19
 
20
  1. Download and extract `wp-smtp.zip` to `wp-content/plugins/`
21
  2. Activate the plugin through the 'Plugins' menu in WordPress.
22
  3. "Dashboard"->"Settings"->"WP SMTP"
23
+ 4. There are some examples on the settings page, you can click the corresponding icon to view.(such as "Gmail""Microsoft""163""QQ")
24
+ 5. For more information of this plugin, please visit: [Plugin Homepage](http://boliquan.com/wp-smtp/ "WP SMTP").
25
 
26
  Related Links:
27
 
28
+ * <a href="http://boliquan.com/wp-smtp/">WP-SMTP (FAQ)</a> | <a href="http://wordpress.org/extend/plugins/wp-smtp/">Download</a>
29
  * <a href="http://boliquan.com/wp-anti-spam/">WP Anti Spam</a> | <a href="http://wordpress.org/extend/plugins/wp-anti-spam/">Download</a>
30
  * <a href="http://boliquan.com/wp-code-highlight/">WP Code Highlight</a> | <a href="http://wordpress.org/extend/plugins/wp-code-highlight/">Download</a>
31
  * <a href="http://boliquan.com/wp-slug-translate/">WP Slug Translate</a> | <a href="http://wordpress.org/extend/plugins/wp-slug-translate/">Download</a>
41
  1. Download and extract `wp-smtp.zip` to `wp-content/plugins/`
42
  2. Activate the plugin through the 'Plugins' menu in WordPress.
43
  3. "Dashboard"->"Settings"->"WP SMTP"
44
+ 4. There are some examples on the settings page, you can click the corresponding icon to view.(such as "Gmail""Microsoft""163""QQ")
45
+ 5. For more information of this plugin, please visit: [Plugin Homepage](http://boliquan.com/wp-smtp/ "WP SMTP").
46
 
47
  == Changelog ==
48
 
49
+ = 1.1.3 =
50
+
51
+ * If "SMTP Authentication" was set to no, the values "Username""Password" are ignored.
52
+
53
  = 1.1.2 =
54
 
55
  * First release.
58
  == Screenshots ==
59
 
60
  1. "Gmail.com" settings
61
+ 2. "Live.com" settings
62
+ 3. "163.com" settings
63
+ 4. "QQ.com" settings
64
 
65
 
66
  == Frequently Asked Questions ==
screenshot-1.png CHANGED
Binary file
screenshot-2.png CHANGED
Binary file
screenshot-3.png CHANGED
Binary file
screenshot-4.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.2
7
  Author: BoLiQuan
8
  Author URI: http://boliquan.com/
9
  Text Domain: WP-SMTP
@@ -32,8 +32,10 @@ function wp_smtp($phpmailer){
32
  $phpmailer->SMTPSecure = $wsOptions["smtpsecure"];
33
  $phpmailer->Port = $wsOptions["port"];
34
  $phpmailer->SMTPAuth = ($wsOptions["smtpauth"]=="yes") ? TRUE : FALSE;
35
- $phpmailer->Username = $wsOptions["username"];
36
- $phpmailer->Password = $wsOptions["password"];
 
 
37
  }
38
  add_action('phpmailer_init','wp_smtp');
39
 
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.3
7
  Author: BoLiQuan
8
  Author URI: http://boliquan.com/
9
  Text Domain: WP-SMTP
32
  $phpmailer->SMTPSecure = $wsOptions["smtpsecure"];
33
  $phpmailer->Port = $wsOptions["port"];
34
  $phpmailer->SMTPAuth = ($wsOptions["smtpauth"]=="yes") ? TRUE : FALSE;
35
+ if($phpmailer->SMTPAuth){
36
+ $phpmailer->Username = $wsOptions["username"];
37
+ $phpmailer->Password = $wsOptions["password"];
38
+ }
39
  }
40
  add_action('phpmailer_init','wp_smtp');
41
 
wp_smtp_admin.php CHANGED
@@ -54,8 +54,9 @@ function wp_smtp_page(){
54
  WP SMTP
55
  <span style="margin-left:10px; vertical-align:middle;">
56
  <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>
57
- <a href="<?php echo plugins_url('screenshot-2.png',__FILE__); ?>" target="_blank"><img src="<?php echo plugins_url('/img/163.png',__FILE__); ?>" alt="163" title="163" /></a>
58
- <a href="<?php echo plugins_url('screenshot-3.png',__FILE__); ?>" target="_blank"><img src="<?php echo plugins_url('/img/qq.png',__FILE__); ?>" alt="QQ" title="QQ" /></a>
 
59
  </span>
60
  </h2>
61
 
@@ -207,7 +208,7 @@ WP SMTP
207
  </th>
208
  <td>
209
  <label>
210
- <textarea type="text" name="wp_smtp_message" value="" cols="40" rows="4"></textarea>
211
  </label>
212
  </td>
213
  </tr>
@@ -238,7 +239,7 @@ If you find my work useful and you want to encourage the development of more fre
238
  <div class="icon32"><img src="<?php echo $blq_logo_url; ?>" alt="BoLiQuan" /></div>
239
  <h2>Related Links</h2>
240
  <ul style="margin:0 18px;">
241
- <li><a href="http://boliquan.com/wp-smtp/" target="_blank">WP-SMTP (FAQ)</a> | <a href="http://wordpress.org/extend/plugins/wp-smtp/" target="_blank">Download</a></li>
242
  <li><a href="http://boliquan.com/wp-anti-spam/" target="_blank">WP Anti Spam</a> | <a href="http://wordpress.org/extend/plugins/wp-anti-spam/" target="_blank">Download</a></li>
243
  <li><a href="http://boliquan.com/wp-code-highlight/" target="_blank">WP Code Highlight</a> | <a href="http://wordpress.org/extend/plugins/wp-code-highlight/" target="_blank">Download</a></li>
244
  <li><a href="http://boliquan.com/wp-slug-translate/" target="_blank">WP Slug Translate</a> | <a href="http://wordpress.org/extend/plugins/wp-slug-translate/" target="_blank">Download</a></li>
54
  WP SMTP
55
  <span style="margin-left:10px; vertical-align:middle;">
56
  <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>
57
+ <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>
58
+ <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>
59
+ <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>
60
  </span>
61
  </h2>
62
 
208
  </th>
209
  <td>
210
  <label>
211
+ <textarea type="text" name="wp_smtp_message" value="" cols="37" rows="3"></textarea>
212
  </label>
213
  </td>
214
  </tr>
239
  <div class="icon32"><img src="<?php echo $blq_logo_url; ?>" alt="BoLiQuan" /></div>
240
  <h2>Related Links</h2>
241
  <ul style="margin:0 18px;">
242
+ <li><a href="http://boliquan.com/wp-smtp/" target="_blank">WP-SMTP (FAQ)</a> | <a href="http://wordpress.org/extend/plugins/wp-smtp/" target="_blank">Usage</a> | <a href="http://wordpress.org/extend/plugins/wp-smtp/" target="_blank">Download</a></li>
243
  <li><a href="http://boliquan.com/wp-anti-spam/" target="_blank">WP Anti Spam</a> | <a href="http://wordpress.org/extend/plugins/wp-anti-spam/" target="_blank">Download</a></li>
244
  <li><a href="http://boliquan.com/wp-code-highlight/" target="_blank">WP Code Highlight</a> | <a href="http://wordpress.org/extend/plugins/wp-code-highlight/" target="_blank">Download</a></li>
245
  <li><a href="http://boliquan.com/wp-slug-translate/" target="_blank">WP Slug Translate</a> | <a href="http://wordpress.org/extend/plugins/wp-slug-translate/" target="_blank">Download</a></li>