Hi Mousa,

The Email Settings API can only be used with Google Apps domains and not
with consumer (i.e. gmail.com) accounts.

Claudio

On Thu, Jun 21, 2012 at 4:24 AM, Mousa Hasan <[email protected]> wrote:

> from the below linke, google providing a library for this:
>
> *
> https://developers.google.com/google-apps/email-settings/#retrieving_google_mail_imap_settings
> *<https://developers.google.com/google-apps/email-settings/#retrieving_google_mail_imap_settings>
> [*^*<https://developers.google.com/google-apps/email-settings/#retrieving_google_mail_imap_settings>
> ]
>
> and im trying to immplement it like this :
>
>
> using Google.GData.Apps;
> using Google.GData.Apps.GoogleMailSettings;
> using Google.GData.Client;
> using Google.GData.Extensions;
>
> GoogleMailSettingsService service = new GoogleMailSettingsService("
> www.google.com", "your-apps");
>
> service.setUserCredentials("[email protected]", "adminPassword");
> service.UpdateImap("myemail", "true");
>
>
> and i got this error :
> GDataRequestException was unhandled
> Execution of request failed:
> https://apps-apis.google.com/a/feeds/emailsettings/2.0/www.google.com/myemail/imap
>
> --
> 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/-/BmRBNt0KcR4J.
> 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.
>

-- 
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.

Reply via email to