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

!7

p {
  print("Connecting");
  Folder f = gmailDefaultFolder("stefan.reich.maker.of.eye");
  mail_listFolders(f, "");
  S sender = "info@meetup.com";
  print("Searching for mails from " + sender);

  print(l(listMailsFrom(gmail_allMail(f), sender)) + " messages found in 'All Mail'");
  print(l(listMailsFrom(gmail_inbox(f), sender)) + " messages found in 'Inbox'");
}

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: 498 / 566
Version history: 2 change(s)
Referenced in: [show references]