[resolved] IIS/PHP5 - Email (5 posts)

  1. Chris_K
    Posted 10 years ago #

    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.

  2. James Huff
    Support Representative
    Posted 10 years ago #

  3. Chris_K
    Posted 10 years ago #

    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 = myreal@obfuscated.com

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

  4. Chris_K
    Posted 10 years ago #

    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.

  5. mindyk
    Posted 9 years ago #

    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!

Topic Closed

This topic has been closed to new replies.

About this Topic