Pop3Client.CreateAsync
Pop3Client.CreateAsync method
Creates a new instance of the Pop3Client
class
public static Task<IAsyncPop3Client> CreateAsync(string host, string username,
IAsyncTokenProvider asyncTokenProvider, int port = 110,
SecurityOptions securityOptions = SecurityOptions.Auto,
CancellationToken cancellationToken = default)
Parameter | Type | Description |
---|---|---|
host | String | The host name |
port | String | The port number |
username | IAsyncTokenProvider | The user name |
asyncTokenProvider | Int32 | The access token provider. |
securityOptions | SecurityOptions | Security mode for a mail client |
cancellationToken | CancellationToken | The cancellation token. |
See Also
- interface IAsyncPop3Client
- interface IAsyncTokenProvider
- enum SecurityOptions
- class Pop3Client
- namespace Aspose.Email.Clients.Pop3
- assembly Aspose.Email