Sends the NOOP command to the server to keep the connection alive.

Namespace:  Rebex.Net
Assembly:  Rebex.Smtp (in Rebex.Smtp.dll)

Syntax

Visual Basic
Public Sub KeepAlive
C#
public void KeepAlive()

Remarks

Represents SMTP NOOP command.

Call this if you do not want the connection to the server to time out.

Some servers ignore NOOP command.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also