hi,
i am getting Error this line only,
string body = RazorEngine.Engine.Razor.RunCompile(templateAsString, "templateKey", typeof(TestEmailTemplateViewModel), myViewModel);
// string body1 = RazorEngineServiceExtensions.RunCompile(templateAsString, "templateKey", typeof(TestEmailTemplateViewModel), myViewModel);
Actually i am trying to send mail with Email Template in my code i have send two mails for the single ActionEvent but am getting Error
"The specified string is not in the form required for an e-mail"
Please help me