Forums

[resolved] Lost your password - doesn't work well (10 posts)

  1. carlla
    Member
    Posted 2 years ago #

    After upgrate from 2.7 to 2.8.4 the "Lost password" don't work anymore. I put my email and click in "Get new password", and this message show up:

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

    The mail function is ok, I am using it in Contact page to test. I tested "Lost password" before the upgrade and it worked well.

    The registration doesn't sent email too. it doesn't show that message but I don't receive the email with the password.

    any suggestion?

  2. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

  3. Shane G
    Member
    Posted 2 years ago #

    Hi,

    It may be possible the your Hosting server requires SMTP Authentication for the email. Hence, you can check with these plugins:

    http://wordpress.org/extend/plugins/wp-mail-smtp/
    http://wordpress.org/extend/plugins/wp-email/
    http://wordpress.org/extend/plugins/email-users/

    Thanks,

    Shane G.

  4. carlla
    Member
    Posted 2 years ago #

    thanks guys for your help....

    I was trying tho follow these tips... but it doesn't fix my problem...

    Ok, there are two wordpress instalation.. they are the my oficial portal and the development copy (the 'dev') where I used to make changes before to update the portal. They was wp 2.7 but I wanted to update to 2.8.4, then I update files in dev, following steps in http://codex.wordpress.org/Installing_WordPress.

    So, I was testing register new user.. it showed a message to check my email box, but I not receive the message (I tried use more email accounts). I also tested the 'lost password' and it showed that message.

    I guess it is not a problem with my host because it was working before the upgrade, and it IS working now in portal (wp 2.7), then the plugins couldn't help me because they worked well in portal and not in dev.

    I was thinking if wp changed only the files when I did the upgrade. Perhaps wp make changes in other configs when run the new files.. or the error can be a conflict with some info in database ...

    any ideia?

  5. thatruth2006
    Member
    Posted 2 years ago #

    what host are you using?

  6. carlla
    Member
    Posted 2 years ago #

    anyone?

  7. carlla
    Member
    Posted 2 years ago #

    thatruth2006: I am using Dreamhost to both, dev and portal. They are in same host.

  8. carlla
    Member
    Posted 2 years ago #

    I used the phpinfo and get this:

    dev:
    sendmail_path -t -i -t -i
    Path to sendmail -t -i

    portal:
    sendmail_path /usr/sbin/sendmail -t -i /usr/sbin/sendmail -t -i
    Path to sendmail /usr/sbin/sendmail -t -i

    Could it be the problem's reason? I don't understand this parameters very well. Can I change it in php.ini without have other problems?

  9. carlla
    Member
    Posted 2 years ago #

    well, it fix my problem =D

    I found out this line in php.ini

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

    and changed to: ( removing the initial ';' too )

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

    ok, thank guys =D now the register/lost password is working well..

    but I don't understand yet.. how could this line was changed itself? =z

  10. carlla
    Member
    Posted 2 years ago #

    yes! It happened again...
    I have finished the custom things I was doing in dev and sent the changes to portal (just the upgrade recomendation and few files from theme path). Then, portal wasn't senting emails... so I went to php.ini and found out the sendmail_path was without any value. So I changed it to sendmail_path = /usr/sbin/sendmail -t -i and the email function worked well again. The upgrade to 2.8.4 changed it. Why?

Topic Closed

This topic has been closed to new replies.

About this Topic