Пример #1
0
        private void GenWWPOMail(string mailBody, string user)
        {
            SendMail mail = new SendMail();

            mail.CDATE       = FormatHelper.TODateInt(DateTime.Now);
            mail.CTIME       = FormatHelper.TOTimeInt(DateTime.Now);
            mail.CUSER       = user;
            mail.MAILCONTENT = mailBody;
            mail.MAILTYPE    = ShareLib.ShareKit.MailName.PickingExceptionMail;
            mail.Recipients  = _WarehouseFacade.Recipients(mail.MAILTYPE);
            mail.SENDFLAG    = "N";
            _WarehouseFacade.AddSendMail(mail);
        }