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).

!7

p {
  print("Connecting");
  Folder f = gmailDefaultFolder("stefan.reich.maker.of.eye");
  mail_listFolders(f, "");
  S addr = "info@meetup.com";
  RecipientType type = null; // RecipientType.TO;
  print("Searching for mails to " + addr + " (" + type + ")");

  print(l(listMailsTo(gmail_allMail(f), addr, type)) + " messages found in 'All Mail'");
  print(l(listMailsTo(gmail_inbox(f), addr, type)) + " messages found in 'Inbox'");
  print(l(listMailsTo(gmail_sentMail(f), addr, type)) + " messages found in 'Sent'");
}

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: 443 / 528
Version history: 1 change(s)
Referenced in: #1012842 - GMail: List all addresses sent to