I just completed 14 Days of WordPress Plugins + 7 Bonus Plugins!

Configure SMTP

Author:Scott Reilly
Version:2.0
Last update:13 April 2008
Compatibility:WP 2.2+, 2.3+ and 2.5+
Comments:go here
Download:[ zip ]
Description:

Configure and activate SMTP mailing in WordPress.

Extended Description

This plugin is the renamed, rewritten, and updated version of my wpPHPMailer plugin.

Use this plugin to send email via SMTP instead of sendmail. It allows you to configure the SMTP host and port. You can enable SMTPAuth support, in which case you must provide an SMTP username and password.

Regardless of whether SMTP is enabled, the plugin provides you the ability to define the name and email of the ‘From:’ field for all outgoing e-mails.

A simple test button is also available that allows you to send a test e-mail to yourself to check if sending e-mail has been properly configured for your blog. The e-mail is to the e-mail address associated with the user account of the user running the test. The e-mail message contains a timestamp which is reported to you when the test e-mail is sent, so you can identify what settings configuration you used to send that message.

Screenshot

A screenshot of the post’s admin options page.

screenshot 1


Installation

  1. Download the file configure-smtp.zip and unzip it into your wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ admin menu in WordPress.
  3. Go to the Options → SMTP (or in WP 2.5: Settings → SMTP) admin options page. Optionally customize the options (namely to activate SMTP mailing in the first place, and to configure it if the defaults aren’t valid for your situation).
  4. (optional) Use the built-in test to see if your blog can properly send out e-mails.

Frequently Asked Questions

  • Q: I am already able to receive e-mail sent by my blog, so would I have any use or need for this plugin?

    A: Most likely, no. Not unless you have a preference for having your mail sent out via an SMTP server.

  • Q: How do I find out my SMTP host, and/or if I need to use SMTPAuth and what my username and password for that are?

    A: Check out the settings for your local e-mail program. More than likely that is configured to use an outgoing SMTP server. Otherwise, contact your host or someone more intimately knowledgeable about your situation.

  • Q: I’ve sent out a few test e-mails using the test button after having tried different values for some of the settings; how do I know which one worked?

    A: If your settings worked, you should receive the test e-mail at e-mail address associated with your WordPress blog user account. That e-mail contains a timestamp which was reported to you by the plugin when the e-mail was sent. If you are trying out various setting values, be sure to record what your settings were and what the timestamp was when sending with those settings.


Release Log


Copyright & Disclaimer

Copyright © 2004-2008 by Scott Reilly (aka coffee2code)

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.


Acknowledgements

Thanks to all those who have contributed feedback and support!