Open Closed

Sending email in Task.Delay() error #10817

0 created

What is your product version? 11 What is your product type (Angular or MVC)? Anulgar What is product framework type (.net framework or .net core)? .net core

Getting error while calling Email.SendPasswordResetLinkAsync() in a thread. When i call first time, it executed with no error. When i execute second time it give error await Task.Delay(new TimeSpan(0, 0, 10)).ContinueWith(async start => {     await _userEmailer.SendPasswordResetLinkAsync(user,link); // here it is working fine   await _userEmailer.SendPasswordResetLinkAsync(user,link); // here i get error });

1 Answer(s)
  • 0
    ismcagdas created
    Support Team


    Could you open your server side log file and share the full stack trace with us ? You can find the log file under *.Host/App_Data/Logs folder.