WP Mail SMTP by WPForms - Version 0.5.1

Version Description

Download this release

Release Info

Developer chmac
Plugin Icon 128x128 WP Mail SMTP by WPForms
Version 0.5.1
Comparing to
See all releases

Code changes from version 0.5.0 to 0.5.1

Files changed (2) hide show
  1. readme.txt +4 -6
  2. wp_mail_smtp.php +3 -2
readme.txt CHANGED
@@ -2,9 +2,9 @@
2
Contributors: chmac
3
Donate link: http://www.callum-macdonald.com/code/donate/
4
Tags: mail, smtp, wp_mail, mailer, phpmailer
5
- Requires at least: 2.3
6
Tested up to: 2.3
7
- Stable tag: 0.5
8
9
Reconfigures the wp_mail() function to use SMTP instead of mail() and creates an options page to manage host, username, password, etc.
10
@@ -45,11 +45,9 @@ Short answer: maybe.
45
By all means please contact me to discuss features or options you'd like to see added to the plugin. I can't guarantee to add all of them, but I will consider all sensible requests. I can be contacted here:
46
<http://www.callum-macdonald.com/contact/>
47
48
- = Will this plugin work with WordPress version < 2.3? =
49
50
- Short answer: no.
51
-
52
- WordPress version 2.3 introduced two new filters for mail_from and mail_from_name, which allow you to set the two variables separately. Previously, both were set in one filter. From version 0.5 this change was introduced, so the plugin will not work with versions prevoius to 2.3. However, you could use version 4.2 of this plugin instead, that should work with earlier versions of WordPress.
53
54
== Screenshots ==
55
2
Contributors: chmac
3
Donate link: http://www.callum-macdonald.com/code/donate/
4
Tags: mail, smtp, wp_mail, mailer, phpmailer
5
+ Requires at least: 2.0
6
Tested up to: 2.3
7
+ Stable tag: 0.5.1
8
9
Reconfigures the wp_mail() function to use SMTP instead of mail() and creates an options page to manage host, username, password, etc.
10
45
By all means please contact me to discuss features or options you'd like to see added to the plugin. I can't guarantee to add all of them, but I will consider all sensible requests. I can be contacted here:
46
<http://www.callum-macdonald.com/contact/>
47
48
+ = Will this plugin work with WordPress versions less than 2.3? =
49
50
+ Yes. On versions of WordPress prior to 2.3, ignore the From Name field, and instead enter both the name and email in the From Email field, in the form Name&lt;email@domain.com&gt;.
51
52
== Screenshots ==
53
wp_mail_smtp.php CHANGED
@@ -1,7 +1,7 @@
1
<?php
2
/*
3
Plugin Name: WP-Mail-SMTP
4
- Version: 0.5.0
5
Plugin URI: http://www.callum-macdonald.com/code/wp-mail-smtp/
6
Description: Reconfigures the wp_mail() function to use SMTP instead of mail() and creates an options page to manage host, username, password, etc.
7
Author: Callum Macdonald
@@ -22,6 +22,7 @@ Author URI: http://www.callum-macdonald.com/
22
*
23
* CHANGELOG
24
*
25
* 0.5.0 - Upgraded to match 2.3 filters which add a second filter for from name
26
* 0.4.2 - Fixed a bug in 0.4.1 and added more debugging output
27
* 0.4.1 - Added $phpmailer->ErroInfo to the test mail output
@@ -145,7 +146,7 @@ if (!function_exists('wp_mail_smtp_options_page')) {
145
<tr valign="top">
146
<th scope="row"><?php _e('From Email:'); ?> </th>
147
<td><p><input name="mail_from" type="text" id="mail_from" value="<?php print(get_option('mail_from')); ?>" size="40" class="code" /><br />
148
- <?php _e('You can specify the email address that emails should be sent from. If you leave this blank, the admin email will be used.'); ?></p></td>
149
</tr>
150
<tr valign="top">
151
<th scope="row"><?php _e('From Name:'); ?> </th>
1
<?php
2
/*
3
Plugin Name: WP-Mail-SMTP
4
+ Version: 0.5.1
5
Plugin URI: http://www.callum-macdonald.com/code/wp-mail-smtp/
6
Description: Reconfigures the wp_mail() function to use SMTP instead of mail() and creates an options page to manage host, username, password, etc.
7
Author: Callum Macdonald
22
*
23
* CHANGELOG
24
*
25
+ * 0.5.1 - Added a check to display a warning on versions prior to 2.3
26
* 0.5.0 - Upgraded to match 2.3 filters which add a second filter for from name
27
* 0.4.2 - Fixed a bug in 0.4.1 and added more debugging output
28
* 0.4.1 - Added $phpmailer->ErroInfo to the test mail output
146
<tr valign="top">
147
<th scope="row"><?php _e('From Email:'); ?> </th>
148
<td><p><input name="mail_from" type="text" id="mail_from" value="<?php print(get_option('mail_from')); ?>" size="40" class="code" /><br />
149
+ <?php _e('You can specify the email address that emails should be sent from. If you leave this blank, the admin email will be used.'); if(get_option('db_version') < 6124) { print('<br /><span style="color: red;">'); _e('<strong>Please Note:</strong> You appear to be using a version of WordPress prior to 2.3. Please ignore the From Name field and instead enter Name&lt;email@domain.com&gt; in this field.'); print('</span>'); } ?></p></td>
150
</tr>
151
<tr valign="top">
152
<th scope="row"><?php _e('From Name:'); ?> </th>