Forgot password email

All about webserver configurations, PHP and databases.

Moderator: Thorsten

Post Reply
powerburner
Posts: 13
Joined: Fri Apr 06, 2012 1:53 pm

Forgot password email

Post by powerburner »

Hi,

The forgot password function does not work. Since it goes via email, do you need to configure a mailserver somewhere?
I couldn't find anything about that in the manual.
Thanks in advance!

Greetings Peter
Thorsten
Posts: 15560
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Forgot password email

Post by Thorsten »

Hi,

did you entered a valid administrator e-mail?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
powerburner
Posts: 13
Joined: Fri Apr 06, 2012 1:53 pm

Re: Forgot password email

Post by powerburner »

Yes I did. I tried several addresses in fact, but it didn't work for some reason.
Do I need to change something in the configuration or a setting in a file somewhere?

Kind regards,

Peter
Thorsten
Posts: 15560
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Forgot password email

Post by Thorsten »

Hi,

this should work because we only use a wrapper around the native PHP mail() function. Do you see any errors from your mailserver's log?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
powerburner
Posts: 13
Joined: Fri Apr 06, 2012 1:53 pm

Re: Forgot password email

Post by powerburner »

Do you mean mail.php in the inc folder?
Thorsten
Posts: 15560
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Forgot password email

Post by Thorsten »

Hi,

no, you should have a mailserver to send e-mails and this server should have a log. I need the information what's happening in your mailserver.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
powerburner
Posts: 13
Joined: Fri Apr 06, 2012 1:53 pm

Re: Forgot password email

Post by powerburner »

Good news, I got it to work! It was my own fault. Thanks to your remark about the native PHP mail function being used.
I remembered yesterday during another WAMP setup that I didn't input my mailserver details in this setup.
I looked in C:\xampp\php\php.ini, found the following and changed it to my own mailserver address:

[mail function]
; For Win32 only.
; http://php.net/smtp
SMTP = localhost
; http://php.net/smtp-port
smtp_port = 25

So maybe this helps other users with email problems. But thanks for your effort to help solve this Thorsten.

Kind Regards,

Peter
Last edited by powerburner on Wed Apr 11, 2012 9:48 am, edited 1 time in total.
Thorsten
Posts: 15560
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Forgot password email

Post by Thorsten »

Hi,

thanks for the feedback!

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Post Reply