diff --git a/Project-Unite/App_Start/IdentityConfig.cs b/Project-Unite/App_Start/IdentityConfig.cs index 11f3b31..db5889a 100644 --- a/Project-Unite/App_Start/IdentityConfig.cs +++ b/Project-Unite/App_Start/IdentityConfig.cs @@ -56,7 +56,7 @@ public async Task SendAsync(IdentityMessage message) ndb.AuditLogs.Add(alog); await ndb.SaveChangesAsync(); }; - await smtp.SendMailAsync(sMsg); + smtp.Send(sMsg); } catch (Exception ex) {