1 | lib 1003225 // (JavaMail) |
2 | |
3 | import javax.mail.*; |
4 | import javax.mail.internet.*; |
5 | |
6 | static Folder gandiDefaultFolder(S user, S pass) ctex { |
7 | new Properties props; |
8 | props.setProperty("mail.store.protocol", "imaps"); |
9 | |
10 | Session session = Session.getInstance(props, null); |
11 | Store store = session.getStore(); |
12 | store.connect("mail.gandi.net", user, pass); |
13 | |
14 | ret store.getDefaultFolder(); |
15 | } |
Began life as a copy of #1003301
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1003711 |
Snippet name: | gandiDefaultFolder |
Eternal ID of this version: | #1003711/1 |
Text MD5: | b2b0228ea7e651bb9dbc5d36f886cd16 |
Author: | stefan |
Category: | javax / networking |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2016-07-26 02:04:50 |
Source code size: | 400 bytes / 15 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 515 / 708 |
Referenced in: | [show references] |