c# - IMAP GMAIL getting folder list problem -


i working on imap , trying list of folders in gmail account.

i able working yahoo mail, not gmail.

here's code:

byte[] commandbytes = system.text.encoding.ascii.getbytes((("$ xlist \"\" \"*\" \r\n")).tochararray()); 

i had tried list well, it's not working. doing wrong?

you cannot have space between "*" , trailing \r\n.


Comments

Popular posts from this blog

PHP proxy to get XML: problem with URL arguments -