Catalyst Internet Mail .NET

InternetMail.Timeout Property

Gets and sets a value which specifies a timeout period in seconds.

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

Property Value

An integer value which specifies a timeout period in seconds.

Remarks

Setting the Timeout property specifies the number of seconds until a blocking operation fails and returns an error. A value of zero indicates that the blocking operation should wait indefinitely until it completes or the Cancel method is called.

For most applications it is recommended the timeout period be set between 10 and 20 seconds.

See Also

InternetMail Class | SocketTools Namespace