The MU forums have moved to WordPress.org

First login, email not sent! (11 posts)

  1. alespinola
    Member
    Posted 16 years ago #

    Hi guys.
    Here is my problem: I've installed Wordpress Mu on a Windows Server Enterprise 2007 with IIS 7 and PHP 5.2.10.
    I can reach the login page of my installation but I don't have admin credentials. They are supposed to be sent by email. The problem is that when I use the "forgot yout password?" option to get that email, I get this message:

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

    I've been looking for a solution for several hours but nothing seems to work.
    I don't have a SMTP server on the same box, but I have an Exchange Server on the local network that I can point to. I have been playing around with the email section of php.ini but nothing changes, always the same message.
    Right now php.ini looks like this (I'm using exchange server ip, I also tried the domain name):
    [mail function]
    ; For Win32 only.
    ; http://php.net/smtp
    SMTP = 192.168.0.10
    ; http://php.net/smtp-port
    smtp_port = 25

    ; For Win32 only.
    ; http://php.net/sendmail-from
    ;sendmail_from = me@example.com

    Any ideas? I really need to solve this asap :( I would appreciate any help on this!

  2. alespinola
    Member
    Posted 16 years ago #

    No ideas guys?
    Some new information... I noticed that if I put 'anything' in the "php.ini SMTP =" line, it is exactly the same.... like the system wasn't working at all, or was disabled by a flag somewhere else.. (which makes sense given the message in the web browser).

  3. alespinola
    Member
    Posted 16 years ago #

    SOLVED!
    It was a problem with the php.ini, it wasn't reloading the changes!

  4. SteveAtty
    Member
    Posted 16 years ago #

    You have to restart apache after you change the php,ini file. I hadn't suggested that because I'd sort of assumed you knew.

  5. zanfardinom
    Member
    Posted 16 years ago #

    alespinola,

    So, what exactly did you do? I've made changes to the php.ini file and restarted apache. no go!

    mz

  6. alespinola
    Member
    Posted 16 years ago #

    Hi zanfardinom.
    I just uncommented and completed all the fields in [mail function], including "sendmail_from", restarted IIS and that's it!

  7. zanfardinom
    Member
    Posted 16 years ago #

    Thanks, alespinola.

    I have done the same thing, but still not working. It never sends out an email when you register. Also, I tired the forget your password field and got the same error you did.

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

    Our IT team has added the WPMU server to the list for exchange...anything else they need to do. Do I need to enable the mail() function on the WPMU server. I am using Windows Server 2003 with PHP, MySQL and Apache installed. I have IIS disabled.

    mz

  8. alespinola
    Member
    Posted 16 years ago #

    Be sure that you can reach the exchange mail server from your wordpress box and the ip is ok. I'm not using the ip however, but the domain name of the mail box.
    In my case, the php.ini wasn't refreshing the changes... I had to move the file to another location and then put it back and restart IIS.
    I know it sounds like magic, but something started working and the problem was fixed after that. Maybe it was something else... Be sure that changes in your php.ini are being refreshed properly.

  9. zanfardinom
    Member
    Posted 16 years ago #

    Thanks, alespinola!

    How is your setup. Are you using IIS or Apache? Also, do you have a mail server installed?

    mz

  10. alespinola
    Member
    Posted 16 years ago #

    Wordpress is running in a Windows Server 2008 with IIS 7.
    We've Microsoft Exchange Server in our local network.

  11. zanfardinom
    Member
    Posted 16 years ago #

    Thanks, alespinola!

    So, do I need to do anything different when using Apache and not IIS?

    mz

About this Topic

  • Started 16 years ago by alespinola
  • Latest reply from zanfardinom