Gmail的Java接口 Gmail4J

fmms 13年前
     <img title="Gmail4J logo" alt="Gmail的Java接口 Gmail4J" src="https://simg.open-open.com/show/418a976d7e9edfb14228721212f28ba8.gif" width="48" height="48" />    <p>Gmail4J 是一个简单的面向对象的Java类库,用来在Java的程序中访问 Gmail的服务。</p>    <p>示例代码:</p>    <pre class="brush:java; toolbar: true; auto-links: false;">GmailClient client = new RssGmailClient(); client.setLoginCredentials(LoginDialog.getInstance().show("Enter Gmail Login")); client.init(); final List                    <gmailmessage>                          messages = client.getUnreadMessages(); for (GmailMessage message : messages) {     System.out.println(message); }                    </gmailmessage></pre>    <p><strong>项目主页:</strong><a href="http://www.open-open.com/lib/view/home/1325773665937" target="_blank">http://www.open-open.com/lib/view/home/1325773665937</a></p>    <p></p>