LumiSoft Mail Server User API
Add Method (description, host, port, ssl, userName, password, enabled)
Namespaces > LumiSoft.MailServer.API.UserAPI > UserRemoteServerCollection > Add(String, String, Int32, Boolean, String, String, Boolean)
Adds new remote server for owner user.
Syntax

C# | Visual Basic | Managed C++

    public UserRemoteServer Add (
    	string description,
    	string host,
    	int port,
    	bool ssl,
    	string userName,
    	string password,
    	bool enabled
    )

    Public Function Add ( _
    	description As String, _
    	host As String, _
    	port As Integer, _
    	ssl As Boolean, _
    	userName As String, _
    	password As String, _
    	enabled As Boolean _
    ) As UserRemoteServer

    public:
    UserRemoteServer^ Add (
    	String^ description,
    	String^ host,
    	int port,
    	bool ssl,
    	String^ userName,
    	String^ password,
    	bool enabled
    )

Parameters

description (String)
  Remote server description.
host (String)
  Remote server host name or IP.
port (Int32)
  Remote server port.
ssl (Boolean)
  Specifies if connected to remote server via SSL.
userName (String)
  Remote server user name.
password (String)
  Remote server password.
enabled (Boolean)
  Specifies if remote server is enabled.

Return Value

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

Assembly: UserAPI Version: 1.0.0.0 (Module: UserAPI)