Issuing IMAP commands

Top  Previous  Next

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");





Home | Company | Products | Solutions | Purchase | Support | Services | Blog

© 2021 JSCAPE LLC