protected override RazorEmailResult CreateRazorEmailResult(TaskDueTomorrowViewModel viewModel)
 {
     return new RazorEmailResult(new Mock<IMailInterceptor>().Object,
                                 new Mock<IMailSender>().Object,
                                 new Mock<MailMessage>().Object,
                                 "ViewName",
                                 Encoding.ASCII,
                                 "ViewPath");
 }
 		public RazorEmailResult SendTaskDueTomorrowEmail(TaskDueTomorrowViewModel viewModel)
        {
            var toAddress = GetToAddress(viewModel.To);
            To.Add(toAddress);
            Subject = viewModel.Subject;
            From = DefaultFromAddress;

            return Email("SendTaskDueTomorrowEmail", viewModel);
        }