Hello, I am helping a university to use Google Apps for Education. The university would like to send email to students (e-mail domain of the university), but wish it had a redirect if the student has another email.
For example, I provide my information the university (including my e-mail) and when the university to create the e-mail in Google Apps will add in redirecting my email (which informed). So I have two e-mail: [email protected] and [email protected] When the university to send an email to [email protected], they want to redicionar [email protected] I'm using the Google API. NET. The sample code is this: GoogleMailSettingsService GoogleMailSettingsService mail = new ("xxx", " appsXXX"); mail.setUserCredentials ("[email protected]", "y") / / email and password Administrator mail.UpdateForwarding ("Hugo", "true", "[email protected]", "KEEP"); The following error occurs: <? xml version = "1.0" encoding = "UTF-8"?> <AppsForYourDomainErrors> <error errorCode="1303" invalidInput="[email protected]" reason="EntityNameNotValid" /> </ AppsForYourDomainErrors> I know that the student can enter the e-mail and do the redirection, but the university wants to do this automatically. How can I solve this problem? Does anyone have another suggestion? -- You received this message because you are subscribed to the Google Groups "Google Apps Domain Information and Management APIs" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-apps-mgmt-apis/-/RWpDLaRk1wMJ. 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.
