示例#1
0
        protected void btnSend_Click(object sender, EventArgs e)
        {
            string eMailTo      = eMailNotification.FeedBackeMail("Get", User.Identity.Name, "FeedBack");
            string eMailCC      = "";
            string eMailBcc     = "";
            string eMailForm    = eMailNotification.FeedBackeMail("Get", User.Identity.Name, "OperateUser");
            string eMailSubject = TextTopic.Text;
            string eMailBody    = myText.Text;
            string eMailFormat  = "HTML";

            FeedBack.Content("Save", User.Identity.Name, WorkingProfile.PageCategory, WorkingProfile.PageArea, WorkingProfile.PageItem, WorkingProfile.UserRole, WorkingProfile.SchoolYear, eMailSubject, eMailBody);
            string result = eMailNotification.SendeMail(eMailTo, eMailCC, eMailBcc, eMailForm, eMailSubject, eMailBody, eMailFormat);

            showMessage(result, "Send Feedback");
        }