Download Jar. Uses 1206K of libraries. Click here for Pure Java version (6078L/41K).
1 | !7 |
2 | |
3 | sS searchWord = "impressum" /*"recht24"*/; |
4 | |
5 | p { |
6 | int i = 0; |
7 | |
8 | for (Message m : mail_iterateFolder(gmail_inbox(gmail_stefan()))) { |
9 | ++i; |
10 | S from = InternetAddress.toString(m.getFrom()); |
11 | S text = mail_getText(m); |
12 | if (cic(from, searchWord) || cic(text, searchWord)) { |
13 | //O content = m.getContent(); |
14 | print("Match on " + searchWord + ": " + from); |
15 | //print(className(content)); |
16 | printIndent(text); |
17 | } else if ((i % 10) == 0) |
18 | progressInfoBox(i); |
19 | if (i >= 100) break; |
20 | } |
21 | } |
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1012847 |
Snippet name: | Search for word in latest mails |
Eternal ID of this version: | #1012847/24 |
Text MD5: | e4ad413d5868ca64172aad2c97742999 |
Transpilation MD5: | 6a75a6cfaf54e4ff18505be844c92403 |
Author: | stefan |
Category: | javax / mail |
Type: | JavaX source code (desktop) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-12-14 21:07:31 |
Source code size: | 542 bytes / 21 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 511 / 1169 |
Version history: | 23 change(s) |
Referenced in: | [show references] |