protected void ComfirmationEmail(int owner, string who, string projectName) { AutomaticEmail ae = new AutomaticEmail(); string email = ae.getUserEmail(owner); ae.SendEmail(email, "Project Confirmed", who + " has confirmed your project (" + projectName + ")."); }
protected void CompleteEmail(int owner, string projectName) { AutomaticEmail ae = new AutomaticEmail(); string email = ae.getUserEmail(owner); ae.SendEmail(email, "Project Completed", projectName + " has been fully signed."); HttpContext.Current.Response.Redirect(HttpContext.Current.Request.RawUrl); }