Pop3.Connect Method
Namespace: Rebex.Net
Assembly: Rebex.Pop3.dll (version 7.0.9083)
Connect(String)
Connects to the POP3 server.
Declaration
public string Connect(string serverName)
Parameters
Type | Name | Description |
---|---|---|
String | serverName | The server address - either a hostname or a dotted string address. |
Returns
Type | Description |
---|---|
String | The welcome message returned by the server. |
Connect(String, Int32)
Connects to the POP3 server.
Declaration
public string Connect(string serverName, int serverPort)
Parameters
Type | Name | Description |
---|---|---|
String | serverName | The server address - either a hostname or a dotted string address. |
Int32 | serverPort | The server port (e.g. 110). |
Returns
Type | Description |
---|---|
String | The welcome message returned by the server. |
Connect(String, SslMode)
Connects to the POP3 server with the specified security. Use a port corresponding to the specified security mode.
Declaration
public string Connect(string serverName, SslMode security)
Parameters
Type | Name | Description |
---|---|---|
String | serverName | The server address - either a hostname or a dotted string IP address. |
SslMode | security | Connection security. |
Returns
Type | Description |
---|---|
String | The welcome message returned by the server. |
Connect(String, Int32, SslMode)
Connects to the POP3 server with the specified security.
Declaration
public string Connect(string serverName, int serverPort, SslMode security)
Parameters
Type | Name | Description |
---|---|---|
String | serverName | The server address - either a hostname or a dotted string IP address. |
Int32 | serverPort | The server port (e.g. 110). |
SslMode | security | Connection security. |
Returns
Type | Description |
---|---|
String | The welcome message returned by the server. |