在Google应用邮件帐户C#应用程序中添加子标签 [英] Adding sub label in Google apps mail account C# application

查看:77
本文介绍了在Google应用邮件帐户C#应用程序中添加子标签的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发C#项目,我需要在Gapps帐户中添加标签。我能够添加标签,但无法在新创建的标签中创建子标签。以下是创建标签的示例代码。

 GoogleMailSettingsService服务=新的GoogleMailSettingsService(_domain,Myapp); 
service.setUserCredentials(_adminuser,_password);
service.CreateLabel(userName,label);



如何在新创建的标签中添加子标签。非常感谢任何帮助。



提前致谢。



Mayuresh

解决方案

尝试以下链接。它可以帮到你。



谷歌GDATA

I am working on C# project in which I need to add the labels in Gapps account. I am able to add the label but not able to create sub label in newly created label. Here is the sample code for creating label.

GoogleMailSettingsService service = new GoogleMailSettingsService(_domain, "Myapp");
service.setUserCredentials(_adminuser, _password);
service.CreateLabel("userName", label);


How to add the sub label in newly created label. Any help on this is greatly appreciated.

Thanks in advance.

Mayuresh

解决方案

try following link. it may help you.

google-gdata


这篇关于在Google应用邮件帐户C#应用程序中添加子标签的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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