This project is read-only.

Error in saving attachments

Topics: Help requests
Jan 25 at 7:03 AM
Good morning!
I need to save attachments. So I took example from documentation (here - https://imapx.codeplex.com/wikipage?title=Working%20with%20attachments&referringTitle=Documentation)
Here is my code:

attach.Download()
attach.Save(pathTempFolder)

But I have an error when I save attachments - "Invalid characters in the line Base-64."
The reason is the text ")
IMAPX14 OK UID FETCH Completed." that is added at the end of attachments content

Please tell me what I'm doing wrong? How to remove it?