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

7
LINES

< > BotCompany Repo | #1003948 // listMailsFrom

JavaX fragment (include)

import javax.mail.search.*;

static L<Message> listMailsFrom(Folder f, S sender) ctex {
  f.open(f.READ_ONLY);
  SearchTerm term = new FromTerm(new InternetAddress(sender));
  ret asList(f.search(term));
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1003948
Snippet name: listMailsFrom
Eternal ID of this version: #1003948/1
Text MD5: 293b6986b4765e7ee09796b259c53465
Author: stefan
Category: javax / networking
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-07-31 17:21:33
Source code size: 211 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 656 / 589
Referenced in: [show references]