无法将邮件迁移到“垃圾箱”

发布于 2024-09-05 07:13:44 字数 497 浏览 4 评论 0原文

我正在将一些邮件迁移到 Google Apps 中的“垃圾箱”。

使用 Google API Ver 2:

代码示例:

MailItemEntry[] entries = new MailItemEntry[1];
entries[0]              = new MailItemEntry();
entries[0].Rfc822Msg    = new Rfc822MsgElement(msg);
entries[0].MailItemProperties.Add(MailItemPropertyElement.TRASH);                                  

我尝试过:

entries[0].Labels.Add(new LabelElement("Trash"));

如何将邮件迁移到 Google Apps 中的“TRASH”?

谢谢

I am migrating some mails to 'TRASH' in Google Apps.

Using Google API Ver 2:

Code Sample :

MailItemEntry[] entries = new MailItemEntry[1];
entries[0]              = new MailItemEntry();
entries[0].Rfc822Msg    = new Rfc822MsgElement(msg);
entries[0].MailItemProperties.Add(MailItemPropertyElement.TRASH);                                  

I tried with :

entries[0].Labels.Add(new LabelElement("Trash"));

How can i migrate mails to "TRASH" in Google Apps ?

Thanx

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

养猫人 2024-09-12 07:13:44

Google Apps 或 Gmail 仅将过去 30 天的邮件保留在“已删除邮件”中。

Google Apps or Gmail keeps only Last 30 Days mails in Trash.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文