Beispiel #1
0
        private void ProcessAttachments(IIncomingEmailMessage message, int workItemId)
        {
            var attachmentFiles = SaveAttachments(message, _workItemManager.GetAttachmentFileNameList(workItemId));

            _workItemManager.AttachFiles(workItemId, (from object file in attachmentFiles select file.ToString()).ToList());
            attachmentFiles.Delete();
        }