LumiSoft Mail Server User API
QuickSendSmartHost Method (smartHost, port, hostName, userName, password, message)
Namespaces > LumiSoft.Net.SMTP.Client > SmtpClientEx > QuickSendSmartHost(String, Int32, String, String, String, Mime)
Sends specified message to specified smart host.
Syntax

C# | Visual Basic | Managed C++

    public static void QuickSendSmartHost (
    	string smartHost,
    	int port,
    	string hostName,
    	string userName,
    	string password,
    	Mime message
    )

    Public Shared Sub QuickSendSmartHost ( _
    	smartHost As String, _
    	port As Integer, _
    	hostName As String, _
    	userName As String, _
    	password As String, _
    	message As Mime _
    )

    public:
    static void QuickSendSmartHost (
    	String^ smartHost,
    	int port,
    	String^ hostName,
    	String^ userName,
    	String^ password,
    	Mime^ message
    )

Parameters

smartHost (String)
  Smarthost name or IP.
port (Int32)
  SMTP port number. Normally this is 25.
hostName (String)
  Host name reported to SMTP server.
userName (String)
  SMTP user name. Note: Pass empty string if no authentication wanted.
password (String)
  SMTP password.
message (Mime)
  Mime message to send.

Assembly: LumiSoft.Net Version: 2.0.2636.18419 (Module: LumiSoft.Net)