Issuing IMAP commands |
Upon establishing a connection to an IMAP server you can send commands to the server by invoking the Imap#issueCommand method and passing the command as an argument. The server response to the command sent will be returned as a result.
Example
// send EXPUNGE command to server String response = imap.issueCommand("EXPUNGE"); |