Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: Joazo on August 12, 2010, 01:06:33 AM

Title: Forgot your password doesn't work
Post by: Joazo on August 12, 2010, 01:06:33 AM
I use SMF 2.0 RC3.

I use "Forgot your password" and then click my email. it didn't send a password reset to my email.
I also tried with the username and it doesn't send anything to mail. I tested few mails / few usernames. nothing works.

How to fix?

Thanks.
Title: Re: Forgot your password doesn't work
Post by: Oranos on August 12, 2010, 03:35:13 AM
Did you first check to see if your server even sends out emails at all?
Title: Re: Forgot your password doesn't work
Post by: Joazo on August 12, 2010, 11:51:11 AM
How can I check if my server sends out emails ?
Title: Re: Forgot your password doesn't work
Post by: CapadY on August 12, 2010, 01:10:43 PM
send an PM to yourself, you should receive an email to tell you've received an PM
Title: Re: Forgot your password doesn't work
Post by: Joazo on August 12, 2010, 02:30:57 PM
Ok I have chcked. The forum doesn't send any emails to any members.

How to fix it?

Title: Re: Forgot your password doesn't work
Post by: CapadY on August 12, 2010, 03:02:05 PM
Do you use php-mail or SMTP-mail ?
Title: Re: Forgot your password doesn't work
Post by: Joazo on August 12, 2010, 03:15:00 PM
What the defferent?
Title: Re: Forgot your password doesn't work
Post by: CapadY on August 12, 2010, 04:09:33 PM
php-mail is send via your webhosting provider, SMTP-mail is send via your internet provider or something like gmail.
Title: Re: Forgot your password doesn't work
Post by: Joazo on August 12, 2010, 05:30:09 PM
I use @hotmail.com

is it PHP-mail?
Title: Re: Forgot your password doesn't work
Post by: CapadY on August 12, 2010, 06:09:12 PM
Goto Admin - Maintenance - Mail - Settings and have a look what your forum settings for email are.
Title: Re: Forgot your password doesn't work
Post by: Joazo on August 12, 2010, 06:54:03 PM
The Settings are:

Mail Type - PHP Default
SMTP Server - blank
SMTP Port - 25
SMTP username : my admin in forum
SMTP Password : my admin in forum password


Title: Re: Forgot your password doesn't work
Post by: xenovanis on August 13, 2010, 02:29:14 AM
Remove your username and password from the smtp settings and see if that helps.
Title: Re: Forgot your password doesn't work
Post by: Joazo on August 13, 2010, 12:03:05 PM
If I remove the username and password from the smtp settings, they will be auto written.
Username : Admin Name
Password : *********

It's just auto add it if i remove them.
Title: Re: Forgot your password doesn't work
Post by: xenovanis on August 13, 2010, 12:12:17 PM
It does? Hmm, okay.

In Admin -> Forum Maintenance, are there any errors? If so, please post them back here.
Title: Re: Forgot your password doesn't work
Post by: Joazo on August 13, 2010, 12:38:23 PM
With this settings:
Mail Type - PHP Default
SMTP Server - blank
SMTP Port - 25
SMTP username : my admin in forum
SMTP Password : my admin in forum password

I got this error :
Unable to send mail to the email address '[email protected]'
Title: Re: Forgot your password doesn't work
Post by: xenovanis on August 13, 2010, 12:50:12 PM
I meant in your forum error log. You can find it in Admin -> Forum Maintenance -> Errorlog.  ;)
Title: Re: Forgot your password doesn't work
Post by: Joazo on August 13, 2010, 12:54:08 PM
It's from the error log :

http://img808.imageshack.us/img808/8830/17308118.jpg
Title: Re: Forgot your password doesn't work
Post by: xenovanis on August 13, 2010, 03:14:07 PM
Ah, that doesn't tell much, unfortunately. Can you post a phpinfo? What is phpinfo.php? (http://www.simplemachines.org/community/index.php?topic=18250.0)

Also, you could try changing the mailsettings to smtp and use the login and serverdetails for your hotmailaccount.
Title: Re: Forgot your password doesn't work
Post by: Joazo on August 13, 2010, 05:50:41 PM
1. The phpinfo : http://magicpt.ma.funpic.de/phpinfo.php

2. What I need to put in the SMTP Server , SMTP Port ?
Title: Re: Forgot your password doesn't work
Post by: xenovanis on August 14, 2010, 01:57:11 AM
Quote from: Joazo on August 13, 2010, 05:50:41 PM
1. The phpinfo : http://magicpt.ma.funpic.de/phpinfo.php

You might want to contact your host about having problems with sendmail. Setting smtp is just a workaround.

Quote from: Joazo on August 13, 2010, 05:50:41 PM
2. What I need to put in the SMTP Server , SMTP Port ?

