wp-mail-smtp
Last commit date
readme.txt
15 years ago
screenshot-1.png
16 years ago
wp_mail_smtp.php
16 years ago
readme.txt
140 lines
| 1 | === WP Mail SMTP === |
| 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.7 |
| 6 | Tested up to: 3.0.1 |
| 7 | Stable tag: 0.8.6 |
| 8 | |
| 9 | Reconfigures the wp_mail() function to use SMTP instead of mail() and creates an options page to manage the settings. |
| 10 | |
| 11 | == Description == |
| 12 | |
| 13 | This plugin reconfigures the wp_mail() function to use SMTP instead of mail() and creates an options page that allows you to specify various options. |
| 14 | |
| 15 | You can set the following options: |
| 16 | |
| 17 | * Specify the from name and email address for outgoing email. |
| 18 | * Choose to send mail by SMTP or PHP's mail() function. |
| 19 | * Specify an SMTP host (defaults to localhost). |
| 20 | * Specify an SMTP port (defaults to 25). |
| 21 | * Choose SSL / TLS encryption (not the same as STARTTLS). |
| 22 | * Choose to use SMTP authentication or not (defaults to not). |
| 23 | * Specify an SMTP username and password. |
| 24 | |
| 25 | == Installation == |
| 26 | |
| 27 | 1. Download |
| 28 | 2. Upload to your `/wp-contents/plugins/` directory. |
| 29 | 3. Activate the plugin through the 'Plugins' menu in WordPress. |
| 30 | |
| 31 | == Frequently Asked Questions == |
| 32 | |
| 33 | = My plugin still sends mail via the mail() function = |
| 34 | |
| 35 | If other plugins you're using are not coded to use the wp_mail() function but instead call PHP's mail() function directly, they will bypass the settings of this plugin. Normally, you can edit the other plugins and simply replace the `mail(` calls with `wp_mail(` (just adding wp_ in front) and this will work. I've tested this on a couple of plugins and it works, but it may not work on all plugins. |
| 36 | |
| 37 | = Will this plugin work with WordPress versions less than 2.7? = |
| 38 | |
| 39 | No. WordPress 2.7 changed the way options were updated, so the options page will only work on 2.7 or later. |
| 40 | |
| 41 | = Can I use this plugin to send email via Gmail / Google Apps = |
| 42 | |
| 43 | Yes. Use these settings: |
| 44 | Mailer: SMTP |
| 45 | SMTP Host: smtp.gmail.com |
| 46 | SMTP Port: 465 |
| 47 | Encryption: SSL |
| 48 | Authentication: Yes |
| 49 | Username: your full gmail address |
| 50 | Password: your mail password |
| 51 | |
| 52 | = Can you add feature x, y or z to the plugin? = |
| 53 | |
| 54 | Short answer: maybe. |
| 55 | |
| 56 | 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: |
| 57 | <http://www.callum-macdonald.com/code/wp-mail-smtp/> |
| 58 | |
| 59 | == Screenshots == |
| 60 | |
| 61 | 1. Screenshot of the Options > Email panel. |
| 62 | |
| 63 | == Changelog == |
| 64 | |
| 65 | = 0.8.6 = |
| 66 | * The Settings link really does work this time, promise. Apologies for the unnecessary updates. |
| 67 | |
| 68 | = 0.8.5 = |
| 69 | * Bugfix, the settings link on the Plugin page was broken by 0.8.4. |
| 70 | |
| 71 | = 0.8.4 = |
| 72 | * Minor bugfix, remove use of esc_html() to improve backwards compatibility. |
| 73 | * Removed second options page menu props ovidiu. |
| 74 | |
| 75 | = 0.8.3 = |
| 76 | * Bugfix, return WPMS_MAIL_FROM_NAME, props nacin. |
| 77 | * Add Settings link, props Mike Challis http://profiles.wordpress.org/MikeChallis/ |
| 78 | |
| 79 | = 0.8.2 = |
| 80 | * Bugfix, call phpmailer_init_smtp() correctly, props Sinklar. |
| 81 | |
| 82 | = 0.8.1 = |
| 83 | * Internationalisation improvements. |
| 84 | |
| 85 | = 0.8 = |
| 86 | * Added port, SSL/TLS, option whitelisting, validate_email(), and constant options. |
| 87 | |
| 88 | = 0.7 = |
| 89 | * Added checks to only override the default from name / email |
| 90 | |
| 91 | = 0.6 = |
| 92 | * Added additional SMTP debugging output |
| 93 | |
| 94 | = 0.5.2 = |
| 95 | * Fixed a pre 2.3 bug to do with mail from |
| 96 | |
| 97 | = 0.5.1 = |
| 98 | * Added a check to display a warning on versions prior to 2.3 |
| 99 | |
| 100 | = 0.5.0 = |
| 101 | * Upgraded to match 2.3 filters which add a second filter for from name |
| 102 | |
| 103 | = 0.4.2 = |
| 104 | * Fixed a bug in 0.4.1 and added more debugging output |
| 105 | |
| 106 | = 0.4.1 = |
| 107 | * Added $phpmailer->ErroInfo to the test mail output |
| 108 | |
| 109 | = 0.4 = |
| 110 | * Added the test email feature and cleaned up some other bits and pieces |
| 111 | |
| 112 | = 0.3.2 = |
| 113 | * Changed to use register_activation_hook for greater compatability |
| 114 | |
| 115 | = 0.3.1 = |
| 116 | * Added readme for WP-Plugins.org compatability |
| 117 | |
| 118 | = 0.3 = |
| 119 | * Various bugfixes and added From options |
| 120 | |
| 121 | = 0.2 = |
| 122 | * Reworked approach as suggested by westi, added options page |
| 123 | |
| 124 | = 0.1 = |
| 125 | * Initial approach, copying the wp_mail function and replacing it |
| 126 | |
| 127 | == Upgrade Notice == |
| 128 | |
| 129 | = 0.8.6 = |
| 130 | Low priority update. The Settings link was still broken in 0.8.5. |
| 131 | |
| 132 | = 0.8.5 = |
| 133 | Minor bugfix correcting the Settings link bug introduced in 0.8.4. Very low priority update. |
| 134 | |
| 135 | = 0.8.4 = |
| 136 | Minor bugfix for users using constants. Another very low priority upgrade. Apologies for the version creep. |
| 137 | |
| 138 | = 0.8.3 = |
| 139 | Minor bugfix for users using constants. Very low priority upgrade. |
| 140 |