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