Hunny Software Library Reference

Imap4Client.SendTimeout Property

Gets or sets the timeout for network send operations.

[Visual Basic]
Public Property SendTimeout As Integer
[C#]
public int SendTimeout {get; set;}

Property Value

The number of seconds before a timeout occurs on network connect or send operations.

Remarks

The library supports separate timeout values for sending and receiving. This property affects the timeout for connect and send operations. The ReceiveTimeout property affects the timeout for receive operations.

If a network operation times out, the method that was executing throws an instance of Hunny.Mail.Exception with the value of Exception.ErrorCode set to ErrorCode.TimedOut.

See Also

Imap4Client Class | Hunny.Mail Namespace