Download Jar. Uses 557K of libraries. Click here for Pure Java version (1947L/13K).
1 | !7 |
2 | |
3 | import com.google.code.javax.mail.search.GmailRawSearchTerm; |
4 | |
5 | static Message[] msgs; |
6 | |
7 | p {
|
8 | Folder inbox = googleCode_gmail_inbox(); |
9 | inbox.open(Folder.READ_ONLY); |
10 | time {
|
11 | // Strangely, there is no option to limit the number of results |
12 | // returned... |
13 | msgs = inbox.search(new GmailRawSearchTerm("Bruno"));
|
14 | } |
15 | print("Found " + n2(msgs, "message"));
|
16 | } |
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: | #1016625 |
| Snippet name: | Test GMail Server-Side Search [WORKS] |
| Eternal ID of this version: | #1016625/10 |
| Text MD5: | b91f93ed285530c67cbc1790d83fdca4 |
| Transpilation MD5: | e7d0dc0ec0f84ab7736d14b4a285e76e |
| 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:49:25 |
| Source code size: | 384 bytes / 16 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 781 / 1631 |
| Version history: | 9 change(s) |
| Referenced in: | [show references] |