/// <summary> /// Send out email message /// </summary> /// <param name="message">Message contents</param> /// <returns>void</returns> public async Task SendAsync(IdentityMessage message) { if (message == null) { return; } await MailingService.SendAsync(user : "******", useSSL : true, message : new UserEmailModel() { Destination = message.Destination, Body = message.Body, Email = "", Name = "zapread.com", Subject = message.Subject, }).ConfigureAwait(true); }
public Task SendAsync(IdentityMessage message) { MailingService.SendAsync(message); // Plug in your email service here to send an email. return(Task.FromResult(0)); }