My email folder name e.g. "Same/folder" and my IMAP path delimiter is '/'.
How can I pass the name correctly to avoid splitting it?
Mail.dll doesn't split the folder name. It is send directly to the IMAP server (e.g. SELECT "Same/folder"). It is the server that decides what to do with it.
Can you please explain what is your problem exactly? Are you getting any exception? How does the log look like? Can you select 'Same' folder? What does Imap.GetList() return?