I am able to get main folder through console application code but not able to read sub-folders.

  • Post the code you are using.
    – wjervis
    Commented Jun 9, 2016 at 16:47

1 Answer 1


i have got the answer instead of going through coding..we can do it through OOTB. go to library settings to which you want to save the attachments from mail and go to incoming email settings and get mail details from SMTP server configuration details from CA and give here and then select necessary settings save it.if you get emails with attachments [the mail you mentioned at settings]directly it will save to your library. yes it's done!!!!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.