YAFLogo

kmann
  • kmann
  • 50.2% (Neutral)
  • YAF Forumling Topic Starter
12 years ago
Have the forum installed and working, minus a few items related to email. Right now, the item in question is the password recovery. Enter user, correctly answer the security question and it says the email is sent. The problem is, it isn't. No record of the email getting sent exists in our smtp server. We've checked and double checked the config. Through a couple debug prints in the code and find that PasswordRecovery1_SendMailError is being called, and PasswordRecovery1_SendingMail never is. Can anyone tell me what I might be doing wrong from a setup standpoint?

Thanks.

Sponsor
squirrel
12 years ago
Do any YAF mail function work? Registration emails? anything? Also YAF Version needed anytime to help locate problem.
If you can't find it using the forum search, try my signature link -- searches this site using Google: Google is my Friend 
kmann
  • kmann
  • 50.2% (Neutral)
  • YAF Forumling Topic Starter
12 years ago
v1.9.6.1

It actually doesn't seem like any email is working. I've verified the mail config settings, and they are correct. (I use the same config settings for another app, and that one works.)

I've thrown debugging information into each part of the email process, and the email functions never seem to actually get called.

Huma
  • Huma
  • 50.2% (Neutral)
  • YAF Forumling
11 years ago
Hi,

I am facing the same problem, have anyone found the solution yet?

hanadolls
11 years ago
Hi,

Any news on this? We have the same issue in YAF 1.9.6.1.

Thanks

tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 4.0.1 BETA
11 years ago

Hi,

Any news on this? We have the same issue in YAF 1.9.6.1.

Thanks

Originally Posted by: hanadolls 

Well you could try the YAF 2.0 RC 1, all errors during email sending should be logged now, but i'm not sure if the email problems are fully resolved.

shide
  • shide
  • 80.6% (Honored)
  • YAF Lover
10 years ago
doesn't work for us either.

i've tried on my own email adress and it says "password recovery failed"......

we're running yaf 2.0.1

looks like the "PasswordRecovery1_VerifyingUser" method is called, but then that's all.

is there something to enable in the membership provider like "passwordrecovery=true" ?

shide
  • shide
  • 80.6% (Honored)
  • YAF Lover
10 years ago
solution found for me :

add in the web.config/system.web/membership/providers, make sure you have

enablePasswordReset="true" enablePasswordRetrieval="false" requiresQuestionAndAnswer="false" 

http://stackoverflow.com/questions/1662133/password-recovery-tool-in-c-sharp-not-working