LumiSoft Net Help
SMTP_Server Class
NamespacesLumiSoft.Net.SMTP.ServerSMTP_Server
This class implements SMTP server. Defined RFC 5321.
Declaration Syntax
C#Visual BasicVisual C++F#
public class SMTP_Server : TCP_Server<SMTP_Session>
Public Class SMTP_Server
	Inherits TCP_Server(Of SMTP_Session)
public ref class SMTP_Server : public TCP_Server<SMTP_Session^>
type SMTP_Server =  
    class
        inherit TCP_Server<SMTP_Session>
    end
Members
All MembersConstructorsMethodsPropertiesEvents



IconMemberDescription
SMTP_Server()()()()
Default constructor.

Bindings
Gets or sets TCP server IP bindings.
(Inherited from TCP_Server<(Of <(<'T>)>)>.)
ConnectionsProcessed
Gets how many connections this TCP server has processed.
(Inherited from TCP_Server<(Of <(<'T>)>)>.)
Dispose()()()()
Cleans up any resources being used.
(Inherited from TCP_Server<(Of <(<'T>)>)>.)
Disposed
This event is raised when TCP server has disposed.
(Inherited from TCP_Server<(Of <(<'T>)>)>.)
Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Error
This event is raised when TCP server has unknown unhandled error.
(Inherited from TCP_Server<(Of <(<'T>)>)>.)
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.)
GreetingText
Gets or sets server greeting text.

IsDisposed
Gets if server is disposed.
(Inherited from TCP_Server<(Of <(<'T>)>)>.)
IsRunning
Gets if server is running.
(Inherited from TCP_Server<(Of <(<'T>)>)>.)
LocalEndPoints
Gets local listening IP end points.
(Inherited from TCP_Server<(Of <(<'T>)>)>.)
Logger
Gets or sets logger. Value null means no logging.
(Inherited from TCP_Server<(Of <(<'T>)>)>.)
MaxBadCommands
Gets or sets how many bad commands session can have before it's terminated. Value 0 means unlimited.

MaxConnections
Gets or sets maximum allowed concurent connections. Value 0 means unlimited.
(Inherited from TCP_Server<(Of <(<'T>)>)>.)
MaxConnectionsPerIP
Gets or sets maximum allowed connections for 1 IP address. Value 0 means unlimited.
(Inherited from TCP_Server<(Of <(<'T>)>)>.)
MaxMessageSize
Gets or sets maximum message size in bytes.

MaxRecipients
Gets or sets maximum allowed recipients per SMTP transaction.

MaxTransactions
Gets or sets maximum mail transactions per session. Value 0 means unlimited.

MemberwiseClone()()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
OnDisposed()()()()
Raises Disposed event.
(Inherited from TCP_Server<(Of <(<'T>)>)>.)
OnMaxConnectionsExceeded(SMTP_Session)
Is called when new incoming session and server maximum allowed connections exceeded.
(Overrides TCP_Server<(Of <(<'SMTP_Session>)>)>.OnMaxConnectionsExceeded(T).)
OnMaxConnectionsPerIPExceeded(SMTP_Session)
Is called when new incoming session and server maximum allowed connections per connected IP exceeded.
(Overrides TCP_Server<(Of <(<'SMTP_Session>)>)>.OnMaxConnectionsPerIPExceeded(T).)
OnStarted()()()()
Raises Started event.
(Inherited from TCP_Server<(Of <(<'T>)>)>.)
OnStopped()()()()
Raises Stopped event.
(Inherited from TCP_Server<(Of <(<'T>)>)>.)
Restart()()()()
Restarts TCP server.
(Inherited from TCP_Server<(Of <(<'T>)>)>.)
ServiceExtentions
Gets or sets SMTP server supported service extentions. Supported values: PIPELINING,SIZE,STARTTLS,8BITMIME,BINARYMIME,CHUNKING,DSN.

SessionCreated
This event is raised when TCP server creates new session.
(Inherited from TCP_Server<(Of <(<'T>)>)>.)
SessionIdleTimeout
Gets or sets maximum allowed session idle time in seconds, after what session will be terminated. Value 0 means unlimited, but this is strongly not recommened.
(Inherited from TCP_Server<(Of <(<'T>)>)>.)
Sessions
Gets TCP server active sessions.
(Inherited from TCP_Server<(Of <(<'T>)>)>.)
Start()()()()
Starts TCP server.
(Inherited from TCP_Server<(Of <(<'T>)>)>.)
Started
This event is raised when TCP server has started.
(Inherited from TCP_Server<(Of <(<'T>)>)>.)
StartTime
Gets the time when server was started.
(Inherited from TCP_Server<(Of <(<'T>)>)>.)
Stop()()()()
Stops TCP server, all active connections will be terminated.
(Inherited from TCP_Server<(Of <(<'T>)>)>.)
Stopped
This event is raised when TCP server has stopped.
(Inherited from TCP_Server<(Of <(<'T>)>)>.)
ToString()()()()
Returns a string that represents the current object.
(Inherited from Object.)
Inheritance Hierarchy
Object
TCP_Server<(Of <(<'SMTP_Session>)>)>
 SMTP_Server

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