对于从客户端[Microsoft Outlook 2007]发出的以下IMAP命令,邮件服务器的响应格式应该是什么?
Microsoft Outlook:hmo8 UID FETCH 1:2(UID标记RFC822.SIZE BODY.PEEK [HEADER])
我尝试了很多响应,但得到了PARSE错误:hr = 2148322516和PARSE错误:hr = 2148322522
1.响应1:
“ ** 1个FETCH(UID 1个标记(\ SEEN)RFC822.SIZE 4812 BODY [HEADER] {476}”“
“发件人:x@ymail.com”
“收件人:y@xmail.com”
“日期:00/00/0000 0:00:00 AM”
“内容类型:多部分/替代”
“邮件ID:”
“)”
2。响应2:
“ ** 1个FETCH(UID 1个标记(\ SEEN)RFC822.SIZE 4812 BODY [HEADER] {476}”“
“ *发件人:x@ymail.com”
“ *收件人:y@xmail.com”
“ *主题:kkk”
“ *日期:00/00/0000 0:00:00 AM”
“ *内容类型:多部分/替代”
“ *邮件ID:”
“ *)”
3,响应3:
“ ** 1个FETCH(UID 1个标记(\ SEEN)RFC822.SIZE 4812 BODY [HEADER] {476}”“
“ hmo8 OK来自:x@ymail.com”
“ hmo8 OK To:y@xmail.com”
“ hmo8 OK主题:kkk”
“ hmo8 OK日期:00/00/0000 0:00:00 AM”
“ hmo8 OK内容类型:多部分/替代”
“ hmo8 OK消息ID:” “ hmo8 OK)”
4。响应4:
“ ** 1个FETCH(UID 1个标记(\ SEEN)RFC822.SIZE 4812 BODY [HEADER] {476}”“
“发件人:x@ymail.com” //从制表符空格后开始
“ To:y@xmail.com” //要在制表符空格后开始
“ Subject:kkk” //主题在制表符空格之后开始
“日期:00/00/0000 0:00:00 AM” //日期从制表符空格后开始
“ Content-Type:multipart / alternative” //内容在制表符空格之后开始
“ Message-ID:” // ID在制表符空格后开始
“ *)”
请让我知道确切的答复格式;此外,我分别计算了页眉大小并将其加起来。