LumiSoft Net Help
Relay_Server Class
NamespacesLumiSoft.Net.SMTP.RelayRelay_Server
This class implements SMTP relay server. Defined in RFC 2821.
Declaration Syntax
C#Visual BasicVisual C++F#
public class Relay_Server : IDisposable
Public Class Relay_Server
	Implements IDisposable
public ref class Relay_Server : IDisposable
type Relay_Server =  
    class
        interface IDisposable
    end
Members
All MembersConstructorsMethodsPropertiesEvents



IconMemberDescription
Relay_Server()()()()
Default constructor.

Bindings
Gets or sets relay server IP bindings.

Dispose()()()()
Cleans up any resources being used.

DnsClient
Gets or stes DNS client.

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Error
This event is raised when unhandled exception happens.

Finalize()()()()
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the Type of the current instance.
(Inherited from Object.)
IsDisposed
Gets if server is disposed.

IsRunning
Gets if server is running.

Logger
Gets or sets relay logger. Value null means no logging.

MaxConnections
Gets or sets maximum allowed concurent connections. Value 0 means unlimited.

MaxConnectionsPerIP
Gets or sets maximum allowed connections to 1 IP address. Value 0 means unlimited.

MemberwiseClone()()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
OnError(Exception)
Raises Error event.

OnSessionCompleted(Relay_Session, Exception)
Raises SessionCompleted event.

Queues
Gets relay queues. Queue with lower index number has higher priority.

RelayMode
Gets or sets relay mode.

SessionCompleted
This event is raised when relay session processing completes.

SessionIdleTimeout
Gets or sets session idle time in seconds when it will be timed out. Value 0 means unlimited (strongly not recomended).

Sessions
Gets active relay sessions.

SmartHosts
Gets or sets smart hosts. Smart hosts must be in priority order, lower index number means higher priority.

SmartHostsBalanceMode
Gets or sets how smart hosts will be balanced.

Start()()()()
Starts SMTP relay server.

Stop()()()()
Stops SMTP relay server.

ToString()()()()
Returns a string that represents the current object.
(Inherited from Object.)
UseTlsIfPossible
Gets or sets if TLS is used when remote server supports it.

Inheritance Hierarchy
Object
Relay_Server

Assembly: LumiSoft.Net (Module: LumiSoft.Net.dll) Version: 4.5.5510.19119