Support » Installing WordPress » IIS/PHP5 – Email

  • Resolved Chris_K


    Managed to get just about everything working on a fresh install except email notification. Running IIS 6/win2k3 server. PHP5 and mySql (if that matters) 4.something.

    From what I’ve read and seen, I’m under the impression that by turning email on in the Options -> Discussions area I should get emails when folks comment.

    Alas. I don’t.

    The server is running IIS’s SMTP server and is known to work (my previous blog used it quite reliably and I’ve dumped a fake test file through it to make sure nothing is being blocked). Apparently my issue is with PHP and/or WordPress and frankly, after a few hours of googling I’m not sure where to turn.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator James Huff


    Halfelf Minion 🚀



    Yep. Lots of information in those recursive links. However, didn’t really see much about someone wrassling with IIS/PHP and a confirmed solution.

    I did install the fake sendmail thingy, but as near as I can tell it doesn’t ever seem to get found (no logs).

    Every time I try to send myself my password, WP gives:

    The e-mail could not be sent.
    Possible reason: your host may have disabled the mail() function…

    Here’s some junk from my php.ini that may or may not be of use to someone who’s been down this road:

    [mail function]
    ; For Win32 only.
    SMTP = localhost
    smtp_port = 25

    ; For Win32 only.
    sendmail_from =

    ; For Unix only. You may supply arguments as well (default: “sendmail -t -i”).
    sendmail_path = c:/usr/lib/sendmail.exe -t



    heh – ok, I didn’t see page 2 of the longer thread… /blush

    flipped it to use the provider’s smtp instead of my own local server and suddenly I’m back in business 🙂

    I’m sure I’ll be back once they holler… but for now I’m sending email.

    I just wanted to say thanks for pointing out the obvious with the mail config in php.ini! We just installed a new IIS 6 test server with PHP 5 and upgraded our MYSQL and in the midst of all the fun and games, I forgot the mail server settings! I’ve been chasing this thing around all afternoon!

    Thanks again!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘IIS/PHP5 – Email’ is closed to new replies.