LumiSoft Net Help
QuickSend Method (localHost, from, to, message)
Namespaces ► LumiSoft.Net.SMTP.Client ► SMTP_Client ► QuickSend(String, String, String, Stream)
Sends message directly to email domain. Domain email sever resolve order: MX recordds -> A reords if no MX.
Declaration Syntax

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

    public static void QuickSend(
    	string localHost,
    	string from,
    	string to,
    	Stream message
    )

    Public Shared Sub QuickSend (
    	localHost As String,
    	from As String,
    	to As String,
    	message As Stream
    )

    public:
    static void QuickSend(
    	String^ localHost,
    	String^ from,
    	String^ to,
    	Stream^ message
    )

    static member QuickSend :
            localHost : string *
            from : string *
            to : string *
            message : Stream -> unit

Parameters

localHost (String)
  Host name which is reported to SMTP server.

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

to (String)
  Recipient email.

message (Stream)
  Raw message to send.

Exceptions

Exception | Condition
--- | ---
ArgumentNullException | Is raised when from,to or message is null.
ArgumentException | Is raised when any of the 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