LumiSoft Net Help
QuickSendSmartHost Method (host, port, from, to, message)
NamespacesLumiSoft.Net.SMTP.ClientSMTP_ClientQuickSendSmartHost(String, Int32, String, array<String>[]()[][], Stream)
Sends message by using specified smart host.
Declaration Syntax
C#Visual BasicVisual C++F#
public static void QuickSendSmartHost(
	string host,
	int port,
	string from,
	string[] to,
	Stream message
)
Public Shared Sub QuickSendSmartHost ( 
	host As String,
	port As Integer,
	from As String,
	to As String(),
	message As Stream
)
public:
static void QuickSendSmartHost(
	String^ host, 
	int port, 
	String^ from, 
	array<String^>^ to, 
	Stream^ message
)
static member QuickSendSmartHost : 
        host : string * 
        port : int * 
        from : string * 
        to : string[] * 
        message : Stream -> unit 
Parameters
host (String)
Host name or IP address.
port (Int32)
Host port.
from (String)
Sender email what is reported to SMTP server.
to (array<String>[]()[][])
Recipients email addresses.
message (Stream)
Raw message to send.
Exceptions
ExceptionCondition
ArgumentNullExceptionIs raised when argument host,from,to or message is null.
ArgumentExceptionIs raised when any of the method arguments has invalid value.
SMTP_ClientExceptionIs raised when SMTP server returns error.

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