kmann
  •  kmann
  • 50.2% (Neutral)
  • YAF Forumling Topic Starter
2013-02-01T17:37:11Z
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
2013-02-04T08:47:18Z
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
2013-02-04T18:59:36Z
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
2013-05-25T16:50:57Z
Hi,

I am facing the same problem, have anyone found the solution yet?
hanadolls
2013-10-15T11:22:50Z
Hi,

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

Thanks
tha_watcha
2013-10-15T13:04:17Z
Originally Posted by: hanadolls 

Hi,

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

Thanks



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.
UserPostedImage
shide
  •  shide
  • 80.6% (Honored)
  • YAF Lover
2014-06-16T10:18:34Z
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
2014-06-16T10:26:49Z
solution found for me :

add in the web.config/system.web/membership/providers, make sure you have
enablePasswordReset="true" enablePasswordRetrieval="false" requiresQuestionAndAnswer="false" 


inside

        <add name="YafMembershipProvider" applicationName="YetAnotherForum" connectionStringName="yafnet" 
             requiresUniqueEmail="true" useSalt="true" type="YAF.Providers.Membership.YafMembershipProvider"
             enablePasswordReset="true" enablePasswordRetrieval="false" requiresQuestionAndAnswer="false"/>

source : http://stackoverflow.com...l-in-c-sharp-not-working 

About Us

The YAF.NET is an open source .NET forum project. YAF.NET is supported by an team of international developers who are build community by building community software.

Powered by Resharper Donate with PayPal button

Project Twitter Updates

Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved