Rebex
Products Downloads Buy Support Contact
Show / Hide Table of Contents

Smtp.KeepAliveAsync Method

Namespace: Rebex.Net
Assembly: Rebex.Smtp.dll (version 7.0.9147)

KeepAliveAsync(Object)

Begins asynchronous KeepAlive operation. Sends the NOOP command to the server to keep the connection alive.

Declaration
public Task KeepAliveAsync(object state = null)
Parameters
Type Name Description
Object state

An optional user-provided object that identifies this particular asynchronous operation.

Returns
Type Description
Task
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.

In This Article
  • KeepAliveAsync(Object)
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies