有没有一种方法可以在收件箱下创建嵌套标签? [英] Is there a way to create nested label under inbox?

查看:61
本文介绍了有没有一种方法可以在收件箱下创建嵌套标签?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我从gmail.com UI进行了尝试,但没有找到在系统标签下创建嵌套文件夹的任何方法. 然后,我尝试使用API​​,并且从那里也是不可能的.

I tried from gmail.com UI, but i didn't found any way to create nested folders under system labels. Then i tried using APIs and it's not possible from there also.

但是我无法找到指定此行为的任何文档.我错过了什么还是做错了什么. 我正在使用gmail API创建标签. https://developers.google.com/gmail/api/v1/reference/users/labels/create

But i am not able to find any documentation where this behaviour is specified. Am i missing something or doing something wrong. I am using gmail apis to create labels. https://developers.google.com/gmail/api/v1/reference/users/labels/create

问题是我们有一个客户在收件箱下嵌套了标签.我认为这可能是其旧的gmail功能,已经不存在了.有人可以清除我的理解吗?预先感谢

The problem is we have a customer who has nested labels under inbox. I think may be its old gmail feature and does not exists anymore. Can someone clear my understanding. Thanks in advance

推荐答案

看来,USER标签不能当前被嵌套在Gmail API的SYSTEM标签下.我不确定使用Gmail API或其他不推荐使用的API是否可以解决这些问题.由于过去的正式" API(例如,Email Migration v2 API(及其前身))似乎已删除了文档,因此查找信息以表明过去可能做到这一点可能很困难.

It appears that USER labels cannot currently be nested under SYSTEM labels with the Gmail API. I'm not sure if they could have been at a point in the past using the Gmail API or another deprecated API. Finding information to indicate it was possible in the past may be difficult as the older "offical" APIs such as the Email Migration v2 API (and its predecessor) appear to have had there documentation taken down.

@Rubén可能已加入.虽然我会假设当前配置的Google服务器在从任何客户端尝试执行此操作时都会返回某种错误.此后很可能是已过时的功能已删除,这使此操作成为可能.也许当使用旧的过时的Email Migration v2 API时,这是可能的.不幸的是,我无法回忆/证明它是否允许上述功能.

Maybe @Rubén is onto something here. Though I would assume that Google's servers in their current configuration would return some sort of error while attempting this from any client. It is probably deprecated functionality that has since been removed that made this possible. Maybe when using the old obsolete Email Migration v2 API this was possible. I unfortunately cannot recall/prove if it allowed said functionality.


我找不到直接来自Google的信息链接.但是,我发现了以下内容:


I cannot find a link with information directly from Google. However, I have found the following:

ScottG_TC说:您正在创建一个新标签,是否选中了Nest Under,然后下拉菜单将显示所有用户创建的标签.这些是唯一的标签,您可以在下面进行嵌套." https://productforums.google.com/forum/#!topic/gmail/DqWSicdPTSs

ScottG_TC said: "You are creating a new Label, did you check off Nest Under and then the drop down will show you all of the user created lables. Those are the only ones you can nest under." https://productforums.google.com/forum/#!topic/gmail/DqWSicdPTSs

ScottG_TC说:您不能在收件箱中嵌套标签. https://productforums.google.com/forum/#!topic/inbox/78TdouDE0s4

ScottG_TC said: "You can not nest labels in Inbox." https://productforums.google.com/forum/#!topic/inbox/78TdouDE0s4


Gmail API

使用API​​的.NET包装器/版本时,我注意到无法以编程方式在收件箱" SYSTEM标签下创建嵌套标签.尝试这样做会产生与使用GUI相同的结果.它将创建一个平面的用户定义标签,名为收件箱/Foo".这似乎是尝试在SYSTEM标签下创建嵌套USER标签的标准结果.也就是说,将独立于预期的SYSTEM标签创建平面的USER定义标签.

Having used the .NET wrapper/version of the API I have noticed that I cannot create a nested label under the 'Inbox' SYSTEM label programmatically. Attempting to do so produces the same result as using the GUI. It creates a flat USER defined label named 'Inbox/Foo'. This appears to be the standard result of attempting to create a nested USER label under a SYSTEM label. That is, a flat USER defined label will be created independent of the intended SYSTEM label.

Gmail

使用Gmail UI本身的示例.

Example using the Gmail UI itself.

创建后.

我确定您已经在用户界面中使用以下位置的标签"注意到了,没有选择指定任何SYSTEM标签的选项.

As I'm sure you've already noticed in the UI using the "Nest label under:" has no option to specify any of the SYSTEM labels.

使用SYSTEM标签的名称创建USER定义的标签也是无效的.

Creation of a USER defined label using the name of a SYSTEM label is also invalid.

重复问题"

关于这个

我不认为这是一个重复的问题,Gmail API具有USER和SYSTEM标签的概念.提供的重复问题/答案仅涉及在USER定义的标签下创建嵌套标签的想法.它没有说明是否可以在收件箱"之类的SYSTEM标签下创建嵌套标签

I don't believe this is a duplicate question, the Gmail API has the concept of USER and SYSTEM labels. The provided duplicate question/answer only goes over the idea of creating a nested label under a USER defined label. It does not state whether or not a nested label can be created under a SYSTEM label such as 'Inbox'

USER和SYSTEM标签之间的区别: https://developers.google.com/gmail/api/guides/labels

Difference between USER and SYSTEM labels: https://developers.google.com/gmail/api/guides/labels

也可以通过访问 https://mail来观察差异. .google.com/mail/u/0/#settings/labels SYSTEM标签有自己的部分.

The difference can also be observed by going to https://mail.google.com/mail/u/0/#settings/labels SYSTEM labels have there own section.

这篇关于有没有一种方法可以在收件箱下创建嵌套标签?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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