LumiSoft Mail Server User API
Add_ForwardToHost Method (description, host, port)
Namespaces > LumiSoft.MailServer.API.UserAPI > GlobalMessageRuleActionCollection > Add_ForwardToHost(String, String, Int32)
Creates and adds new 'Forward To Host' action to GlobalMessageRuleActionCollection collection.
Syntax

C# | Visual Basic | Managed C++

    public GlobalMessageRuleAction_ForwardToHost Add_ForwardToHost (
    	string description,
    	string host,
    	int port
    )

    Public Function Add_ForwardToHost ( _
    	description As String, _
    	host As String, _
    	port As Integer _
    ) As GlobalMessageRuleAction_ForwardToHost

    public:
    GlobalMessageRuleAction_ForwardToHost^ Add_ForwardToHost (
    	String^ description,
    	String^ host,
    	int port
    )

Parameters

description (String)
  Action description text.
host (String)
  Host name or IP where to forward message.
port (Int32)
  Destination host port.

Return Value

[Missing <returns> documentation for M:LumiSoft.MailServer.API.UserAPI.GlobalMessageRuleActionCollection.Add_ForwardToHost(System.String,System.String,System.Int32)]

Assembly: UserAPI Version: 1.0.0.0 (Module: UserAPI)