EmailClient.CreateConnection

CreateConnection()

Creates new independent connection for operations not linked to threads (not default connection). Invocation of this method is similar to invocation of CreateConnection(createAsDefaultConnection = false) Please see more in documentation for EmailClient.ConnectionAsgmtMode property.

public virtual IConnection CreateConnection()

Return Value

Returns connection object

See Also


CreateConnection(bool)

Creates new (default or independent) connection for operations. Please see more in documentation for EmailClient.ConnectionAsgmtMode property.

public virtual IConnection CreateConnection(bool createAsDefaultConnection)
ParameterTypeDescription
createAsDefaultConnectionBooleanIndicates if connection has to be created as default for current thread

Return Value

Returns connection object

See Also