GmailSettingsService 可用性 post 2015 年 4 月 20 日

GmailSettingsService availability post April 20th, 2015

GmailSettingsService class 4 月 20 日后是否仍然可用,构造函数是否仍如下所示(来自 https://code.google.com/p/gdata-java-client/source/browse/trunk/java/sample/appsforyourdomain/gmailsettings/GmailSettingsService.java?r=505

public GmailSettingsService(
  String applicationName, String domain, String username, String password)
  throws AuthenticationException {
    super(applicationName, Constants.PROTOCOL, Constants.APPS_APIS_DOMAIN);
    this.domain = domain;

    new GenericFeed().declareExtensions(getExtensionProfile());

    this.setUserCredentials(username + "@" + domain, password);
}

是否有任何方法可以在 4 月 20 日过期日期之前测试我的应用程序以确保它能够正常工作?

虽然电子邮件设置 API 不是 4 月 20 日关闭的一部分,ClientLogin, which your code above is using for authentication is. You should migrate your code to use OAuth 2.0