diff --git a/Project-Unite/App_Start/IdentityConfig.cs b/Project-Unite/App_Start/IdentityConfig.cs index a317e22..aab3ef1 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(); }; - smtp.Send(sMsg); + smtp.SendAsync(sMsg, null); } catch (Exception ex) {