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

            return Email("SendTechnicalSupportEmail", viewModel);
        }