Ejemplo n.º 1
0
        private void ProcessAttachments(IIncomingEmailMessage message, int workItemId, bool convertInlineAttachments)
        {
            var fileList = SaveAttachments(message);

            _workItemManager.AttachAndInlineFiles(workItemId, fileList);
            fileList.ToList().ForEach(x => File.Delete(x.Item1));
        }