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

14
LINES

< > BotCompany Repo | #1003953 // Test searching for sent mails (GMail)

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

Uses 590K of libraries. Click here for Pure Java version (4887L/31K/110K).

1  
!7
2  
3  
p {
4  
  print("Connecting");
5  
  Folder f = gmailDefaultFolder("stefan.reich.maker.of.eye");
6  
  mail_listFolders(f, "");
7  
  S addr = "info@meetup.com";
8  
  RecipientType type = null; // RecipientType.TO;
9  
  print("Searching for mails to " + addr + " (" + type + ")");
10  
11  
  print(l(listMailsTo(gmail_allMail(f), addr, type)) + " messages found in 'All Mail'");
12  
  print(l(listMailsTo(gmail_inbox(f), addr, type)) + " messages found in 'Inbox'");
13  
  print(l(listMailsTo(gmail_sentMail(f), addr, type)) + " messages found in 'Sent'");
14  
}

Author comment

Began life as a copy of #1003944

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: #1003953
Snippet name: Test searching for sent mails (GMail)
Eternal ID of this version: #1003953/2
Text MD5: f4fed24d9c39311a8ad9ca0aeed204c5
Transpilation MD5: 0b41a8d02d85297b152c57c853a76891
Author: stefan
Category: javax / talking robots
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-12-14 18:00:44
Source code size: 537 bytes / 14 lines
Pitched / IR pitched: No / No
Views / Downloads: 384 / 452
Version history: 1 change(s)
Referenced in: [show references]