firemail

标题: 移动邮件 [打印本页]

作者: jimu    时间: 2016-12-6 09:45
标题: 移动邮件
本帖最后由 jimu 于 2016-12-7 15:29 编辑
  1. 从已发送移动邮件到 4444邮件夹
  2. C6 SELECT "Sent Items"
  3. ...
  4. C6 OK [READ-WRITE] SELECT completed

  5. C7 UID MOVE 1447414440 4444
  6. C7 BAD command not support
复制代码
IAMP没有定义移动邮件的命令,移动操作相当于先把邮件复制到新邮箱中,然后对源邮箱中的邮件设置DELETED标志。下一次执行检查点过后,新邮箱中的邮件被删除,新邮件就被显示出来。


C22 SELECT 999
...
C22 OK [READ-WRITE] SELECT completed

C24 UID COPY 1447641805 4444
C24 OK COPY completed
C25 UID STORE 1447641805 +FLAGS.SILENT (\Deleted)C25 OK STORE completed
C26 EXPUNGE
* 5 EXISTS

* 0 RECENT

* 4 EXPUNGE

C26 OK EXPUNGE completed

https://tools.ietf.org/html/rfc6851

A move function is not provided in the base IMAP specification, so   clients have instead had to use a combination of the COPY, STORE, and   EXPUNGE commands to perform this very common operation.



作者: jimu    时间: 2016-12-6 10:58


139.com不支持move命令
46 UID MOVE 2120 111
46 BAD errno:1404, imap command error

163.com不支持move命令
C33 UID MOVE 1445234180 2222
C33 BAD command not support




欢迎光临 firemail (http://firemail.wang:8088/) Powered by Discuz! X3