Pop3ConnectAsync Method (String, Int32, Boolean) |
Namespace: MailBee.Pop3MailAssembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
Syntax public Task<bool> ConnectAsync(
string serverName,
int port,
bool pipelining
)
Public Function ConnectAsync (
serverName As String,
port As Integer,
pipelining As Boolean
) As Task(Of Boolean)
Parameters
- serverName
- Type: SystemString
The name or IP address of the POP3 server. - port
- Type: SystemInt32
The port on which to communicate with the server. The standard POP3 port is 110. For TLS/SSL connections, dedicated port is 995
(however, TLS/SSL connections via regular port are possible too, see SslMode and StartTls topics). - pipelining
- Type: SystemBoolean
Specifies whether to use commands pipelining if it's supported by the server.
Return Value
Type:
TaskBooleanA task that represents the asynchronous operation.
The value of
TResult parameter is
true if a connection attempt succeeded; otherwise,
false.
Exceptions See Also