wp-mail-smtp
Last commit date
readme.txt
18 years ago
screenshot-1.png
18 years ago
wp_mail_smtp.php
18 years ago
readme.txt
56 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.0 |
| 6 | Tested up to: 2.3 |
| 7 | Stable tag: 0.4.2 |
| 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 | |
| 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 | * Specify the from name and email address for outgoing email. |
| 17 | * Choose to send mail by SMTP or PHP's mail() function. |
| 18 | * Specify an SMTP host (defaults to localhost). |
| 19 | * Choose to use SMTP authentication or not (defaults to not). |
| 20 | * Specify an SMTP username and password. |
| 21 | |
| 22 | == Installation == |
| 23 | |
| 24 | 1. Download the wp_mail_smtp.php file. |
| 25 | 2. Upload the file to your `/wp-contents/plugins/` directory. |
| 26 | 3. Activate the plugin through the 'Plugins' menu in WordPress. |
| 27 | |
| 28 | == Frequently Asked Questions == |
| 29 | |
| 30 | = My plugin still sends mail via the mail() function = |
| 31 | |
| 32 | 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. |
| 33 | |
| 34 | = Can I specify an SMTP port number / other setting? = |
| 35 | |
| 36 | The simple answer is no. |
| 37 | |
| 38 | However, you're welcome to edit the code of this plugin and add your options directly to the code. See the wp_mail_smtp.php file at line 88. For more information on the options you can add, see the PHP Mailer documentation here: |
| 39 | <http://phpmailer.sourceforge.net/docs/> |
| 40 | |
| 41 | = Can you add feature x, y or z to the plugin? = |
| 42 | |
| 43 | Short answer: maybe. |
| 44 | |
| 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 | == Screenshots == |
| 49 | |
| 50 | 1. Screenshot of the Options > Email panel. |
| 51 | |
| 52 | == Support Questions == |
| 53 | |
| 54 | If you have support questions not covered in this readme, you can contact me here: |
| 55 | <http://www.callum-macdonald.com/contact/> |
| 56 |