Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

11
LINES

< > BotCompany Repo | #1016628 // Test getMessages() on GMail folder

JavaX source code (desktop) [tags: use-pretranspiled] - run with: x30.jar

Download Jar. Uses 557K of libraries. Click here for Pure Java version (1928L/13K).

!7

static Message[] msgs;

p {
  Folder inbox = googleCode_gmail_inbox();
  print("Folder type: " + className(inbox));
  inbox.open(Folder.READ_ONLY);
  msgs = inbox.getMessages();
  print("Found " + n2(msgs, "message"));
}

Author comment

Began life as a copy of #1016625

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1016628
Snippet name: Test getMessages() on GMail folder
Eternal ID of this version: #1016628/3
Text MD5: b8cf28401eab5c9c807d2744139621ca
Transpilation MD5: aced42f2b1fb43d405510e0fdc0de331
Author: stefan
Category: javax / mail
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-06-25 21:46:09
Source code size: 234 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 465 / 1060
Version history: 2 change(s)
Referenced in: [show references]