Hunny Software Library Reference

Imap4Client.Noop Method 

Sends a NOOP command.

[Visual Basic]
Public Sub Noop()
[C#]
public void Noop();

Remarks

A NOOP command is typically used to obtain optional responses, such as the RECENT response, from the IMAP4 server. (The RECENT response notifies the client that new mail has arrived.) The NOOP command is also used sometimes to keep the connection open for a long period of time. (Most IMAP4 servers will close the connection after a long period of inactivity.)

(Note: NOOP is an abbreviation for "no operation".)

Exceptions

Exception TypeCondition
ExceptionIf a network or protocol error occurs.

See Also

Imap4Client Class | Hunny.Mail Namespace | NOOP command in the IMAP4 specification