我使用Oauth 2.0实现了一个IMAP gmail客户端,可以在开发模式下正常工作。我可以连接到IMAP,搜索电子邮件,插入标签......但是当我部署我的应用程序时,在这里给我一个错误:
IMAPStore store = OAuth2Authenticator.connectToImap(“imap.gmail.com”, 993,“user@email.com”,oauth,true);
错误:
清空用户名或密码。 f5if721432qez.143
我使用与Google示例相同的代码:http://code.google.com/p/google-mail-oauth2-tools/wiki/JavaSampleCode
必须在生产中配置其他东西吗?