/// <summary> /// 保存邮件表单(发送、存入草稿、草稿编辑) /// </summary> /// <param name="keyValue">主键值</param> /// <param name="emailContentEntity">邮件实体</param> /// <param name="addresssIds">收件人</param> /// <param name="copysendIds">抄送人</param> /// <param name="bccsendIds">密送人</param> /// <returns></returns> public void SaveForm(string keyValue, EmailContentEntity emailContentEntity, string addresssIds, string copysendIds, string bccsendIds) { try { string[] arrayaddresssId = addresssIds.Split(','); string[] arraycopysendId = copysendIds.Split(','); string[] arraybccsendId = bccsendIds.Split(','); emailContentEntity.AddresssHtml = WebHelper.HtmlEncode(emailContentEntity.AddresssHtml); emailContentEntity.CopysendHtml = WebHelper.HtmlEncode(emailContentEntity.CopysendHtml); emailContentEntity.BccsendHtml = WebHelper.HtmlEncode(emailContentEntity.BccsendHtml); service.SaveForm(keyValue, emailContentEntity, arrayaddresssId, arraycopysendId, arraybccsendId); } catch (Exception) { throw; } }