When trying to invoke the savefile method it was complaining about illegal characters in path, so I did a little investigation and discovered that the filename for the attachments was set to: (example)Application Package and Deployment Group Naming Convention v2.docx"; size=2458458; creation-date="Wed, 22 Aug 2012 08:12:35 GMT"; modification-date="Wed, 22 Aug 2012 08:12:35 GMT"(end example)after some digging I found out that lines 406 to 412 in Message.cs was missing and additional split on ; character and a replace for \n character (as it can be multiline string for long filename)below is the correct code for lines 406 to 412 in Message.cs string contentFilename = current3.Value.Split(new[] { "filename=" }, StringSplitOptions.None)[1].Split(';')[0].Trim(new[] { '"' }).Replace("\n","");
↧