ImapConnectAsync Method (String) |
Namespace: MailBee.ImapMailAssembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
Syntax public Task<bool> ConnectAsync(
string serverName
)
Public Function ConnectAsync (
serverName As String
) As Task(Of Boolean)
Parameters
- serverName
- Type: SystemString
The name or IP address of the IMAP4 server.
Return Value
Type:
TaskBooleanA task that represents the asynchronous operation. The value of
TResult parameter is
true if the method succeeds; otherwise,
false.
Exceptions See Also