Hi,
I am developing a application blocking a sender in gmail filter
through c#.net. I am a using gmail api to block a sender using the
following line,
GoogleMailSettingsService service = new
GoogleMailSettingsService("yourdomain", "your-apps");
what is "yourdomain" and "your-apps" fields.
service.setUserCredentials(adminEmail, adminPassword);
what is adminEmail and adminPassword.
service.CreateFilter(testUserName, "", "", "important", "", "", "",
"", "", "", "true", "true", "", "");
Here what is testUserName.
Or
Kindly advice how to block a sender in gmail thorough a c#.net code.
we given credentials:
domain = "google.com";
adminEmail = "[email protected]";
adminPassword = "xxxxxx";
testUserName = "harinathes";
GoogleMailSettingsService service = new
GoogleMailSettingsService(domain,"googlemailsettingsdemo");
service.setUserCredentials(adminEmail, adminPassword);
service.CreateFilter("eminosoft.pradeep","",
"[email protected]", "", "", "", "", "", "true", "true");
we got an error occured is:
Execution of request failed:
https://apps-apis.google.com/a/feeds/emailsettings/2.0/google.com/eminosoft.pradeep/filter
--
You received this message because you are subscribed to the Google Groups
"Google Apps Domain Information and Management APIs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-apps-mgmt-apis?hl=en.