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?
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?