Ruby Gmail Gem-移动到标签中的标签
我在移动到文件夹中的文件夹时遇到了一些问题 在我的gmail帐户上,我有不同的“标签”或文件夹Ruby Gmail Gem-移动到标签中的标签,ruby,gmail,Ruby,Gmail,我在移动到文件夹中的文件夹时遇到了一些问题 在我的gmail帐户上,我有不同的“标签”或文件夹 school # this is a folder Class 1 # this is a folder within the school folder work # this is a folder Client 1 # this is a folder within the work folder 现在有了ruby gem gmail,我可以进入第一个文件夹,但不能进入另一个文件夹
school # this is a folder
Class 1 # this is a folder within the school folder
work # this is a folder
Client 1 # this is a folder within the work folder
现在有了ruby gem gmail,我可以进入第一个文件夹,但不能进入另一个文件夹
gmail.label("school")
#returns a true statement, i could add to the code above and manipulate emails
#but if i run something like
gmail.label("school").label("Class 1")
#this returns an error.
我的目标是导航到“Class 1”目录以处理电子邮件仍然没有看到任何内容,我将尝试要求使用“net/imap”而不是“gmail”
gmail.label('school/Class 1') #this will get you into the directory