Download Jar. Uses 1206K of libraries. Click here for Pure Java version (6078L/41K).
!7 sS searchWord = "impressum" /*"recht24"*/; p { int i = 0; for (Message m : mail_iterateFolder(gmail_inbox(gmail_stefan()))) { ++i; S from = InternetAddress.toString(m.getFrom()); S text = mail_getText(m); if (cic(from, searchWord) || cic(text, searchWord)) { //O content = m.getContent(); print("Match on " + searchWord + ": " + from); //print(className(content)); printIndent(text); } else if ((i % 10) == 0) progressInfoBox(i); if (i >= 100) break; } }
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: | 740 / 1643 |
| Version history: | 23 change(s) |
| Referenced in: | -