Use the IMAP IDLE command (see RFC 2177 ), if supported by the server, to enter idle mode so that the server can send unsolicited notifications of new messages arriving, etc. without the need for the client to constantly poll the server. Use an approp
()
| 3147 | * @since JavaMail 1.4.1 |
| 3148 | */ |
| 3149 | public void idle() throws MessagingException { |
| 3150 | idle(false); |
| 3151 | } |
| 3152 | |
| 3153 | /** |
| 3154 | * Like {@link #idle}, but if <code>once</code> is true, abort the |
nothing calls this directly
no test coverage detected