关于带有imaplib的IMAP UID [英] About IMAP UID with imaplib

查看:252
本文介绍了关于带有imaplib的IMAP UID的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我尝试将电子邮件从邮箱的gmail转移到另一电子邮件,只是很好奇每个电子邮件的UID在移到新邮箱时都会改变?

I try to move email from mailbox's gmail to another one, Just curious that UID of each email will change when move to new mailbox ?

推荐答案

是的,当您进行移动操作时,UID当然会更改. 该邮件的新UID将是目标文件夹中的下一个UID. (即,如果目标文件夹的最后一个邮件UID为:9332, 则移动电子邮件的UID将为9333)

Yes of course the UID is changed when you do move operation. the new UID for that mail will be the next UID from the destination folder. (i.e if the last mail UID of the destination folder is : 9332 , then the UID of the move email will be 9333)

注意:UID已更改,但在对该邮件执行任何操作期​​间,Message-Id不会更改)

Note: UID is changed but the Message-Id will not be changed during any operation on that mail)

这篇关于关于带有imaplib的IMAP UID的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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