30 Dec 2009 @ 10:13 PM 
 

SMTP is up and running

 

Ok, so I finally got the email issues worked out and figured I’d share the info with others who might be interested. By default, the installation had mail turned off. From what I read, SMTP/Sendmail needs to be running to get this to work and that may be a bit more than some more security conscious folks can stomach. I however, can.

In the wp-includes folder of your installation, you’ll need to edit:

  • pluggable.php
  • class-phpmailer.php

Find this line in pluggable.php $phpmailer->isMail();and modify it so it reads $phpmailer->isSMTP();

Next open up class-phpmailer.php and set the hostname and other credentials:

var $Host        = "YOUR_HOSTMANE";
var $SMTPAuth     = true;
var $Username     = "YOUR_USERNAME";
var $Password     = "PASSWORD";

Upload to your server’s wp-includes folder and all should be good.  That is, provided you have SendMail running and you have your credentials handy. For the record, I didn’t figure this out myself. Giving credit where credit is due, I got everything here and he deserves all the credit.  If you want to use a different approach, you can look through the zillions of WordPress SMTP Plugins.

[tags] WordPress, SMTP, Sendmail [/tags]

Tags Tags:
Categories: Wordpress
Posted By: Roubot
Last Edit: 30 Dec 2009 @ 10 13 PM

E-mailPermalink
 

Responses to this post » (None)

 


Comments are open. Feel free to leave a comment below.


 

Leave A Comment ...

 


You must be logged in to post a comment.


 XHTML:
You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>
\/ More Options ...
Change Theme...
  • Users » 110
  • Posts/Pages » 227
  • Comments » 71
Change Theme...
  • VoidVoid
  • LifeLife « Default
  • EarthEarth
  • WindWind
  • WaterWater
  • FireFire
  • LiteLight
  • No Child Pages.
  • No Child Pages.
  • No Child Pages.
  • No Child Pages.
  • No Child Pages.