IMAP Gmail文件夹列表问题. [英] IMAP Gmail Folderlist problem.

查看:81
本文介绍了IMAP Gmail文件夹列表问题.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我面临使用IMAP协议检索GMAIL的文件夹列表的问题.

问题是我正在尝试使用LIST命令和XLIST检索文件夹列表,但这会给我错误信息,表示BAD命令,所以还有其他任何命令来检索文件夹列表.

我的命令就像.

Hello guys,

I am facing issue of the retrieving folder list of the GMAIL using IMAP protocol.

Thing is that I am trying to retrieve folder list using LIST command and XLIST, but it will give me error means BAD command so is there any other command to retrieve the Folder list.

My command is like .

byte[] commandBytes = System.Text.Encoding.ASCII.GetBytes((("$ XLIST \"\" \"*\" \r\n")).ToCharArray());



并通过LIST命令,但仍然无法获取文件夹列表,并说不解析BAD命令.

谢谢... !!



and also pass the LIST Command but still I am not able to get folder list it say BAD Command not to parse.

Thanks...!!

推荐答案

XLIST \"\" \"* \" \ r \ n)).ToCharArray());
XLIST \"\" \"*\" \r\n")).ToCharArray());



并通过LIST命令,但仍然无法获取文件夹列表,并说不解析BAD命令.

谢谢... !!



and also pass the LIST Command but still I am not able to get folder list it say BAD Command not to parse.

Thanks...!!


这篇关于IMAP Gmail文件夹列表问题.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