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

7
LINES

< > BotCompany Repo | #1003948 // listMailsFrom

JavaX fragment (include)

1  
import javax.mail.search.*;
2  
3  
static L<Message> listMailsFrom(Folder f, S sender) ctex {
4  
  f.open(f.READ_ONLY);
5  
  SearchTerm term = new FromTerm(new InternetAddress(sender));
6  
  ret asList(f.search(term));
7  
}

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: 658 / 592
Referenced in: [show references]