Hi raramuri,
the CopyMessageToFolder method can only be used to copy messages from one standard folder to another.
I guess you're using the library with a Gmail account, don't you?
On GMail there are certain extensions to the IMAP protocol implemented. I'm currently working on providing access to GMail labels in ImapX, and could put a sample for you together.
Please let me know if it's what you need.
Kind regards,
Pavel Azanov
the CopyMessageToFolder method can only be used to copy messages from one standard folder to another.
I guess you're using the library with a Gmail account, don't you?
On GMail there are certain extensions to the IMAP protocol implemented. I'm currently working on providing access to GMail labels in ImapX, and could put a sample for you together.
Please let me know if it's what you need.
Kind regards,
Pavel Azanov