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 -
Here is my code:


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?