LumiSoft Net Help
Relay_SmartHost Constructor (host, port, sslMode, userName, password)
NamespacesLumiSoft.Net.SMTP.RelayRelay_SmartHostRelay_SmartHost(String, Int32, SslMode, String, String)
Default constructor.
Declaration Syntax
C#Visual BasicVisual C++F#
public Relay_SmartHost(
	string host,
	int port,
	SslMode sslMode,
	string userName,
	string password
)
Public Sub New ( 
	host As String,
	port As Integer,
	sslMode As SslMode,
	userName As String,
	password As String
)
public:
Relay_SmartHost(
	String^ host, 
	int port, 
	SslMode sslMode, 
	String^ userName, 
	String^ password
)
new : 
        host : string * 
        port : int * 
        sslMode : SslMode * 
        userName : string * 
        password : string -> Relay_SmartHost
Parameters
host (String)
Smart host name or IP address.
port (Int32)
Smart host port.
sslMode (SslMode)
Smart host SSL mode.
userName (String)
Smart host user name.
password (String)
Smart host password.
Exceptions
ExceptionCondition
ArgumentNullExceptionIs raised when host is null.
ArgumentExceptionIs raised when any of the arguments has invalid value.

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