Uses 590K of libraries. Click here for Pure Java version (1270L/9K/30K).
!752 p { S user = "stefan.reich.maker.of.eye"; Folder inbox = gmailDefaultFolder(user).getFolder("[Google Mail]/Sent Mail"); inbox.open(Folder.READ_ONLY); int idx = inbox.getMessageCount(); print("Loading message " + idx); Message msg = inbox.getMessage(idx); print("Last msg sent to: " + InternetAddress.toString(msg.getRecipients(Message.RecipientType.TO))); }
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: | #1003302 |
Snippet name: | Test gmailDefaultFolder with sent mail (show last recipient) |
Eternal ID of this version: | #1003302/1 |
Text MD5: | cc4c839fcafaa5b1ae68312cde55d52c |
Transpilation MD5: | b938a4a95ddd32594e2e28675b52176b |
Author: | stefan |
Category: | javax |
Type: | JavaX source code |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2016-10-16 23:30:27 |
Source code size: | 391 bytes / 12 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 563 / 673 |
Referenced in: | #1003712 - Test gandiDefaultFolder #1005141 - GMail: Show last mails in inbox |