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

12
LINES

< > BotCompany Repo | #1003944 // Test searching for mails by sender (GMail)

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

Uses 590K of libraries. Click here for Pure Java version (5309L/34K/118K).

1  
!7
2  
3  
p {
4  
  print("Connecting");
5  
  Folder f = gmailDefaultFolder("stefan.reich.maker.of.eye");
6  
  mail_listFolders(f, "");
7  
  S sender = "info@meetup.com";
8  
  print("Searching for mails from " + sender);
9  
10  
  print(l(listMailsFrom(gmail_allMail(f), sender)) + " messages found in 'All Mail'");
11  
  print(l(listMailsFrom(gmail_inbox(f), sender)) + " messages found in 'Inbox'");
12  
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1003944
Snippet name: Test searching for mails by sender (GMail)
Eternal ID of this version: #1003944/3
Text MD5: 5a395659fb8988ea25b21f96a35cf81d
Transpilation MD5: 6d942b396ede7e1cb51c0c829978e077
Author: stefan
Category: javax / talking robots
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-06-02 12:50:22
Source code size: 381 bytes / 12 lines
Pitched / IR pitched: No / No
Views / Downloads: 573 / 667
Version history: 2 change(s)
Referenced in: [show references]