How to put message into Sent? [closed]
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 6 years ago . After sending the message with JavaMail by smtp, how to put it into the Sent folder(IMAP)? What about the non-english mail(ex: in Russian sent=отправленные)? Is there a way to get the name of the "sent" folder programmatically? 回答1: Folder.appendMessages() There's no standard name for the "sent" folder.