gpt4 book ai didi

c# - IMAP 响应重复

转载 作者:太空狗 更新时间:2023-10-30 01:29:56 28 4
gpt4 key购买 nike

有人可以解释 IMAP 服务器响应行为吗?当我发送单个命令时,响应符合预期:

C: A0001 FETCH 10 (BODY[HEADER.FIELDS (SUBJECT)])
S: * 10 FETCH (BODY[HEADER.FIELDS (SUBJECT)] {21}
Subject: FW: test

)
A0001 OK FETCH completed.

但是如果我一个一个地发送几个命令,响应行为是不清楚的:

C: A0001 FETCH 10 (BODY[HEADER])
S: * 10 FETCH (BODY[HEADER] {1632}
...
A0001 OK FETCH completed.
C: A0002 FETCH 10 (BODY[HEADER.FIELDS (SUBJECT)])
S: * 10 FETCH (BODY[HEADER] {1632}
...
A0001 OK FETCH completed.
C: A0003 FETCH 10 BODY[TEXT]
S: * 10 FETCH (BODY[HEADER.FIELDS (SUBJECT)] {21}
Subject: FW: test

)
A0002 OK FETCH completed.

为什么重复响应?以及如何解决? Code

最佳答案

问题是写入 ssl 流发生在 ssl 流的读取循环中。

关于c# - IMAP 响应重复,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48897533/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com