LumiSoft Mail Server User API
Add_PostToNntp Method (description, host, port, newsgroup)
Namespaces > LumiSoft.MailServer.API.UserAPI > GlobalMessageRuleActionCollection > Add_PostToNntp(String, String, Int32, String)
Creates and adds new 'Post To NNTP Newsgroup' action to GlobalMessageRuleActionCollection collection.
Syntax

C# | Visual Basic | Managed C++

    public GlobalMessageRuleAction_PostToNntpNewsgroup Add_PostToNntp (
    	string description,
    	string host,
    	int port,
    	string newsgroup
    )

    Public Function Add_PostToNntp ( _
    	description As String, _
    	host As String, _
    	port As Integer, _
    	newsgroup As String _
    ) As GlobalMessageRuleAction_PostToNntpNewsgroup

    public:
    GlobalMessageRuleAction_PostToNntpNewsgroup^ Add_PostToNntp (
    	String^ description,
    	String^ host,
    	int port,
    	String^ newsgroup
    )

Parameters

description (String)
  Action description text.
host (String)
  NTTP server where to post message.
port (Int32)
  NNTP server port.
newsgroup (String)
  NTTP newsgroup where to post message.

Return Value

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

Assembly: UserAPI Version: 1.0.0.0 (Module: UserAPI)