Exemplo n.º 1
0
        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 + ").");
        }
Exemplo n.º 2
0
        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);
        }