I don't know for a hotmail account. Basically, it's the same settings you'd use for an emailclient like Outlook. There should be some info about these settings when loggin in to hotmail.
Title: Re: Forgot your password doesn't work
Post by: Joazo on August 14, 2010, 10:30:27 AM
I just found out ports 25 and 587 are blocked by my ISP. Quess that was the problem?
Title: Re: Forgot your password doesn't work
Post by: Joazo on August 14, 2010, 05:54:56 PM
Bump
Title: Re: Forgot your password doesn't work
Post by: xenovanis on August 15, 2010, 02:35:51 AM
Contact your host about the sendmail. I don't think there's very much we can do about it.
Title: Re: Forgot your password doesn't work
Post by: CapadY on August 15, 2010, 04:05:40 AM
If you're host blocked the mailfunctionality I think it is time to have a look for another host :s
Title: Re: Forgot your password doesn't work
Post by: Joazo on August 15, 2010, 03:23:12 PM
I just went to other SMF forum and i checked the forgot password function.
i got email from : [email protected]

I need setup a email with noreply or what?
Title: Re: Forgot your password doesn't work
Post by: xenovanis on August 17, 2010, 05:28:17 AM
No, but the webmasters email in Admin -> Configuration -> Server Settings should be a valid one. Can you check that?
Title: Re: Forgot your password doesn't work
Post by: Joazo on August 19, 2010, 05:27:32 AM
it's a vaild one.

That's how i configured my Mail Settings:
Enable Mail Queue - enabled
Maximum emails to send per minute - 0
Maximum amount of emails to send per page load - 0
Mail Type - SMTP
SMTP Server - smtp.live.com
SMTP Port - 25
SMTP Username - my hotmail username
SMTP Password -  my hotmail password

Is it right?
Anyway it doesn't work still. I don't have an idea what to do






Title: Re: Forgot your password doesn't work
Post by: xenovanis on August 19, 2010, 02:31:22 PM
I'm not sure. You might want to try port 587 then. You don't have another emailaccount to try?
Title: Re: Forgot your password doesn't work
Post by: Joazo on August 20, 2010, 12:03:21 AM
Port 587 doesn't work as well.

I will try other accounts and update here
Title: Re: Forgot your password doesn't work
Post by: Joazo on August 21, 2010, 03:33:44 AM
Other accounts dont work too. I tested many options and nothing seems to work. what to do?

also can some1 with SMF forum show me his mail settings?
Title: Re: Forgot your password doesn't work
Post by: Joazo on August 22, 2010, 06:36:32 AM
Anyone?
Title: Re: Forgot your password doesn't work
Post by: Joazo on August 24, 2010, 03:26:28 AM
Bump
Title: Re: Forgot your password doesn't work
Post by: Kill Em All on August 26, 2010, 11:54:43 PM
Your ISP(internet service provider) is blocking the ports, or your webhost is? If your webhost is, have you tried asking them to unblock them? If so and they refuse to unblock them, then I would suggest switching webhosts.

You can find webhost reviews here:
http://www.simplemachines.org/community/index.php?board=4.0
Title: Re: Forgot your password doesn't work
Post by: Joazo on August 27, 2010, 03:32:16 AM
I have talked with the webhost and they told us that SMTP won't work but PHP will work.
We setted the mail settings under PHP Default.
The change now is we don't see errors about mail sending in the error log, But still the mail aren't sending.
The wierd thing is: when we configure the password in the mail settings, it doesn't save it. Maybe it's a bug of SMF 2.0 RC3.
So maybe because of this bug the mail sending doesn't work.

Title: Re: Forgot your password doesn't work
Post by: Kill Em All on August 27, 2010, 04:20:58 AM
What kind of email are you using with the PHP? Your @hotmail.com won't work, it has to be at yourdomain.com to work.
Title: Re: Forgot your password doesn't work
Post by: Joazo on August 27, 2010, 07:49:45 AM
I tried hotmail.com and live.com.
We don't have domain mail yet
Title: Re: Forgot your password doesn't work
Post by: xenovanis on August 27, 2010, 03:52:38 PM
Can't you use the mailaddress provided by your isp?
Title: Re: Forgot your password doesn't work
Post by: oOo--STAR--oOo on August 27, 2010, 05:39:13 PM
Do you not have webmail with your host??
This is the email address you should be using
EG [email protected]
Title: Re: Forgot your password doesn't work
Post by: Joazo on August 28, 2010, 03:19:51 AM
We used till now only hotmail.com and live.com and both of them dont work.
Our webhost didn't provide us a mail.
That is the reason why the mail system didn't work?
Title: Re: Forgot your password doesn't work
Post by: Kill Em All on August 28, 2010, 11:08:26 PM
Yep, with those type, you have to use SMTP settings. If your host provides you one, then you should be able to just use PHP.