Sends IDLE command. This method hangs until server announces new event in current folder or until StopIdle()()()() command is issued. Not all servers support Idle. You can check which extensions remote server supports using SupportedExtensions()()()() method.

Namespace: Limilabs.Client.IMAP
Assembly: Mail (in Mail.dll) Version: 3.0.12102.1426

Syntax

C#
public FolderStatus Idle(
	TimeSpan timeout
)
Visual Basic
Public Function Idle ( _
	timeout As TimeSpan _
) As FolderStatus
Visual C++
public:
FolderStatus^ Idle(
	TimeSpan timeout
)

Parameters

timeout
Type: System..::..TimeSpan
Specifies the timeout after which IDLE command is reissued (this prevents server from disconnecting).

Return Value

New folder status.

See Also