MailBee.NET Objects 7.2

Imap.Noop Method 

Sends a NOOP command to the mail server.

public bool Noop();

Return Value

true if the method succeeds; otherwise, false.

Remarks

This method is useful for keeping the connection alive when there is no real activity.

To issue NOOP asynchronously, see the sample code in BeginExecuteCustomCommand topic.

Exceptions

Exception TypeCondition
MailBeeExceptionAn error occurred and ThrowExceptions is true.

See Also

Imap Class | MailBee.ImapMail Namespace