IAsyncPop3Client
内容
[
隐藏
]IAsyncPop3Client interface
允许应用程序使用邮局协议版本 3 (POP3) 访问和操作 邮件。
public interface IAsyncPop3Client : IDisposable
方法
姓名 | 描述 |
---|---|
CommitDeletesAsync(int, IConnection, CancellationToken) | 提交删除 |
DeleteMessageAsync(int, IConnection, CancellationToken) | 删除消息 |
DeleteMessageAsync(string, IConnection, CancellationToken) | 删除消息 |
DeleteMessagesAsync(IConnection, CancellationToken) | 删除所有消息 |
FetchMessageAsync(int, IConnection, CancellationToken) | 获取消息 |
FetchMessageAsync(string, IConnection, CancellationToken) | 获取消息 |
FetchMessagesAsync(IEnumerable<int>, IConnection, CancellationToken) | 异步获取消息 |
FetchMessagesAsync(IEnumerable<string>, IConnection, CancellationToken) | 异步获取消息 |
GetMailboxInfoAsync(bool, IConnection, CancellationToken) | 获取邮箱状态信息 |
GetMailboxSizeAsync(IConnection, CancellationToken) | 获取邮箱大小 |
GetMessageCountAsync(bool, IConnection, CancellationToken) | 获取消息计数 |
GetMessageHeadersAsync(int, IConnection, CancellationToken) | 获取消息头 |
GetMessageHeadersAsync(string, IConnection, CancellationToken) | 获取消息头 |
GetMessageInfoAsync(int, Pop3ListFields, IConnection, CancellationToken) | 获取该消息的信息 |
GetMessageInfoAsync(string, Pop3ListFields, IConnection, CancellationToken) | 获取该消息的信息 |
GetMessageSizeAsync(int, IConnection, CancellationToken) | 获取消息的大小 |
GetMessageSizeAsync(string, IConnection, CancellationToken) | 获取消息的大小 |
GetMessageUniqueIdAsync(int, IConnection, CancellationToken) | 获取消息唯一id |
ListMessagesAsync(Pop3ListFields, bool, MailQuery, IConnection, CancellationToken) | 列出消息。 |
LoadMessageInfoListAsync(Pop3LoadMessageInfoList) | 加载 Pop3MessageInfo 列表 |
NoopAsync(IConnection, CancellationToken) | ‘无操作’ 命令 |
SaveMessageAsync(Pop3SaveMessage) | 获取消息并将其保存为流 |
UndeleteMessagesAsync(IConnection, CancellationToken) | 取消删除邮件。 如果任何邮件已被 POP3 服务器标记为已删除,它们将被取消标记。 |
ValidateCredentialsAsync(IConnection, CancellationToken) | 执行凭据验证 |