private EmailQueue GetEmail(Reset model, string subject, string message) { return new EmailQueue { AddedOn = DateTime.Now, FromName = model.Name, Subject = subject, Message = message, SendTo = model.Email }; }
private EmailQueue GetEmail(IEmailProcessor processor, Reset model, string subject, string message) { return new EmailQueue { AddedOn = DateTimeOffset.UtcNow, FromName = processor.Config.FromName, ReplyTo = processor.Config.FromEmail, ReplyToName = processor.Config.FromName, Subject = subject, Message = message, SendTo = model.Email, SendOn = DateTimeOffset.UtcNow }; }
public ResetEmail(Reset reset) { _resetDetails = reset; }
public ResetEmail(Reset reset) { this._resetDetails = reset; }