WordPress on my home server
I am running a WordPress blog out of my house on my own server. Everything has been great, but I have to use an SMTP plugin for email notifications and such.
My question is…what is required to use the default PHP email notifications built in to WordPress? I’d rather not depend on a plugin for something so simple.
Hmm, I’m wondering this aswell(well was planning on using a plugin) but yeah, I also run a home server, and am getting my domain on Monday, and I’d be nice to be able to use the built in functions to send messages, one less thing to go wrong when it updates.
what is required to use the default PHP email notifications built in to WordPress?
WordPress seems to be happy to send your mail “right out of the box” so to speak. If you are using a “Windows” box for your server (and I am assuming you may have it running on a desktop OS such as XP ), you can take a look in php.ini. There should be a section very similar to this:
; For Win32 only.
SMTP = localhost
smtp_port = 25
; For Win32 only.
;sendmail_from = me[at]example[dot]com
If you substitute your smtp server and e-mail information (the info your isp gave you for your e-mail account), I think php will probably send your mail. Uncomment the “;sendmail_from” line after you enter your info.
Most ISP’s will not allow you to relay mail on port 25 from a residential ip address, so if you have a “Nix” box, sendmail may still fail -as well as SMTP services on an IIS installation.
The solution is to get yourself a G-mail account and use a plugin like Shift This, or Cimy Swift, that allows you to use the G-Mail smtp server for your account. Both work. Or just get a hosted domain and let them worry about the mail. 🙂
A word of warning if using either of the above mentioned plugins on a linux server with SeLinux turned on. You have to add a Boolean ( I think that’s the right term), to the selinux context that will allow httpd scripts and modules to connect to the network in order for the mailer to succeed.
Holy cow.. looking at this I realize that it’s probably way more than you wanted, and hasn’t got much to do with WordPress, but maybe something will be useful.
Best of luck.
I’m running a linux box so I’m assuming my solution is to set up a mail server? If that’s the case, I’ll settle for the smtp plugin that I’ve been using. I was just curious as to what was required for WordPress’ out of the box php mailer.
Thanks for your help.
That was my solution for the linux server I use at home. I use the cimy-swift plugin with a G-mail account, and so far it has worked great.
I quess I didn’t really care for the idea of using my isp provided mail account server and login information with the plugin. Simple solution too.
My linux sendmail server works fine, but it would get bounced by my home isp due to relay restrictions. The plugin was the best solution for my situation as well.
Good luck to you!
I suppose I’ll stick with the SMTP plugin then. Thanks everyone for your help!
I am trying lots of plugins , but all failed.
win2000 server + iis + wp2.5
I use iis , some still notice me that I dont have mail() function, but actrually SMTP dont need mail().
Generally speaking, all that is required is for you to configure your installation of PHP correctly. You don’t need a mail server, you just need to get the right settings into PHP.INI. It’s easy enough to do, usually.
Read this if you’re using a ‘nix box:
Making it work on Windows is easier, as you don’t need to have sendmail installed, just put the correct settings in the INI file.
magicmailer10 is working ,but only some stmp can work, gmail still doesn’t work .
I have been trying to figure this out as well. I also read that IIS has an SMTP queue builtin and you don’t necessarily need a full SMTP server running on your Windows IIS server to send mail. I enabled the SMTP component in ISS, But I have not been able to get any email notifications still. I have tried all the plugins as well.
I tried alternative mailer and I got a response back from the plugin creator that said I had to read the documentation for Swift. Yet his documentation doesn’t say anything about having to have Swift installed to use his plugin. I haven’t been to happy with some of the plugin support for WordPress. Many of the plugins are not very well documented and it seems to be hard to get help for any of them.
I just want to be able to get the administrative emails out of WordPress. I don’t want to receive email on my server.
- The topic ‘WordPress on my home server’ is closed to new replies.