LumiSoft Net Help
QuickSendSmartHost Method (host, port, ssl, from, to, message)
Namespaces ► LumiSoft.Net.SMTP.Client ► SMTP_Client ► QuickSendSmartHost(String, Int32, Boolean, String, array<String>[]()[][], Stream)
Sends message by using specified smart host.
Declaration Syntax

C# | Visual Basic | Visual C++ | F#

    public static void QuickSendSmartHost(
    	string host,
    	int port,
    	bool ssl,
    	string from,
    	string[] to,
    	Stream message
    )

    Public Shared Sub QuickSendSmartHost (
    	host As String,
    	port As Integer,
    	ssl As Boolean,
    	from As String,
    	to As String(),
    	message As Stream
    )

    public:
    static void QuickSendSmartHost(
    	String^ host,
    	int port,
    	bool ssl,
    	String^ from,
    	array<String^>^ to,
    	Stream^ message
    )

    static member QuickSendSmartHost :
            host : string *
            port : int *
            ssl : bool *
            from : string *
            to : string[] *
            message : Stream -> unit

Parameters

host (String)
  Host name or IP address.

port (Int32)
  Host port.

ssl (Boolean)
  Specifies if connected via SSL.

from (String)
  Sender email what is reported to SMTP server.

to (array<String>[]()[][])
  Recipients email addresses.

message (Stream)
  Raw message to send.

Exceptions

Exception | Condition
--- | ---
ArgumentNullException | Is raised when argument host,from,to or stream is null.
ArgumentException | Is raised when any of the method arguments has invalid value.
SMTP_ClientException | Is raised when SMTP server returns error.

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