示例#1
0
        /// <summary>
        /// 邮件转交操作
        /// </summary>
        public void ToOtherReplyUser()
        {
            AdviceReply adviceReply = new AdviceReply();

            //adviceReply.UserID = UserIDTextBox.Text;
            adviceReply.UserID = ddlToOtherHandleUserID.SelectedValue;

            if (AdviceID.Trim() != "")
            {
                adviceReply.AdviceID = AdviceID;
                AdviceReply ar = AdviceReplyHelper.GetAdviceReplyByAdviceID(AdviceID);
                if (ar == null)
                {
                    AdviceReplyHelper.AddAdviceReply(adviceReply);
                }
            }
            List <string> list = new List <string>();

            list.Add(AdviceID);
            //发送邮件给办理人
            AdviceHelper.SendMailToHandler(list, adviceReply.UserID, AdviceTypeID, txtRemark.Text, rblPriority.SelectedValue);
        }