Networknet.nl Blog
Stay Connected
Stay Connected
Recently I installed and configured a Wordpress appliance. The vm was running in a intranet environment and we had only single SMTP server which allowed to relay into the Exchange organization.
The vm appliance was download and it had a admin option to configure the SMTP relay server. I configured correct IP address of the SMTP server but when I posted comment or any other action where Wordpress needed to send out an email it took 30-60 seconds before the action was finished. After waiting for some minutes I also did not receive any email from the system.
Before troubleshooting and spending whole day in finding the root cause I found some posts how to change Wordpress default behavior for email notifications. The vm has all LAMP roles and Wordpress version 2.7 is running.
How to change Wordpress to use SMTP server?

I used WinSCP to connect with SSH and change the files. Again posted some comments and received the admin notifications in my Inbox.
March 4, 2009 - 7:32 pm
Hi.
Thanks for this tutorial. I need help with it.
Could you be more specific as to what I have to change for WP notification to go through in class-phpmailer?
Also, my cforms plugins isn’t working. The messages sent with the cforms don’t go through.
You can see this form at blackberryrocks.com/contact.
Would you be able to help? Thanks!
March 4, 2009 - 7:36 pm
I’m using WP 2.7.1 on a virtual dedicated server, just in case.
May 11, 2009 - 10:26 am
That
July 23, 2009 - 1:25 pm
this worked perfectly! Now I get comments!
August 5, 2009 - 6:26 am
I tried this sugguest and it everything I added a post or added a new user I got a white screen. I had to revert back. I’m using 2.8.2 I’m not sure what else I can do to recieve emails when someone post a comment this was working before I updated. Any?
September 28, 2009 - 2:37 am
A WP plug-in exists that does this without having to hack php pages.
Try this:
http://wordpress.org/extend/plugins/wp-mail-smtp/
December 8, 2009 - 8:20 pm
I’ve tried this, alas no success. I’m on WP 2.8.6, so who knows. I’ve tried various contact form plugins and such, and I give up. The easiest thing to do seems to create a “Contact” page and just stick in an email link like this:
E-mail Me!
Works just fine everytime, and all the rest of this stuff is way too confusing.