How to put message into Sent? [closed]

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?



There’s no standard name for the “sent” folder. Depending on the mail client being used, the folder might have a different name. There’s an IMAP extension that would tell you which folder is the “sent” folder, but I don’t think most servers support the extension.

Leave a Reply

Your email address will not be published. Required fields are marked *