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

15
LINES

< > BotCompany Repo | #1016629 // Test GMail Server-Side Search v2

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

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

!7

import com.google.code.javax.mail.search.GmailRawSearchTerm;

static Message[] msgs;

p {
  IMAPFolder inbox = (IMAPFolder) googleCode_gmail_inbox();
  inbox.open(Folder.READ_ONLY);
  time {
    msgs = inbox.search(new GmailRawSearchTerm("Bruno"));
    
  }
  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: #1016629
Snippet name: Test GMail Server-Side Search v2
Eternal ID of this version: #1016629/1
Text MD5: a41fc0dade1f31c7277044f662cef9f6
Transpilation MD5: b16455ff60e9c952da055d13abfe658e
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:47:24
Source code size: 318 bytes / 15 lines
Pitched / IR pitched: No / No
Views / Downloads: 464 / 1018
Referenced in: