Exchange Web Services and Attachments RRS feed

  • Question

  • Hi There

    I need to parse a certain email folder for emails with xml file attachments, would it be better to save the xml files intoi a folder locally and then parse the xml files or would i be best loading them into a stream perhaps and extracting the contents that way? - thoughts please.



    Monday, October 3, 2011 7:26 PM

All replies

  • I would just load them from the stream if you write them out to disk you just imposing an I/O penalty on your code which if its just a few attachments it wont be a big deal but over a large number of attachments and messages you would notice the difference in the total amount of time it take to run.



    Tuesday, October 4, 2011 1:44 AM