// POST api/<controller> public void Post(Mail value) { var msg = new MailMessage { From = new MailAddress(value.FromAddress), Subject = value.Subject, Body = value.Body }; msg.To.Add(“emailaddress@domain.com”); try { SendMail(msg); } catch (Exception ex) { var r = ex.Message; } } public static void SendMail(MailMessage Message) { SmtpClient client = new SmtpClient(); client.Host = “smtp.googlemail.com”; client.Port […]

Read More →

Here are the steps to follow to create default user identity: Start Internet Information Services (IIS) Manager. In the left pane, expand the local computer and then expand Application Pools. Right-click the Application Pools node, click New, and then click Application Pool. In the Add New Application Pool dialog box, type TestPool in the Application […]

Read More →