ImapIdleOptionsPollInterval Property

Get or set the interval at which the server is polled when it does not support IDLE.

Definition

Namespace: MailKit.Net.Imap
Assembly: MailKit (in MailKit.dll) Version: 5.0.0
C#
public TimeSpan PollInterval { get; set; }

Property Value

TimeSpan
The poll interval.

Remarks

Gets or sets how long the session waits between NOOP commands when the server does not support the IDLE extension.

Exceptions

ArgumentOutOfRangeException value is less than or equal to Zero or greater than MaxValue milliseconds.

See Also