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.