how to disable email sending code in localhost?
Solution
Disable email sending code in localhost
if (Request.Url.ToString().Contains("localhost")==false) { BusinessManager.SendEmail(ref eo); Response.Redirect("~/TryAgain/"); }