!include once #1015973 // JavaMail static void imapCheckConnection(S server, S user, S pass) ctex { new Properties props; props.setProperty("mail.store.protocol", "imaps"); Session session = Session.getInstance(props, null); Store store = session.getStore(); store.connect(server, user, pass); store.close(); }
Began life as a copy of #1003711
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1007891 |
| Snippet name: | imapCheckConnection |
| Eternal ID of this version: | #1007891/4 |
| Text MD5: | e164b4d1f8cc91b48e4b5af69e2d1db1 |
| Author: | stefan |
| Category: | javax / networking |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2018-06-19 16:03:51 |
| Source code size: | 332 bytes / 10 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 773 / 814 |
| Version history: | 3 change(s) |
| Referenced in: | [show references] |