Index

A B C D E F G H I L M N O P Q R S T U V W 
All Classes and Interfaces|All Packages|Serialized Form

A

addListener(EmailListener) - Method in class cloud.opencode.base.email.listener.EmailIdleMonitor
Add a listener 添加监听器
address() - Method in class cloud.opencode.base.email.EmailAddress
Get the full email address 获取完整邮箱地址
allowSend() - Method in class cloud.opencode.base.email.security.EmailRateLimiter
Check if sending is allowed (global, not per recipient) 检查是否允许发送(全局,非按收件人)
allowSend(String) - Method in class cloud.opencode.base.email.security.EmailRateLimiter
Check if sending is allowed for recipient 检查是否允许向收件人发送
allSucceeded() - Method in record class cloud.opencode.base.email.BatchSendResult
Check if all emails were sent successfully 检查是否所有邮件都已成功发送
answered() - Method in record class cloud.opencode.base.email.EmailFlags
Returns the value of the answered record component.
ARCHIVE - Enum constant in enum class cloud.opencode.base.email.query.EmailFolder
Archive folder 归档文件夹
AsyncEmailReceiver - Class in cloud.opencode.base.email.receiver
Async Email Receiver Wrapper 异步邮件接收器包装
AsyncEmailReceiver(EmailReceiver) - Constructor for class cloud.opencode.base.email.receiver.AsyncEmailReceiver
Create async receiver with delegate 使用委托创建异步接收器
AsyncEmailReceiver.Builder - Class in cloud.opencode.base.email.receiver
Async Email Receiver Builder 异步邮件接收器构建器
AsyncEmailSender - Class in cloud.opencode.base.email.sender
Async Email Sender 异步邮件发送器
AsyncEmailSender(EmailSender) - Constructor for class cloud.opencode.base.email.sender.AsyncEmailSender
Create async sender with delegate sender 使用代理发送器创建异步发送器
AsyncEmailSender(EmailSender, EmailRetryExecutor) - Constructor for class cloud.opencode.base.email.sender.AsyncEmailSender
Create async sender with delegate and retry executor 使用代理发送器和重试执行器创建异步发送器
AsyncEmailSender(EmailSender, ExecutorService, EmailRetryExecutor, boolean) - Constructor for class cloud.opencode.base.email.sender.AsyncEmailSender
Create async sender with all parameters 使用所有参数创建异步发送器
AsyncEmailSender.Builder - Class in cloud.opencode.base.email.sender
Builder for AsyncEmailSender AsyncEmailSender构建器
attach(Attachment) - Method in class cloud.opencode.base.email.Email.Builder
Add attachment 添加附件
attach(Path) - Method in class cloud.opencode.base.email.Email.Builder
Add file attachment 添加文件附件
attachAll(Collection) - Method in class cloud.opencode.base.email.Email.Builder
Add multiple attachments 添加多个附件
Attachment - Interface in cloud.opencode.base.email
Email Attachment Interface 邮件附件接口
ATTACHMENT_DOWNLOAD_FAILED - Enum constant in enum class cloud.opencode.base.email.exception.EmailErrorCode
Attachment download failed - 附件下载失败
AttachmentData(String, String, byte[], boolean, String) - Constructor for record class cloud.opencode.base.email.protocol.mime.MimeBuilder.AttachmentData
Creates an instance of a AttachmentData record class.
attachments() - Method in record class cloud.opencode.base.email.Email
Returns the value of the attachments record component.
attachments() - Method in record class cloud.opencode.base.email.protocol.mime.ParsedMessage
Returns the value of the attachments record component.
attachments() - Method in record class cloud.opencode.base.email.ReceivedEmail
Returns the value of the attachments record component.
attachments(List) - Method in class cloud.opencode.base.email.ReceivedEmail.Builder
 
AUTH_FAILED - Enum constant in enum class cloud.opencode.base.email.exception.EmailErrorCode
Authentication failed - 认证失败
authenticateXOAuth2(String, String) - Method in class cloud.opencode.base.email.protocol.imap.ImapClient
Authenticate using XOAUTH2 mechanism 使用 XOAUTH2 机制进行认证
authLogin(String, String) - Method in class cloud.opencode.base.email.protocol.smtp.SmtpClient
Authenticate using the LOGIN mechanism 使用LOGIN机制认证
authPlain(String, String) - Method in class cloud.opencode.base.email.protocol.smtp.SmtpClient
Authenticate using the PLAIN mechanism (RFC 4616) 使用PLAIN机制认证(RFC 4616)
authXOAuth2(String, String) - Method in class cloud.opencode.base.email.protocol.pop3.Pop3Client
Authenticate using AUTH XOAUTH2 使用AUTH XOAUTH2进行认证
authXOAuth2(String, String) - Method in class cloud.opencode.base.email.protocol.smtp.SmtpClient
Authenticate using the XOAUTH2 mechanism (for Gmail/Outlook) 使用XOAUTH2机制认证(适用于Gmail/Outlook)

B

backoffMultiplier(double) - Method in class cloud.opencode.base.email.retry.EmailRetryExecutor.Builder
Set backoff multiplier 设置退避因子
BatchSendResult - Record Class in cloud.opencode.base.email
Batch Email Send Result 批量邮件发送结果
BatchSendResult(List, Instant, Duration) - Constructor for record class cloud.opencode.base.email.BatchSendResult
Creates an instance of a BatchSendResult record class.
BatchSendResult.ItemResult - Record Class in cloud.opencode.base.email
Individual email send result within a batch 批量中单封邮件的发送结果
bcc() - Method in record class cloud.opencode.base.email.Email
Returns the value of the bcc record component.
bcc() - Method in record class cloud.opencode.base.email.protocol.mime.ParsedMessage
Returns the value of the bcc record component.
bcc() - Method in record class cloud.opencode.base.email.ReceivedEmail
Returns the value of the bcc record component.
bcc(String...) - Method in class cloud.opencode.base.email.Email.Builder
Add BCC recipient email addresses 添加密送收件人邮箱地址
bcc(Collection) - Method in class cloud.opencode.base.email.Email.Builder
Add BCC recipient email addresses from collection 从集合添加密送收件人邮箱地址
bcc(List) - Method in class cloud.opencode.base.email.ReceivedEmail.Builder
 
bodyContains() - Method in record class cloud.opencode.base.email.query.EmailQuery
Returns the value of the bodyContains record component.
bodyContains(String) - Method in class cloud.opencode.base.email.query.EmailQuery.Builder
Filter by body containing text 按正文包含文本过滤
build() - Method in class cloud.opencode.base.email.Email.Builder
Build the email 构建邮件
build() - Method in class cloud.opencode.base.email.EmailConfig.Builder
Build the configuration 构建配置
build() - Method in class cloud.opencode.base.email.EmailReceiveConfig.Builder
Build the configuration 构建配置
build() - Method in class cloud.opencode.base.email.listener.EmailIdleMonitor.Builder
Build the monitor 构建监控器
build() - Method in class cloud.opencode.base.email.query.EmailQuery.Builder
Build the query 构建查询
build() - Method in class cloud.opencode.base.email.ReceivedEmail.Builder
 
build() - Method in class cloud.opencode.base.email.receiver.AsyncEmailReceiver.Builder
Build the async receiver 构建异步接收器
build() - Method in class cloud.opencode.base.email.retry.EmailRetryExecutor.Builder
Build the executor 构建执行器
build() - Method in class cloud.opencode.base.email.sender.AsyncEmailSender.Builder
Build the async sender 构建异步发送器
builder() - Static method in record class cloud.opencode.base.email.Email
Create a new builder 创建新的构建器
builder() - Static method in record class cloud.opencode.base.email.EmailConfig
Create a new builder 创建新的构建器
builder() - Static method in record class cloud.opencode.base.email.EmailReceiveConfig
Create a new builder 创建新的构建器
builder() - Static method in class cloud.opencode.base.email.listener.EmailIdleMonitor
Create a new builder 创建新的构建器
builder() - Static method in record class cloud.opencode.base.email.query.EmailQuery
Create a new builder 创建新的构建器
builder() - Static method in record class cloud.opencode.base.email.ReceivedEmail
Create a new builder 创建新的构建器
builder() - Static method in class cloud.opencode.base.email.receiver.AsyncEmailReceiver
Create a new builder 创建新的构建器
builder() - Static method in class cloud.opencode.base.email.retry.EmailRetryExecutor
Create a builder for EmailRetryExecutor 创建EmailRetryExecutor构建器
builder() - Static method in class cloud.opencode.base.email.sender.AsyncEmailSender
Create a builder 创建构建器
Builder() - Constructor for class cloud.opencode.base.email.Email.Builder
 
Builder() - Constructor for class cloud.opencode.base.email.EmailConfig.Builder
 
Builder() - Constructor for class cloud.opencode.base.email.EmailReceiveConfig.Builder
 
Builder() - Constructor for class cloud.opencode.base.email.listener.EmailIdleMonitor.Builder
 
Builder() - Constructor for class cloud.opencode.base.email.query.EmailQuery.Builder
 
Builder() - Constructor for class cloud.opencode.base.email.ReceivedEmail.Builder
 
Builder() - Constructor for class cloud.opencode.base.email.receiver.AsyncEmailReceiver.Builder
 
Builder() - Constructor for class cloud.opencode.base.email.retry.EmailRetryExecutor.Builder
 
Builder() - Constructor for class cloud.opencode.base.email.sender.AsyncEmailSender.Builder
 
buildMessage(String, String, List, List, List, String, String, String, String, boolean, String, List, Map, int, String) - Static method in class cloud.opencode.base.email.protocol.mime.MimeBuilder
Build a complete RFC 2822 MIME message 构建完整的 RFC 2822 MIME 消息
ByteArrayAttachment - Class in cloud.opencode.base.email.attachment
Byte Array Email Attachment 字节数组邮件附件
ByteArrayAttachment(String, byte[]) - Constructor for class cloud.opencode.base.email.attachment.ByteArrayAttachment
Create byte array attachment 创建字节数组附件
ByteArrayAttachment(String, byte[], String) - Constructor for class cloud.opencode.base.email.attachment.ByteArrayAttachment
Create byte array attachment with content type 创建带内容类型的字节数组附件

C

cause() - Method in record class cloud.opencode.base.email.BatchSendResult.ItemResult
Returns the value of the cause record component.
cause() - Method in record class cloud.opencode.base.email.ConnectionTestResult
Returns the value of the cause record component.
cc() - Method in record class cloud.opencode.base.email.Email
Returns the value of the cc record component.
cc() - Method in record class cloud.opencode.base.email.protocol.mime.ParsedMessage
Returns the value of the cc record component.
cc() - Method in record class cloud.opencode.base.email.ReceivedEmail
Returns the value of the cc record component.
cc(String...) - Method in class cloud.opencode.base.email.Email.Builder
Add CC recipient email addresses 添加抄送收件人邮箱地址
cc(Collection) - Method in class cloud.opencode.base.email.Email.Builder
Add CC recipient email addresses from collection 从集合添加抄送收件人邮箱地址
cc(List) - Method in class cloud.opencode.base.email.ReceivedEmail.Builder
 
clear() - Method in class cloud.opencode.base.email.testing.InMemoryEmailSender
Clear all captured emails 清空所有已捕获的邮件
clearCache() - Static method in class cloud.opencode.base.email.template.SimpleEmailTemplate
Clear template cache 清除模板缓存
clearFailureSimulator() - Method in class cloud.opencode.base.email.testing.InMemoryEmailSender
Remove failure simulator 移除失败模拟器
close() - Method in class cloud.opencode.base.email.receiver.ImapEmailReceiver
Close the receiver (alias for disconnect) 关闭接收器(disconnect的别名)
close() - Method in class cloud.opencode.base.email.receiver.Pop3EmailReceiver
Close the receiver (alias for disconnect) 关闭接收器(disconnect的别名)
close() - Method in class cloud.opencode.base.email.testing.InMemoryEmailSender
Close the sender and release resources 关闭发送器并释放资源
close() - Method in class cloud.opencode.base.email.sender.SmtpEmailSender
Close the sender and release resources 关闭发送器并释放资源
close() - Method in class cloud.opencode.base.email.listener.EmailIdleMonitor
 
close() - Method in class cloud.opencode.base.email.protocol.imap.ImapClient
Close the IMAP client, logging out if connected 关闭 IMAP 客户端,如已连接则先注销
close() - Method in class cloud.opencode.base.email.protocol.MailConnection
 
close() - Method in class cloud.opencode.base.email.protocol.pop3.Pop3Client
Close the connection without sending QUIT 不发送QUIT直接关闭连接
close() - Method in class cloud.opencode.base.email.protocol.smtp.SmtpClient
Close the connection, ignoring any errors 关闭连接,忽略任何错误
close() - Method in class cloud.opencode.base.email.receiver.AsyncEmailReceiver
 
close() - Method in class cloud.opencode.base.email.sender.AsyncEmailSender
 
cloud.opencode.base.email - module cloud.opencode.base.email
OpenCode Base Email Module OpenCode 基础邮件模块
cloud.opencode.base.email - package cloud.opencode.base.email
 
cloud.opencode.base.email.attachment - package cloud.opencode.base.email.attachment
 
cloud.opencode.base.email.exception - package cloud.opencode.base.email.exception
 
cloud.opencode.base.email.listener - package cloud.opencode.base.email.listener
 
cloud.opencode.base.email.protocol - package cloud.opencode.base.email.protocol
 
cloud.opencode.base.email.protocol.imap - package cloud.opencode.base.email.protocol.imap
 
cloud.opencode.base.email.protocol.mime - package cloud.opencode.base.email.protocol.mime
 
cloud.opencode.base.email.protocol.pop3 - package cloud.opencode.base.email.protocol.pop3
 
cloud.opencode.base.email.protocol.smtp - package cloud.opencode.base.email.protocol.smtp
 
cloud.opencode.base.email.query - package cloud.opencode.base.email.query
 
cloud.opencode.base.email.receiver - package cloud.opencode.base.email.receiver
 
cloud.opencode.base.email.retry - package cloud.opencode.base.email.retry
 
cloud.opencode.base.email.security - package cloud.opencode.base.email.security
 
cloud.opencode.base.email.sender - package cloud.opencode.base.email.sender
 
cloud.opencode.base.email.template - package cloud.opencode.base.email.template
 
cloud.opencode.base.email.testing - package cloud.opencode.base.email.testing
 
compareTo(EmailAddress) - Method in class cloud.opencode.base.email.EmailAddress
 
config() - Static method in class cloud.opencode.base.email.OpenEmail
Create configuration builder 创建配置构建器
config(EmailConfig) - Method in class cloud.opencode.base.email.sender.AsyncEmailSender.Builder
Set delegate sender from config 从配置设置代理发送器
config(EmailReceiveConfig) - Method in class cloud.opencode.base.email.listener.EmailIdleMonitor.Builder
Set the receive configuration 设置接收配置
config(EmailReceiveConfig) - Method in class cloud.opencode.base.email.receiver.AsyncEmailReceiver.Builder
Set the configuration (creates receiver automatically) 设置配置(自动创建接收器)
CONFIG_INVALID - Enum constant in enum class cloud.opencode.base.email.exception.EmailErrorCode
Invalid configuration - 配置无效
configure(EmailConfig) - Static method in class cloud.opencode.base.email.OpenEmail
Configure default email sender 配置默认邮件发送器
configure(EmailConfig, EmailSender) - Static method in class cloud.opencode.base.email.OpenEmail
Configure with custom sender 使用自定义发送器配置
configure(String, int, String, String) - Static method in class cloud.opencode.base.email.OpenEmail
Quick configuration 快速配置
configureReceiver(EmailReceiveConfig) - Static method in class cloud.opencode.base.email.OpenEmail
Configure email receiver 配置邮件接收器
configureReceiver(EmailReceiveConfig, EmailReceiver) - Static method in class cloud.opencode.base.email.OpenEmail
Configure receiver with custom implementation 使用自定义实现配置接收器
configureReceiver(String, String, String, boolean) - Static method in class cloud.opencode.base.email.OpenEmail
Quick receiver configuration 快速接收器配置
connect() - Method in class cloud.opencode.base.email.protocol.imap.ImapClient
Connect to the IMAP server and read the greeting 连接到 IMAP 服务器并读取问候语
connect() - Method in class cloud.opencode.base.email.protocol.MailConnection
Connect to the server 连接到服务器
connect() - Method in class cloud.opencode.base.email.protocol.pop3.Pop3Client
Connect to the POP3 server and read the greeting 连接到POP3服务器并读取问候语
connect() - Method in class cloud.opencode.base.email.protocol.smtp.SmtpClient
Connect to the SMTP server and perform the EHLO handshake 连接到SMTP服务器并执行EHLO握手
connect() - Method in class cloud.opencode.base.email.receiver.AsyncEmailReceiver
Connect to mail server 连接到邮件服务器
connect() - Method in class cloud.opencode.base.email.receiver.ImapEmailReceiver
 
connect() - Method in class cloud.opencode.base.email.receiver.Pop3EmailReceiver
 
connectAsync() - Method in class cloud.opencode.base.email.receiver.AsyncEmailReceiver
Connect to mail server asynchronously 异步连接到邮件服务器
CONNECTION_FAILED - Enum constant in enum class cloud.opencode.base.email.exception.EmailErrorCode
Connection failed - 连接失败
CONNECTION_LOST - Enum constant in enum class cloud.opencode.base.email.exception.EmailErrorCode
Connection lost - 连接丢失
CONNECTION_TIMEOUT - Enum constant in enum class cloud.opencode.base.email.exception.EmailErrorCode
Connection timeout - 连接超时
connectionLost(Throwable) - Static method in exception class cloud.opencode.base.email.exception.EmailReceiveException
Create exception for connection lost 创建连接丢失异常
ConnectionTestResult - Record Class in cloud.opencode.base.email
SMTP Connection Test Result SMTP连接测试结果
ConnectionTestResult(boolean, String, Duration, String, Throwable) - Constructor for record class cloud.opencode.base.email.ConnectionTestResult
Creates an instance of a ConnectionTestResult record class.
connectionTimeout() - Method in record class cloud.opencode.base.email.EmailConfig
Returns the value of the connectionTimeout record component.
connectionTimeout() - Method in record class cloud.opencode.base.email.EmailReceiveConfig
Returns the value of the connectionTimeout record component.
connectionTimeout(Duration) - Method in class cloud.opencode.base.email.EmailConfig.Builder
Set connection timeout 设置连接超时
connectionTimeout(Duration) - Method in class cloud.opencode.base.email.EmailReceiveConfig.Builder
Set connection timeout 设置连接超时
content() - Method in record class cloud.opencode.base.email.Email
Returns the value of the content record component.
contentId() - Method in record class cloud.opencode.base.email.protocol.mime.MimeBuilder.AttachmentData
Returns the value of the contentId record component.
contentId() - Method in record class cloud.opencode.base.email.protocol.mime.ParsedMessage.ParsedAttachment
Returns the value of the contentId record component.
contentType() - Method in record class cloud.opencode.base.email.protocol.mime.MimeBuilder.AttachmentData
Returns the value of the contentType record component.
contentType() - Method in record class cloud.opencode.base.email.protocol.mime.ParsedMessage.ParsedAttachment
Returns the value of the contentType record component.
copy(int, String) - Method in class cloud.opencode.base.email.protocol.imap.ImapClient
Copy a message to another folder 复制邮件到另一个文件夹
corePoolSize(int) - Method in class cloud.opencode.base.email.sender.AsyncEmailSender.Builder
Set core pool size (for platform threads) 设置核心线程池大小(用于平台线程)
createHtmlTemplate(String, String) - Static method in class cloud.opencode.base.email.template.SimpleEmailTemplate
Create a simple HTML email template 创建简单的HTML邮件模板
createMonitor(EmailListener) - Static method in class cloud.opencode.base.email.OpenEmail
Create email monitor for real-time notifications 创建邮件监控器用于实时通知
createMonitor(String, EmailListener) - Static method in class cloud.opencode.base.email.OpenEmail
Create email monitor for specific folder 为特定文件夹创建邮件监控器

D

data() - Method in record class cloud.opencode.base.email.protocol.mime.MimeBuilder.AttachmentData
Returns the value of the data record component.
data() - Method in record class cloud.opencode.base.email.protocol.mime.ParsedMessage.ParsedAttachment
Returns the value of the data record component.
dateRange(LocalDateTime, LocalDateTime) - Method in class cloud.opencode.base.email.query.EmailQuery.Builder
Set date range for emails 设置邮件日期范围
dayRemaining() - Method in record class cloud.opencode.base.email.security.EmailRateLimiter.RateLimitQuota
Returns the value of the dayRemaining record component.
debug() - Method in record class cloud.opencode.base.email.EmailConfig
Returns the value of the debug record component.
debug() - Method in record class cloud.opencode.base.email.EmailReceiveConfig
Returns the value of the debug record component.
debug(boolean) - Method in class cloud.opencode.base.email.EmailConfig.Builder
Enable debug mode 启用调试模式
debug(boolean) - Method in class cloud.opencode.base.email.EmailReceiveConfig.Builder
Enable debug mode 启用调试模式
decodeBase64(String) - Static method in class cloud.opencode.base.email.protocol.mime.MimeEncoder
Decode a MIME Base64 encoded string to binary data 将 MIME Base64 编码字符串解码为二进制数据
decodeQuotedPrintable(String) - Static method in class cloud.opencode.base.email.protocol.mime.MimeEncoder
Decode a Quoted-Printable encoded string 解码 Quoted-Printable 编码字符串
decodeQuotedPrintable(String, Charset) - Static method in class cloud.opencode.base.email.protocol.mime.MimeEncoder
Decode a Quoted-Printable encoded string with the specified charset 使用指定字符集解码 Quoted-Printable 编码字符串
decodeWord(String) - Static method in class cloud.opencode.base.email.protocol.mime.MimeEncoder
Decode an RFC 2047 encoded-word string 解码 RFC 2047 编码字字符串
defaultFolder() - Method in record class cloud.opencode.base.email.EmailReceiveConfig
Returns the value of the defaultFolder record component.
defaultFolder(String) - Method in class cloud.opencode.base.email.EmailReceiveConfig.Builder
Set default folder to read from 设置默认读取文件夹
defaultFrom() - Method in record class cloud.opencode.base.email.EmailConfig
Returns the value of the defaultFrom record component.
defaultFrom(String) - Method in class cloud.opencode.base.email.EmailConfig.Builder
Set default sender email 设置默认发件人邮箱
defaultFrom(String, String) - Method in class cloud.opencode.base.email.EmailConfig.Builder
Set default sender email with display name 设置默认发件人邮箱和显示名称
defaultFromName() - Method in record class cloud.opencode.base.email.EmailConfig
Returns the value of the defaultFromName record component.
dele(int) - Method in class cloud.opencode.base.email.protocol.pop3.Pop3Client
DELE - mark a message for deletion DELE - 标记邮件待删除
delete(String) - Static method in class cloud.opencode.base.email.OpenEmail
Delete email 删除邮件
delete(String) - Method in class cloud.opencode.base.email.receiver.ImapEmailReceiver
 
delete(String) - Method in class cloud.opencode.base.email.receiver.Pop3EmailReceiver
 
deleteAfterReceive() - Method in record class cloud.opencode.base.email.EmailReceiveConfig
Returns the value of the deleteAfterReceive record component.
deleteAfterReceive(boolean) - Method in class cloud.opencode.base.email.EmailReceiveConfig.Builder
Delete messages after receiving 接收后删除邮件
deleteAsync(String) - Static method in class cloud.opencode.base.email.OpenEmail
Delete email asynchronously 异步删除邮件
deleteAsync(String) - Method in class cloud.opencode.base.email.receiver.AsyncEmailReceiver
Delete email asynchronously 异步删除邮件
deleted() - Method in record class cloud.opencode.base.email.EmailFlags
Returns the value of the deleted record component.
disableRateLimiting() - Static method in class cloud.opencode.base.email.OpenEmail
Disable rate limiting 禁用频率限制
disconnect() - Method in class cloud.opencode.base.email.receiver.AsyncEmailReceiver
Disconnect from mail server 断开与邮件服务器的连接
disconnect() - Method in class cloud.opencode.base.email.receiver.ImapEmailReceiver
 
disconnect() - Method in class cloud.opencode.base.email.receiver.Pop3EmailReceiver
 
dkim() - Method in record class cloud.opencode.base.email.EmailConfig
Returns the value of the dkim record component.
dkim(DkimConfig) - Method in class cloud.opencode.base.email.EmailConfig.Builder
Set DKIM signing configuration 设置DKIM签名配置
DkimConfig - Record Class in cloud.opencode.base.email.security
DKIM Signing Configuration DKIM签名配置
DkimConfig(String, String, PrivateKey, Set) - Constructor for record class cloud.opencode.base.email.security.DkimConfig
Creates an instance of a DkimConfig record class.
DkimSigner - Class in cloud.opencode.base.email.security
DKIM Message Signer DKIM消息签名器
domain() - Method in class cloud.opencode.base.email.EmailAddress
Get the domain part (after @, lowercased) 获取域名部分(@之后,已小写化)
domain() - Method in record class cloud.opencode.base.email.security.DkimConfig
Returns the value of the domain record component.
draft() - Method in record class cloud.opencode.base.email.EmailFlags
Returns the value of the draft record component.
DRAFTS - Enum constant in enum class cloud.opencode.base.email.query.EmailFolder
Drafts folder 草稿箱文件夹
duration() - Method in record class cloud.opencode.base.email.BatchSendResult
Returns the value of the duration record component.

E

email() - Method in record class cloud.opencode.base.email.BatchSendResult.ItemResult
Returns the value of the email record component.
email() - Static method in class cloud.opencode.base.email.OpenEmail
Create email builder with default from address 创建带默认发件人的邮件构建器
Email - Record Class in cloud.opencode.base.email
Email Entity Record 邮件实体记录
Email(String, String, List, List, List, String, String, boolean, String, List, Map, String, Email.Priority) - Constructor for record class cloud.opencode.base.email.Email
Creates an instance of a Email record class.
Email.Builder - Class in cloud.opencode.base.email
Email Builder 邮件构建器
Email.Priority - Enum Class in cloud.opencode.base.email
Email priority levels 邮件优先级
EmailAddress - Class in cloud.opencode.base.email
Validated Email Address Value Type 经过验证的邮箱地址值类型
EmailConfig - Record Class in cloud.opencode.base.email
Email Configuration Record 邮件配置记录
EmailConfig(String, int, String, String, String, boolean, boolean, String, String, Duration, Duration, int, int, Duration, boolean, DkimConfig) - Constructor for record class cloud.opencode.base.email.EmailConfig
Creates an instance of a EmailConfig record class.
EmailConfig.Builder - Class in cloud.opencode.base.email
Email Configuration Builder 邮件配置构建器
EmailConfigException - Exception Class in cloud.opencode.base.email.exception
Email Configuration Exception 邮件配置异常
EmailConfigException(String) - Constructor for exception class cloud.opencode.base.email.exception.EmailConfigException
Create configuration exception with message 使用消息创建配置异常
EmailConfigException(String, Throwable) - Constructor for exception class cloud.opencode.base.email.exception.EmailConfigException
Create configuration exception with message and cause 使用消息和原因创建配置异常
EmailErrorCode - Enum Class in cloud.opencode.base.email.exception
Email Error Code Enumeration 邮件错误码枚举
EmailException - Exception Class in cloud.opencode.base.email.exception
Email Exception Base Class 邮件异常基类
EmailException(String) - Constructor for exception class cloud.opencode.base.email.exception.EmailException
Create exception with message only 仅使用消息创建异常
EmailException(String, EmailErrorCode) - Constructor for exception class cloud.opencode.base.email.exception.EmailException
Create exception with message and error code 使用消息和错误码创建异常
EmailException(String, Throwable) - Constructor for exception class cloud.opencode.base.email.exception.EmailException
Create exception with message and cause 使用消息和原因创建异常
EmailException(String, Throwable, Email, EmailErrorCode) - Constructor for exception class cloud.opencode.base.email.exception.EmailException
Create exception with all parameters 使用所有参数创建异常
EmailFlags - Record Class in cloud.opencode.base.email
Email Flags Record 邮件标记记录
EmailFlags(boolean, boolean, boolean, boolean, boolean, boolean) - Constructor for record class cloud.opencode.base.email.EmailFlags
Creates an instance of a EmailFlags record class.
EmailFolder - Enum Class in cloud.opencode.base.email.query
Email Folder Enumeration 邮件文件夹枚举
EmailIdleMonitor - Class in cloud.opencode.base.email.listener
Email IDLE Monitor 邮件IDLE监控器
EmailIdleMonitor.Builder - Class in cloud.opencode.base.email.listener
Email IDLE Monitor Builder 邮件IDLE监控器构建器
EmailListener - Interface in cloud.opencode.base.email.listener
Email Listener Interface 邮件监听器接口
EmailQuery - Record Class in cloud.opencode.base.email.query
Email Query Record 邮件查询记录
EmailQuery(String, LocalDateTime, LocalDateTime, Set, Set, String, String, boolean, boolean, boolean, boolean, int, int, EmailQuery.SortOrder) - Constructor for record class cloud.opencode.base.email.query.EmailQuery
Creates an instance of a EmailQuery record class.
EmailQuery.Builder - Class in cloud.opencode.base.email.query
Email Query Builder 邮件查询构建器
EmailQuery.SortOrder - Enum Class in cloud.opencode.base.email.query
Sort order for email queries 邮件查询排序顺序
EmailRateLimiter - Class in cloud.opencode.base.email.security
Email Rate Limiter 邮件发送频率限制器
EmailRateLimiter() - Constructor for class cloud.opencode.base.email.security.EmailRateLimiter
Create rate limiter with default limits 使用默认限制创建频率限制器
EmailRateLimiter(int, int, int) - Constructor for class cloud.opencode.base.email.security.EmailRateLimiter
Create rate limiter with custom limits 使用自定义限制创建频率限制器
EmailRateLimiter.RateLimitQuota - Record Class in cloud.opencode.base.email.security
Rate limit quota record 频率限制配额记录
EmailReceiveConfig - Record Class in cloud.opencode.base.email
Email Receive Configuration Record 邮件接收配置记录
EmailReceiveConfig(String, int, String, String, String, EmailReceiveConfig.Protocol, boolean, boolean, Duration, Duration, String, int, boolean, boolean, boolean) - Constructor for record class cloud.opencode.base.email.EmailReceiveConfig
Creates an instance of a EmailReceiveConfig record class.
EmailReceiveConfig.Builder - Class in cloud.opencode.base.email
Email Receive Configuration Builder 邮件接收配置构建器
EmailReceiveConfig.Protocol - Enum Class in cloud.opencode.base.email
Email receiving protocol 邮件接收协议
EmailReceiveException - Exception Class in cloud.opencode.base.email.exception
Email Receive Exception 邮件接收异常
EmailReceiveException(String) - Constructor for exception class cloud.opencode.base.email.exception.EmailReceiveException
Create receive exception with message 使用消息创建接收异常
EmailReceiveException(String, EmailErrorCode) - Constructor for exception class cloud.opencode.base.email.exception.EmailReceiveException
Create receive exception with message and error code 使用消息和错误码创建接收异常
EmailReceiveException(String, Throwable) - Constructor for exception class cloud.opencode.base.email.exception.EmailReceiveException
Create receive exception with message and cause 使用消息和原因创建接收异常
EmailReceiveException(String, Throwable, EmailErrorCode) - Constructor for exception class cloud.opencode.base.email.exception.EmailReceiveException
Create receive exception with message, cause and error code 使用消息、原因和错误码创建接收异常
EmailReceiveException(String, Throwable, EmailErrorCode, String, String, ReceivedEmail) - Constructor for exception class cloud.opencode.base.email.exception.EmailReceiveException
Create receive exception with full context 使用完整上下文创建接收异常
EmailRetryExecutor - Class in cloud.opencode.base.email.retry
Email Retry Executor 邮件发送重试执行器
EmailRetryExecutor() - Constructor for class cloud.opencode.base.email.retry.EmailRetryExecutor
Create retry executor with default settings 使用默认设置创建重试执行器
EmailRetryExecutor(int, Duration, double) - Constructor for class cloud.opencode.base.email.retry.EmailRetryExecutor
Create retry executor with custom settings 使用自定义设置创建重试执行器
EmailRetryExecutor(int, Duration, double, Duration) - Constructor for class cloud.opencode.base.email.retry.EmailRetryExecutor
Create retry executor with all settings 使用所有设置创建重试执行器
EmailRetryExecutor.Builder - Class in cloud.opencode.base.email.retry
Builder for EmailRetryExecutor EmailRetryExecutor构建器
EmailRetryExecutor.RetryCallback - Interface in cloud.opencode.base.email.retry
Retry callback interface 重试回调接口
EmailSecurity - Class in cloud.opencode.base.email.security
Email Security Utility Class 邮件安全工具类
EmailSecurityException - Exception Class in cloud.opencode.base.email.exception
Email Security Exception 邮件安全异常
EmailSecurityException(String) - Constructor for exception class cloud.opencode.base.email.exception.EmailSecurityException
Create security exception with message 使用消息创建安全异常
EmailSecurityException(String, EmailErrorCode) - Constructor for exception class cloud.opencode.base.email.exception.EmailSecurityException
Create security exception with message and error code 使用消息和错误码创建安全异常
EmailSecurityException(String, Throwable) - Constructor for exception class cloud.opencode.base.email.exception.EmailSecurityException
Create security exception with message and cause 使用消息和原因创建安全异常
EmailSendException - Exception Class in cloud.opencode.base.email.exception
Email Send Exception 邮件发送异常
EmailSendException(String) - Constructor for exception class cloud.opencode.base.email.exception.EmailSendException
Create send exception with message 使用消息创建发送异常
EmailSendException(String, Email, EmailErrorCode) - Constructor for exception class cloud.opencode.base.email.exception.EmailSendException
Create send exception with email and error code 使用邮件和错误码创建发送异常
EmailSendException(String, Throwable) - Constructor for exception class cloud.opencode.base.email.exception.EmailSendException
Create send exception with message and cause 使用消息和原因创建发送异常
EmailSendException(String, Throwable, Email, EmailErrorCode) - Constructor for exception class cloud.opencode.base.email.exception.EmailSendException
Create send exception with all parameters 使用所有参数创建发送异常
EmailTemplateException - Exception Class in cloud.opencode.base.email.exception
Email Template Exception 邮件模板异常
EmailTemplateException(String) - Constructor for exception class cloud.opencode.base.email.exception.EmailTemplateException
Create template exception with message 使用消息创建模板异常
EmailTemplateException(String, Throwable) - Constructor for exception class cloud.opencode.base.email.exception.EmailTemplateException
Create template exception with message and cause 使用消息和原因创建模板异常
enableRateLimiting() - Static method in class cloud.opencode.base.email.OpenEmail
Configure rate limiter with default limits 使用默认限制配置频率限制器
enableRateLimiting(int, int, int) - Static method in class cloud.opencode.base.email.OpenEmail
Configure rate limiter with custom limits 使用自定义限制配置频率限制器
encodeBase64(byte[]) - Static method in class cloud.opencode.base.email.protocol.mime.MimeEncoder
Encode binary data to MIME Base64 with 76-character line wrapping 将二进制数据编码为 MIME Base64(76字符换行)
encodeQuotedPrintable(String, String) - Static method in class cloud.opencode.base.email.protocol.mime.MimeEncoder
Encode text to Quoted-Printable encoding per RFC 2045 按 RFC 2045 将文本编码为 Quoted-Printable 编码
encodeWord(String, String) - Static method in class cloud.opencode.base.email.protocol.mime.MimeEncoder
Encode a header word using RFC 2047 Base64 encoding 使用 RFC 2047 Base64 编码对邮件头字词进行编码
equals(Object) - Method in record class cloud.opencode.base.email.BatchSendResult
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class cloud.opencode.base.email.BatchSendResult.ItemResult
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class cloud.opencode.base.email.ConnectionTestResult
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class cloud.opencode.base.email.Email
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in class cloud.opencode.base.email.EmailAddress
 
equals(Object) - Method in record class cloud.opencode.base.email.EmailConfig
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class cloud.opencode.base.email.EmailFlags
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class cloud.opencode.base.email.EmailReceiveConfig
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class cloud.opencode.base.email.protocol.mime.MimeBuilder.AttachmentData
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class cloud.opencode.base.email.protocol.mime.ParsedMessage
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class cloud.opencode.base.email.protocol.mime.ParsedMessage.ParsedAttachment
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class cloud.opencode.base.email.query.EmailQuery
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class cloud.opencode.base.email.ReceivedEmail
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class cloud.opencode.base.email.security.DkimConfig
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class cloud.opencode.base.email.security.EmailRateLimiter.RateLimitQuota
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class cloud.opencode.base.email.SendResult
Indicates whether some other object is "equal to" this one.
error() - Method in record class cloud.opencode.base.email.BatchSendResult.ItemResult
Returns the value of the error record component.
errorMessage() - Method in record class cloud.opencode.base.email.ConnectionTestResult
Returns the value of the errorMessage record component.
escapeHtml(String) - Static method in class cloud.opencode.base.email.template.SimpleEmailTemplate
Escape HTML special characters 转义HTML特殊字符
examine(String) - Method in class cloud.opencode.base.email.protocol.imap.ImapClient
Examine a folder for read-only access 以只读方式检查文件夹
executeWithRetry(Email, EmailSender) - Method in class cloud.opencode.base.email.retry.EmailRetryExecutor
Execute email sending with retry 执行带重试的邮件发送
executeWithRetry(Email, EmailSender, EmailRetryExecutor.RetryCallback) - Method in class cloud.opencode.base.email.retry.EmailRetryExecutor
Execute email sending with retry and callback 执行带重试和回调的邮件发送
executor(ExecutorService) - Method in class cloud.opencode.base.email.receiver.AsyncEmailReceiver.Builder
Set the executor for async operations 设置异步操作的执行器
executor(ExecutorService) - Method in class cloud.opencode.base.email.sender.AsyncEmailSender.Builder
Set custom executor 设置自定义执行器
expunge() - Method in class cloud.opencode.base.email.protocol.imap.ImapClient
Permanently remove messages marked with \Deleted flag 永久删除标记为 \Deleted 的邮件

F

failure() - Static method in record class cloud.opencode.base.email.SendResult
Create a failed send result 创建失败的发送结果
failure(Email, Throwable) - Static method in record class cloud.opencode.base.email.BatchSendResult.ItemResult
Create a failure result 创建失败结果
failure(String, Throwable, Duration) - Static method in record class cloud.opencode.base.email.ConnectionTestResult
Create a failed test result 创建失败的测试结果
failureCount() - Method in record class cloud.opencode.base.email.BatchSendResult
Get the number of failed emails 获取发送失败的邮件数量
failures() - Method in record class cloud.opencode.base.email.BatchSendResult
Get only the failed results 仅获取失败的结果
fetch(int, String) - Method in class cloud.opencode.base.email.protocol.imap.ImapClient
Fetch data for a single message 获取单条邮件的数据
fetchRange(int, int, String) - Method in class cloud.opencode.base.email.protocol.imap.ImapClient
Fetch data for a range of messages 获取一系列邮件的数据
FileAttachment - Class in cloud.opencode.base.email.attachment
File-based Email Attachment 基于文件的邮件附件
FileAttachment(Path) - Constructor for class cloud.opencode.base.email.attachment.FileAttachment
Create file attachment from path 从路径创建文件附件
FileAttachment(Path, String) - Constructor for class cloud.opencode.base.email.attachment.FileAttachment
Create file attachment with custom file name 创建带自定义文件名的文件附件
FileAttachment(Path, String, String) - Constructor for class cloud.opencode.base.email.attachment.FileAttachment
Create file attachment with custom file name and content type 创建带自定义文件名和内容类型的文件附件
fileName() - Method in record class cloud.opencode.base.email.protocol.mime.MimeBuilder.AttachmentData
Returns the value of the fileName record component.
fileName() - Method in record class cloud.opencode.base.email.protocol.mime.ParsedMessage.ParsedAttachment
Returns the value of the fileName record component.
findBy(Predicate) - Method in class cloud.opencode.base.email.testing.InMemoryEmailSender
Find emails matching a predicate 查找匹配谓词的邮件
findByRecipient(String) - Method in class cloud.opencode.base.email.testing.InMemoryEmailSender
Find emails sent to a specific recipient 查找发送到特定收件人的邮件
findBySubject(String) - Method in class cloud.opencode.base.email.testing.InMemoryEmailSender
Find emails by subject (contains match) 按主题查找邮件(包含匹配)
flagged() - Method in record class cloud.opencode.base.email.EmailFlags
Returns the value of the flagged record component.
flaggedOnly() - Method in class cloud.opencode.base.email.query.EmailQuery.Builder
Filter to only flagged/starred emails 仅过滤标记/星标邮件
flaggedOnly() - Method in record class cloud.opencode.base.email.query.EmailQuery
Returns the value of the flaggedOnly record component.
flaggedOnly(boolean) - Method in class cloud.opencode.base.email.query.EmailQuery.Builder
Set flagged filter 设置标记过滤
flags() - Method in record class cloud.opencode.base.email.ReceivedEmail
Returns the value of the flags record component.
flags(EmailFlags) - Method in class cloud.opencode.base.email.ReceivedEmail.Builder
 
folder() - Method in record class cloud.opencode.base.email.query.EmailQuery
Returns the value of the folder record component.
folder() - Method in record class cloud.opencode.base.email.ReceivedEmail
Returns the value of the folder record component.
folder(EmailFolder) - Method in class cloud.opencode.base.email.query.EmailQuery.Builder
Set the folder to query 设置要查询的文件夹
folder(String) - Method in class cloud.opencode.base.email.listener.EmailIdleMonitor.Builder
Set the folder to monitor 设置要监控的文件夹
folder(String) - Method in class cloud.opencode.base.email.query.EmailQuery.Builder
Set the folder to query by name 根据名称设置要查询的文件夹
folder(String) - Method in class cloud.opencode.base.email.ReceivedEmail.Builder
 
FOLDER_ACCESS_DENIED - Enum constant in enum class cloud.opencode.base.email.exception.EmailErrorCode
Folder access denied - 文件夹访问被拒绝
FOLDER_NOT_FOUND - Enum constant in enum class cloud.opencode.base.email.exception.EmailErrorCode
Folder not found - 文件夹未找到
folderNotFound(String) - Static method in exception class cloud.opencode.base.email.exception.EmailReceiveException
Create exception for folder not found 创建文件夹未找到异常
forFolder(EmailFolder) - Static method in record class cloud.opencode.base.email.query.EmailQuery
Create a query for all emails in folder 创建查询文件夹中所有邮件的查询
forFolder(String) - Static method in record class cloud.opencode.base.email.query.EmailQuery
Create a query for all emails in folder 创建查询文件夹中所有邮件的查询
from() - Method in record class cloud.opencode.base.email.Email
Returns the value of the from record component.
from() - Method in record class cloud.opencode.base.email.protocol.mime.ParsedMessage
Returns the value of the from record component.
from() - Method in record class cloud.opencode.base.email.query.EmailQuery
Returns the value of the from record component.
from() - Method in record class cloud.opencode.base.email.ReceivedEmail
Returns the value of the from record component.
from(String) - Method in class cloud.opencode.base.email.Email.Builder
Set sender email address 设置发件人邮箱地址
from(String) - Method in class cloud.opencode.base.email.query.EmailQuery.Builder
Filter by sender address 按发件人地址过滤
from(String) - Method in class cloud.opencode.base.email.ReceivedEmail.Builder
 
from(String, String) - Method in class cloud.opencode.base.email.Email.Builder
Set sender email address with display name 设置发件人邮箱地址和显示名称
from(Set) - Method in class cloud.opencode.base.email.query.EmailQuery.Builder
Filter by multiple sender addresses 按多个发件人地址过滤
fromDate() - Method in record class cloud.opencode.base.email.query.EmailQuery
Returns the value of the fromDate record component.
fromDate(LocalDateTime) - Method in class cloud.opencode.base.email.query.EmailQuery.Builder
Set minimum date for emails 设置邮件最小日期
fromException(Throwable) - Static method in enum class cloud.opencode.base.email.exception.EmailErrorCode
Get error code from exception 从异常获取错误码
fromImapFlags(String) - Static method in record class cloud.opencode.base.email.EmailFlags
Create flags from IMAP flags string 从IMAP标记字符串创建标记
fromName() - Method in record class cloud.opencode.base.email.Email
Returns the value of the fromName record component.
fromName() - Method in record class cloud.opencode.base.email.protocol.mime.ParsedMessage
Returns the value of the fromName record component.
fromName() - Method in record class cloud.opencode.base.email.ReceivedEmail
Returns the value of the fromName record component.
fromName(String) - Static method in enum class cloud.opencode.base.email.query.EmailFolder
Find folder enum by name (case-insensitive) 根据名称查找文件夹枚举(不区分大小写)
fromName(String) - Method in class cloud.opencode.base.email.ReceivedEmail.Builder
 

G

generateBoundary() - Static method in class cloud.opencode.base.email.protocol.mime.MimeEncoder
Generate a unique MIME boundary string 生成唯一的 MIME 边界字符串
generateMessageId(String) - Static method in class cloud.opencode.base.email.protocol.mime.MimeEncoder
Generate a unique Message-ID header value 生成唯一的 Message-ID 邮件头值
getAllNames() - Method in enum class cloud.opencode.base.email.query.EmailFolder
Get all possible folder names (primary + alternatives) 获取所有可能的文件夹名称(主要名称 + 可选名称)
getAllRecipients() - Method in record class cloud.opencode.base.email.Email
Get all recipients (to + cc + bcc) 获取所有收件人
getAllRecipients() - Method in record class cloud.opencode.base.email.ReceivedEmail
Get all recipients (to + cc + bcc) 获取所有收件人
getAlternativeNames() - Method in enum class cloud.opencode.base.email.query.EmailFolder
Get alternative folder names 获取可选文件夹名称
getAttachmentCount() - Method in record class cloud.opencode.base.email.ReceivedEmail
Get attachment count 获取附件数量
getBackoffMultiplier() - Method in class cloud.opencode.base.email.retry.EmailRetryExecutor
Get backoff multiplier 获取退避因子
getCacheSize() - Static method in class cloud.opencode.base.email.template.SimpleEmailTemplate
Get cache size 获取缓存大小
getCapabilities() - Method in class cloud.opencode.base.email.protocol.imap.ImapClient
Get all server capabilities 获取所有服务器能力
getCapabilities() - Method in class cloud.opencode.base.email.protocol.smtp.SmtpClient
Get the server capabilities parsed from the EHLO response 获取从EHLO响应中解析的服务器能力集
getCode() - Method in enum class cloud.opencode.base.email.exception.EmailErrorCode
Get error code number 获取错误码数字
getConfig() - Static method in class cloud.opencode.base.email.OpenEmail
Get current configuration 获取当前配置
getConfig() - Method in class cloud.opencode.base.email.sender.SmtpEmailSender
Get email configuration 获取邮件配置
getContent() - Method in record class cloud.opencode.base.email.ReceivedEmail
Get the best available content (prefer HTML) 获取最佳可用内容(优先HTML)
getContentId() - Method in interface cloud.opencode.base.email.Attachment
Get Content-ID for inline attachments 获取内嵌附件的Content-ID
getContentId() - Method in class cloud.opencode.base.email.attachment.InlineAttachment
 
getContentType() - Method in class cloud.opencode.base.email.attachment.ByteArrayAttachment
 
getContentType() - Method in class cloud.opencode.base.email.attachment.FileAttachment
 
getContentType() - Method in interface cloud.opencode.base.email.Attachment
Get attachment MIME type 获取附件MIME类型
getContentType() - Method in class cloud.opencode.base.email.attachment.InlineAttachment
 
getDangerousExtensions() - Static method in class cloud.opencode.base.email.security.EmailSecurity
Get dangerous extensions 获取危险扩展名
getData() - Method in class cloud.opencode.base.email.attachment.ByteArrayAttachment
Get a copy of the byte data 获取字节数据的拷贝
getData() - Method in class cloud.opencode.base.email.attachment.InlineAttachment
Get a copy of the byte data 获取字节数据的拷贝
getDefaultAllowedExtensions() - Static method in class cloud.opencode.base.email.security.EmailSecurity
Get default allowed extensions 获取默认允许的扩展名
getDefaultHeadersToSign() - Static method in record class cloud.opencode.base.email.security.DkimConfig
Get default headers to sign 获取默认签名邮件头
getDefaultMaxAttachmentSize() - Static method in class cloud.opencode.base.email.security.EmailSecurity
Get default max attachment size 获取默认最大附件大小
getDefaultPort() - Method in enum class cloud.opencode.base.email.EmailReceiveConfig.Protocol
Get default port 获取默认端口
getDefaultSslPort() - Method in enum class cloud.opencode.base.email.EmailReceiveConfig.Protocol
Get default SSL port 获取默认SSL端口
getDelegate() - Method in class cloud.opencode.base.email.receiver.AsyncEmailReceiver
Get the underlying receiver 获取底层接收器
getDelegate() - Method in class cloud.opencode.base.email.sender.AsyncEmailSender
Get delegate sender 获取代理发送器
getDescription() - Method in enum class cloud.opencode.base.email.exception.EmailErrorCode
Get error description in English 获取英文错误描述
getDescriptionCn() - Method in enum class cloud.opencode.base.email.exception.EmailErrorCode
Get error description in Chinese 获取中文错误描述
getEmail() - Method in exception class cloud.opencode.base.email.exception.EmailException
Get the related email (if available) 获取相关邮件(如果可用)
getEmailErrorCode() - Method in exception class cloud.opencode.base.email.exception.EmailException
Get the email error code 获取邮件错误码
getExecutor() - Method in class cloud.opencode.base.email.sender.AsyncEmailSender
Get executor service 获取执行器服务
getExtension(String) - Static method in class cloud.opencode.base.email.security.EmailSecurity
Get file extension 获取文件扩展名
getFileName() - Method in class cloud.opencode.base.email.attachment.ByteArrayAttachment
 
getFileName() - Method in class cloud.opencode.base.email.attachment.FileAttachment
 
getFileName() - Method in interface cloud.opencode.base.email.Attachment
Get attachment file name 获取附件文件名
getFileName() - Method in class cloud.opencode.base.email.attachment.InlineAttachment
 
getFolder() - Method in exception class cloud.opencode.base.email.exception.EmailReceiveException
Get the folder where error occurred 获取发生错误的文件夹
getHeader(String) - Method in record class cloud.opencode.base.email.ReceivedEmail
Get header value by name 根据名称获取邮件头值
getHost() - Method in class cloud.opencode.base.email.protocol.MailConnection
Get the host 获取主机名
getInitialDelay() - Method in class cloud.opencode.base.email.retry.EmailRetryExecutor
Get initial delay 获取初始延迟
getInputStream() - Method in class cloud.opencode.base.email.attachment.ByteArrayAttachment
 
getInputStream() - Method in class cloud.opencode.base.email.attachment.FileAttachment
 
getInputStream() - Method in interface cloud.opencode.base.email.Attachment
Get attachment data as input stream 获取附件数据输入流
getInputStream() - Method in class cloud.opencode.base.email.attachment.InlineAttachment
 
getInputStream() - Method in class cloud.opencode.base.email.protocol.MailConnection
Get the underlying socket's InputStream for raw reads 获取底层套接字的InputStream用于原始读取
getInstance() - Static method in class cloud.opencode.base.email.template.SimpleEmailTemplate
Get singleton instance 获取单例实例
getLastEmail() - Method in class cloud.opencode.base.email.testing.InMemoryEmailSender
Get the last sent email 获取最后一封已发送邮件
getMaxDelay() - Method in class cloud.opencode.base.email.retry.EmailRetryExecutor
Get max delay 获取最大延迟
getMaxPerDay() - Method in class cloud.opencode.base.email.security.EmailRateLimiter
Get max per day limit 获取每天最大限制
getMaxPerHour() - Method in class cloud.opencode.base.email.security.EmailRateLimiter
Get max per hour limit 获取每小时最大限制
getMaxPerMinute() - Method in class cloud.opencode.base.email.security.EmailRateLimiter
Get max per minute limit 获取每分钟最大限制
getMaxRetries() - Method in class cloud.opencode.base.email.retry.EmailRetryExecutor
Get max retries 获取最大重试次数
getMessageCount() - Method in class cloud.opencode.base.email.protocol.imap.ImapClient
Get the total number of messages in the selected folder 获取所选文件夹中的邮件总数
getMessageCount(String) - Static method in class cloud.opencode.base.email.OpenEmail
Get message count in folder 获取文件夹中的消息数量
getMessageCount(String) - Method in class cloud.opencode.base.email.receiver.ImapEmailReceiver
 
getMessageCount(String) - Method in class cloud.opencode.base.email.receiver.Pop3EmailReceiver
 
getMessageCountAsync(String) - Method in class cloud.opencode.base.email.receiver.AsyncEmailReceiver
Get message count asynchronously 异步获取消息数量
getMessageId() - Method in exception class cloud.opencode.base.email.exception.EmailReceiveException
Get the message ID related to the error 获取与错误相关的消息ID
getMessageId(String) - Static method in class cloud.opencode.base.email.protocol.mime.MimeBuilder
Extract the Message-ID from a built message 从已构建的消息中提取 Message-ID
getName() - Method in enum class cloud.opencode.base.email.EmailReceiveConfig.Protocol
Get protocol name 获取协议名称
getName() - Method in enum class cloud.opencode.base.email.query.EmailFolder
Get the primary folder name 获取主要文件夹名称
getPath() - Method in class cloud.opencode.base.email.attachment.FileAttachment
Get the file path 获取文件路径
getPort() - Method in class cloud.opencode.base.email.protocol.MailConnection
Get the port 获取端口
getQuota(String) - Method in class cloud.opencode.base.email.security.EmailRateLimiter
Get remaining quota for recipient 获取收件人剩余配额
getRateLimitQuota() - Static method in class cloud.opencode.base.email.OpenEmail
Get remaining rate limit quota (global) 获取剩余频率限制配额(全局)
getRateLimitQuota(String) - Static method in class cloud.opencode.base.email.OpenEmail
Get remaining rate limit quota for recipient 获取收件人的剩余频率限制配额
getReceiveConfig() - Static method in class cloud.opencode.base.email.OpenEmail
Get current receive configuration 获取当前接收配置
getReceivedEmail() - Method in exception class cloud.opencode.base.email.exception.EmailReceiveException
Get the partially received email (if available) 获取部分接收的邮件(如果可用)
getReplyCode() - Method in exception class cloud.opencode.base.email.protocol.ProtocolException
Get the protocol reply code (-1 if not applicable) 获取协议回复码(不适用时为-1)
getSelectedFolder() - Method in class cloud.opencode.base.email.protocol.imap.ImapClient
Get the currently selected folder name 获取当前选中的文件夹名称
getSentCount() - Method in class cloud.opencode.base.email.testing.InMemoryEmailSender
Get the number of sent emails 获取已发送邮件数量
getSentEmails() - Method in class cloud.opencode.base.email.testing.InMemoryEmailSender
Get all sent emails 获取所有已发送邮件
getSize() - Method in class cloud.opencode.base.email.attachment.ByteArrayAttachment
 
getSize() - Method in class cloud.opencode.base.email.attachment.FileAttachment
 
getSize() - Method in interface cloud.opencode.base.email.Attachment
Get attachment size in bytes 获取附件大小(字节)
getSize() - Method in class cloud.opencode.base.email.attachment.InlineAttachment
 
getStoreProtocol() - Method in record class cloud.opencode.base.email.EmailReceiveConfig
Get the store protocol name for Jakarta Mail 获取Jakarta Mail的存储协议名称
getStoreProtocol(boolean) - Method in enum class cloud.opencode.base.email.EmailReceiveConfig.Protocol
Get Jakarta Mail store protocol name 获取Jakarta Mail存储协议名称
getTextOrHtmlContent() - Method in record class cloud.opencode.base.email.ReceivedEmail
Get the best available content (prefer text) 获取最佳可用内容(优先文本)
getUnreadCount() - Method in class cloud.opencode.base.email.protocol.imap.ImapClient
Get the count of unread (unseen) messages in the selected folder 获取所选文件夹中未读(未查看)邮件的数量
getUnreadCount(String) - Static method in class cloud.opencode.base.email.OpenEmail
Get unread message count in folder 获取文件夹中的未读消息数量
getUnreadCount(String) - Method in class cloud.opencode.base.email.receiver.ImapEmailReceiver
 
getUnreadCount(String) - Method in class cloud.opencode.base.email.receiver.Pop3EmailReceiver
 
getUnreadCountAsync(String) - Method in class cloud.opencode.base.email.receiver.AsyncEmailReceiver
Get unread count asynchronously 异步获取未读数量
getValue() - Method in enum class cloud.opencode.base.email.Email.Priority
Get X-Priority header value 获取X-Priority邮件头值

H

hasAlternativeContent() - Method in record class cloud.opencode.base.email.Email
Check if email has both text and HTML content (multipart/alternative) 检查邮件是否同时有文本和HTML内容
hasAttachments() - Method in record class cloud.opencode.base.email.Email
Check if email has attachments 检查邮件是否有附件
hasAttachments() - Method in class cloud.opencode.base.email.query.EmailQuery.Builder
Filter to only emails with attachments 仅过滤有附件的邮件
hasAttachments() - Method in record class cloud.opencode.base.email.query.EmailQuery
Returns the value of the hasAttachments record component.
hasAttachments() - Method in record class cloud.opencode.base.email.ReceivedEmail
Check if email has attachments 检查邮件是否有附件
hasAttachments(boolean) - Method in class cloud.opencode.base.email.query.EmailQuery.Builder
Set attachment filter 设置附件过滤
hasCapability(String) - Method in class cloud.opencode.base.email.protocol.imap.ImapClient
Check if the server advertises the given capability 检查服务器是否公布了给定的能力
hasCapability(String) - Method in class cloud.opencode.base.email.protocol.smtp.SmtpClient
Check if the server supports a specific capability 检查服务器是否支持指定能力
hasDkim() - Method in record class cloud.opencode.base.email.EmailConfig
Check if DKIM signing is configured 检查是否配置了DKIM签名
hasFilters() - Method in record class cloud.opencode.base.email.query.EmailQuery
Check if query has any filters 检查查询是否有任何过滤条件
hashCode() - Method in record class cloud.opencode.base.email.BatchSendResult
Returns a hash code value for this object.
hashCode() - Method in record class cloud.opencode.base.email.BatchSendResult.ItemResult
Returns a hash code value for this object.
hashCode() - Method in record class cloud.opencode.base.email.ConnectionTestResult
Returns a hash code value for this object.
hashCode() - Method in record class cloud.opencode.base.email.Email
Returns a hash code value for this object.
hashCode() - Method in class cloud.opencode.base.email.EmailAddress
 
hashCode() - Method in record class cloud.opencode.base.email.EmailConfig
Returns a hash code value for this object.
hashCode() - Method in record class cloud.opencode.base.email.EmailFlags
Returns a hash code value for this object.
hashCode() - Method in record class cloud.opencode.base.email.EmailReceiveConfig
Returns a hash code value for this object.
hashCode() - Method in record class cloud.opencode.base.email.protocol.mime.MimeBuilder.AttachmentData
Returns a hash code value for this object.
hashCode() - Method in record class cloud.opencode.base.email.protocol.mime.ParsedMessage
Returns a hash code value for this object.
hashCode() - Method in record class cloud.opencode.base.email.protocol.mime.ParsedMessage.ParsedAttachment
Returns a hash code value for this object.
hashCode() - Method in record class cloud.opencode.base.email.query.EmailQuery
Returns a hash code value for this object.
hashCode() - Method in record class cloud.opencode.base.email.ReceivedEmail
Returns a hash code value for this object.
hashCode() - Method in record class cloud.opencode.base.email.security.DkimConfig
Returns a hash code value for this object.
hashCode() - Method in record class cloud.opencode.base.email.security.EmailRateLimiter.RateLimitQuota
Returns a hash code value for this object.
hashCode() - Method in record class cloud.opencode.base.email.SendResult
Returns a hash code value for this object.
hasHtmlContent() - Method in record class cloud.opencode.base.email.ReceivedEmail
Check if email has HTML content 检查邮件是否有HTML内容
hasInlineAttachments() - Method in record class cloud.opencode.base.email.Email
Check if email has inline attachments 检查邮件是否有内嵌附件
hasMessageId() - Method in record class cloud.opencode.base.email.SendResult
Check if the message has a message ID 检查消息是否有消息ID
hasOAuth2() - Method in record class cloud.opencode.base.email.EmailConfig
Check if OAuth2 authentication is configured 检查是否配置了OAuth2认证
hasOAuth2() - Method in record class cloud.opencode.base.email.EmailReceiveConfig
Check if OAuth2 authentication is configured 检查是否配置了OAuth2认证
hasSentTo(String) - Method in class cloud.opencode.base.email.testing.InMemoryEmailSender
Check if any email was sent to the recipient 检查是否有邮件发送到该收件人
hasTextContent() - Method in record class cloud.opencode.base.email.ReceivedEmail
Check if email has text content 检查邮件是否有文本内容
header(String, String) - Method in class cloud.opencode.base.email.Email.Builder
Add custom header 添加自定义邮件头
HEADER_INJECTION - Enum constant in enum class cloud.opencode.base.email.exception.EmailErrorCode
Header injection detected - 邮件头注入
headers() - Method in record class cloud.opencode.base.email.Email
Returns the value of the headers record component.
headers() - Method in record class cloud.opencode.base.email.protocol.mime.ParsedMessage
Returns the value of the headers record component.
headers() - Method in record class cloud.opencode.base.email.ReceivedEmail
Returns the value of the headers record component.
headers(Map) - Method in class cloud.opencode.base.email.Email.Builder
Add multiple custom headers 添加多个自定义邮件头
headers(Map) - Method in class cloud.opencode.base.email.ReceivedEmail.Builder
 
headersToSign() - Method in record class cloud.opencode.base.email.security.DkimConfig
Returns the value of the headersToSign record component.
HIGH - Enum constant in enum class cloud.opencode.base.email.Email.Priority
High priority - 高优先级
host() - Method in record class cloud.opencode.base.email.EmailConfig
Returns the value of the host record component.
host() - Method in record class cloud.opencode.base.email.EmailReceiveConfig
Returns the value of the host record component.
host(String) - Method in class cloud.opencode.base.email.EmailConfig.Builder
Set SMTP host 设置SMTP主机
host(String) - Method in class cloud.opencode.base.email.EmailReceiveConfig.Builder
Set mail server host 设置邮件服务器主机
hourRemaining() - Method in record class cloud.opencode.base.email.security.EmailRateLimiter.RateLimitQuota
Returns the value of the hourRemaining record component.
html() - Method in record class cloud.opencode.base.email.Email
Returns the value of the html record component.
html(String) - Method in class cloud.opencode.base.email.Email.Builder
Set HTML content 设置HTML内容
htmlContent() - Method in record class cloud.opencode.base.email.protocol.mime.ParsedMessage
Returns the value of the htmlContent record component.
htmlContent() - Method in record class cloud.opencode.base.email.ReceivedEmail
Returns the value of the htmlContent record component.
htmlContent(String) - Method in class cloud.opencode.base.email.ReceivedEmail.Builder
 

I

idle(Duration) - Method in class cloud.opencode.base.email.protocol.imap.ImapClient
Enter IDLE mode and wait for server notifications 进入 IDLE 模式等待服务器通知
IDLE_NOT_SUPPORTED - Enum constant in enum class cloud.opencode.base.email.exception.EmailErrorCode
IDLE not supported - IDLE不支持
idleTimeout(Duration) - Method in class cloud.opencode.base.email.listener.EmailIdleMonitor.Builder
Set IDLE timeout 设置IDLE超时
imap() - Method in class cloud.opencode.base.email.EmailReceiveConfig.Builder
Use IMAP protocol 使用IMAP协议
IMAP - Enum constant in enum class cloud.opencode.base.email.EmailReceiveConfig.Protocol
IMAP protocol (recommended) IMAP协议(推荐)
ImapClient - Class in cloud.opencode.base.email.protocol.imap
IMAP4rev1 Protocol Client IMAP4rev1 协议客户端
ImapClient(String, int, boolean, boolean, Duration, Duration) - Constructor for class cloud.opencode.base.email.protocol.imap.ImapClient
Create a new IMAP client 创建新的 IMAP 客户端
ImapEmailReceiver - Class in cloud.opencode.base.email.receiver
IMAP Email Receiver Implementation IMAP邮件接收器实现
ImapEmailReceiver(EmailReceiveConfig) - Constructor for class cloud.opencode.base.email.receiver.ImapEmailReceiver
Create IMAP receiver with configuration 使用配置创建IMAP接收器
IMPORTANT - Enum constant in enum class cloud.opencode.base.email.query.EmailFolder
Important items folder 重要邮件文件夹
INBOX - Enum constant in enum class cloud.opencode.base.email.query.EmailFolder
Inbox folder (default) 收件箱文件夹(默认)
includeDeleted() - Method in class cloud.opencode.base.email.query.EmailQuery.Builder
Include deleted emails 包含已删除邮件
includeDeleted() - Method in record class cloud.opencode.base.email.query.EmailQuery
Returns the value of the includeDeleted record component.
includeDeleted(boolean) - Method in class cloud.opencode.base.email.query.EmailQuery.Builder
Set include deleted filter 设置包含已删除过滤
initialDelay(Duration) - Method in class cloud.opencode.base.email.retry.EmailRetryExecutor.Builder
Set initial delay 设置初始延迟
inline() - Method in record class cloud.opencode.base.email.protocol.mime.MimeBuilder.AttachmentData
Returns the value of the inline record component.
inline() - Method in record class cloud.opencode.base.email.protocol.mime.ParsedMessage.ParsedAttachment
Returns the value of the inline record component.
InlineAttachment - Class in cloud.opencode.base.email.attachment
Inline Email Attachment for HTML Embedding 用于HTML嵌入的内嵌邮件附件
InlineAttachment(String, String, byte[], String) - Constructor for class cloud.opencode.base.email.attachment.InlineAttachment
Create inline attachment from byte data 从字节数据创建内嵌附件
InMemoryEmailSender - Class in cloud.opencode.base.email.testing
In-Memory Email Sender for Testing 内存邮件发送器(用于测试)
InMemoryEmailSender() - Constructor for class cloud.opencode.base.email.testing.InMemoryEmailSender
 
INVALID_ATTACHMENT - Enum constant in enum class cloud.opencode.base.email.exception.EmailErrorCode
Invalid attachment - 无效附件
isAllowedExtension(String) - Static method in class cloud.opencode.base.email.security.EmailSecurity
Check if attachment extension is allowed 检查附件扩展名是否允许
isAnswered() - Method in record class cloud.opencode.base.email.ReceivedEmail
Check if email has been answered 检查邮件是否已回复
isAuthenticationFailure() - Method in exception class cloud.opencode.base.email.protocol.ProtocolException
Check if this is an authentication failure 检查是否为认证失败
isConfigured() - Static method in class cloud.opencode.base.email.OpenEmail
Check if configured 检查是否已配置
isConnected() - Method in class cloud.opencode.base.email.protocol.imap.ImapClient
Check if the client is connected to the server 检查客户端是否已连接到服务器
isConnected() - Method in class cloud.opencode.base.email.protocol.MailConnection
Check if connected 检查是否已连接
isConnected() - Method in class cloud.opencode.base.email.protocol.pop3.Pop3Client
Check if the connection is alive 检查连接是否存活
isConnected() - Method in class cloud.opencode.base.email.protocol.smtp.SmtpClient
Check if the underlying connection is active 检查底层连接是否活跃
isConnected() - Method in class cloud.opencode.base.email.receiver.AsyncEmailReceiver
Check if connected 检查是否已连接
isConnected() - Method in class cloud.opencode.base.email.receiver.ImapEmailReceiver
 
isConnected() - Method in class cloud.opencode.base.email.receiver.Pop3EmailReceiver
 
isConnectionFailure() - Method in exception class cloud.opencode.base.email.protocol.ProtocolException
Check if this is a connection failure 检查是否为连接失败
isDangerousExtension(String) - Static method in class cloud.opencode.base.email.security.EmailSecurity
Check if attachment extension is dangerous 检查附件扩展名是否危险
isFlagged() - Method in record class cloud.opencode.base.email.ReceivedEmail
Check if email is flagged/starred 检查邮件是否已标记/星标
isImap() - Method in record class cloud.opencode.base.email.EmailReceiveConfig
Check if IMAP protocol is used 检查是否使用IMAP协议
isInline() - Method in class cloud.opencode.base.email.attachment.InlineAttachment
 
isInline() - Method in interface cloud.opencode.base.email.Attachment
Check if attachment is inline (for HTML embedding) 检查附件是否为内嵌(用于HTML嵌入)
isPop3() - Method in record class cloud.opencode.base.email.EmailReceiveConfig
Check if POP3 protocol is used 检查是否使用POP3协议
isRateLimitingEnabled() - Static method in class cloud.opencode.base.email.OpenEmail
Check if rate limiting is enabled 检查是否启用了频率限制
isReceiverConfigured() - Static method in class cloud.opencode.base.email.OpenEmail
Check if receiver is configured 检查接收器是否已配置
isRetryable() - Method in enum class cloud.opencode.base.email.exception.EmailErrorCode
Check if error is retryable 检查错误是否可重试
isRetryable() - Method in exception class cloud.opencode.base.email.exception.EmailException
Check if error is retryable 检查错误是否可重试
isRunning() - Method in class cloud.opencode.base.email.listener.EmailIdleMonitor
Check if monitoring is running 检查是否正在监控
isTimeout() - Method in exception class cloud.opencode.base.email.protocol.ProtocolException
Check if this is a connection timeout 检查是否为连接超时
isTls() - Method in class cloud.opencode.base.email.protocol.MailConnection
Check if connection uses TLS 检查连接是否使用TLS
isUnread() - Method in record class cloud.opencode.base.email.EmailFlags
Check if email is unread 检查邮件是否未读
isUnread() - Method in record class cloud.opencode.base.email.ReceivedEmail
Check if email is unread 检查邮件是否未读
isValid(String) - Static method in class cloud.opencode.base.email.EmailAddress
Check if a string is a valid email address 检查字符串是否是有效的邮箱地址
isValidEmail(String) - Static method in class cloud.opencode.base.email.security.EmailSecurity
Validate email address format 验证邮箱地址格式
ItemResult(Email, String, boolean, String, Throwable) - Constructor for record class cloud.opencode.base.email.BatchSendResult.ItemResult
Creates an instance of a ItemResult record class.

L

latency() - Method in record class cloud.opencode.base.email.ConnectionTestResult
Returns the value of the latency record component.
limit() - Method in record class cloud.opencode.base.email.query.EmailQuery
Returns the value of the limit record component.
limit(int) - Method in class cloud.opencode.base.email.query.EmailQuery.Builder
Set maximum number of emails to return 设置返回的最大邮件数
list() - Method in class cloud.opencode.base.email.protocol.pop3.Pop3Client
LIST - get the size of all messages LIST - 获取所有邮件的大小
list(int) - Method in class cloud.opencode.base.email.protocol.pop3.Pop3Client
LIST n - get the size of a specific message LIST n - 获取指定邮件的大小
list(String, String) - Method in class cloud.opencode.base.email.protocol.imap.ImapClient
List folders matching a pattern 列出匹配模式的文件夹
listener(EmailListener) - Method in class cloud.opencode.base.email.listener.EmailIdleMonitor.Builder
Add a listener 添加监听器
listFolders() - Static method in class cloud.opencode.base.email.OpenEmail
List available folders 列出可用文件夹
listFolders() - Method in class cloud.opencode.base.email.receiver.ImapEmailReceiver
 
listFolders() - Method in class cloud.opencode.base.email.receiver.Pop3EmailReceiver
 
listFoldersAsync() - Method in class cloud.opencode.base.email.receiver.AsyncEmailReceiver
List folders asynchronously 异步列出文件夹
load(String, String, Path) - Static method in record class cloud.opencode.base.email.security.DkimConfig
Load DKIM configuration from key file 从密钥文件加载DKIM配置
load(String, String, Path, Set) - Static method in record class cloud.opencode.base.email.security.DkimConfig
Load DKIM configuration with custom headers 使用自定义邮件头加载DKIM配置
loadTemplate(Path) - Static method in class cloud.opencode.base.email.template.SimpleEmailTemplate
Load template from file 从文件加载模板
loadTemplateCached(Path) - Static method in class cloud.opencode.base.email.template.SimpleEmailTemplate
Load template with caching 使用缓存加载模板
loadTemplateFromClasspath(String) - Static method in class cloud.opencode.base.email.template.SimpleEmailTemplate
Load template from classpath 从类路径加载模板
loadTemplateFromClasspath(String, ClassLoader) - Static method in class cloud.opencode.base.email.template.SimpleEmailTemplate
Load template from classpath with custom classloader 使用自定义类加载器从类路径加载模板
loadTemplateFromClasspathCached(String) - Static method in class cloud.opencode.base.email.template.SimpleEmailTemplate
Load template from classpath with caching 使用缓存从类路径加载模板
localPart() - Method in class cloud.opencode.base.email.EmailAddress
Get the local part (before @) 获取本地部分(@之前)
login(String, String) - Method in class cloud.opencode.base.email.protocol.imap.ImapClient
Authenticate using LOGIN command 使用 LOGIN 命令进行认证
login(String, String) - Method in class cloud.opencode.base.email.protocol.pop3.Pop3Client
Authenticate using USER/PASS commands 使用USER/PASS命令进行认证
logout() - Method in class cloud.opencode.base.email.protocol.imap.ImapClient
Logout from the server and close the connection 从服务器注销并关闭连接
LOW - Enum constant in enum class cloud.opencode.base.email.Email.Priority
Low priority - 低优先级

M

MAILBOX_FULL - Enum constant in enum class cloud.opencode.base.email.exception.EmailErrorCode
Mailbox full - 邮箱已满
MailConnection - Class in cloud.opencode.base.email.protocol
Mail Protocol Socket Connection 邮件协议套接字连接
MailConnection(String, int, boolean, Duration, Duration) - Constructor for class cloud.opencode.base.email.protocol.MailConnection
Create a new mail connection 创建新的邮件连接
markAsRead(String) - Static method in class cloud.opencode.base.email.OpenEmail
Mark email as read 标记邮件为已读
markAsRead(String) - Method in class cloud.opencode.base.email.receiver.ImapEmailReceiver
 
markAsRead(String) - Method in class cloud.opencode.base.email.receiver.Pop3EmailReceiver
 
markAsReadAfterReceive() - Method in record class cloud.opencode.base.email.EmailReceiveConfig
Returns the value of the markAsReadAfterReceive record component.
markAsReadAfterReceive(boolean) - Method in class cloud.opencode.base.email.EmailReceiveConfig.Builder
Mark messages as read after receiving 接收后标记邮件为已读
markAsReadAsync(String) - Static method in class cloud.opencode.base.email.OpenEmail
Mark email as read asynchronously 异步标记邮件为已读
markAsReadAsync(String) - Method in class cloud.opencode.base.email.receiver.AsyncEmailReceiver
Mark email as read asynchronously 异步标记邮件为已读
markAsUnread(String) - Static method in class cloud.opencode.base.email.OpenEmail
Mark email as unread 标记邮件为未读
markAsUnread(String) - Method in class cloud.opencode.base.email.receiver.ImapEmailReceiver
 
markAsUnread(String) - Method in class cloud.opencode.base.email.receiver.Pop3EmailReceiver
 
markAsUnreadAsync(String) - Method in class cloud.opencode.base.email.receiver.AsyncEmailReceiver
Mark email as unread asynchronously 异步标记邮件为未读
matches(String) - Method in enum class cloud.opencode.base.email.query.EmailFolder
Check if this folder matches the given name 检查此文件夹是否匹配给定名称
maxDelay(Duration) - Method in class cloud.opencode.base.email.retry.EmailRetryExecutor.Builder
Set max delay cap 设置最大延迟上限
maxMessages() - Method in record class cloud.opencode.base.email.EmailReceiveConfig
Returns the value of the maxMessages record component.
maxMessages(int) - Method in class cloud.opencode.base.email.EmailReceiveConfig.Builder
Set maximum messages to fetch per request 设置每次请求获取的最大邮件数
maxPoolSize(int) - Method in class cloud.opencode.base.email.sender.AsyncEmailSender.Builder
Set max pool size (for platform threads) 设置最大线程池大小(用于平台线程)
maxReconnectAttempts(int) - Method in class cloud.opencode.base.email.listener.EmailIdleMonitor.Builder
Set max reconnection attempts 设置最大重连次数
maxRetries() - Method in record class cloud.opencode.base.email.EmailConfig
Returns the value of the maxRetries record component.
maxRetries(int) - Method in class cloud.opencode.base.email.EmailConfig.Builder
Set max retry attempts 设置最大重试次数
maxRetries(int) - Method in class cloud.opencode.base.email.retry.EmailRetryExecutor.Builder
Set max retries 设置最大重试次数
MESSAGE_NOT_FOUND - Enum constant in enum class cloud.opencode.base.email.exception.EmailErrorCode
Message not found - 消息未找到
MESSAGE_PARSE_FAILED - Enum constant in enum class cloud.opencode.base.email.exception.EmailErrorCode
Message parse failed - 消息解析失败
MESSAGE_REJECTED - Enum constant in enum class cloud.opencode.base.email.exception.EmailErrorCode
Message rejected - 邮件被拒绝
messageId() - Method in record class cloud.opencode.base.email.BatchSendResult.ItemResult
Returns the value of the messageId record component.
messageId() - Method in record class cloud.opencode.base.email.protocol.mime.ParsedMessage
Returns the value of the messageId record component.
messageId() - Method in record class cloud.opencode.base.email.ReceivedEmail
Returns the value of the messageId record component.
messageId() - Method in record class cloud.opencode.base.email.SendResult
Returns the value of the messageId record component.
messageId(String) - Method in class cloud.opencode.base.email.ReceivedEmail.Builder
 
messageNotFound(String) - Static method in exception class cloud.opencode.base.email.exception.EmailReceiveException
Create exception for message not found 创建消息未找到异常
messageNumber() - Method in record class cloud.opencode.base.email.ReceivedEmail
Returns the value of the messageNumber record component.
messageNumber(int) - Method in class cloud.opencode.base.email.ReceivedEmail.Builder
 
MimeBuilder - Class in cloud.opencode.base.email.protocol.mime
MIME Message Builder MIME 消息构建器
MimeBuilder.AttachmentData - Record Class in cloud.opencode.base.email.protocol.mime
Attachment data for building MIME messages 构建 MIME 消息的附件数据
MimeEncoder - Class in cloud.opencode.base.email.protocol.mime
MIME Encoding and Decoding Utility MIME 编解码工具类
MimeParser - Class in cloud.opencode.base.email.protocol.mime
MIME Message Parser MIME 消息解析器
minuteRemaining() - Method in record class cloud.opencode.base.email.security.EmailRateLimiter.RateLimitQuota
Returns the value of the minuteRemaining record component.
moveToFolder(String, String) - Static method in class cloud.opencode.base.email.OpenEmail
Move email to folder (IMAP only) 移动邮件到文件夹(仅IMAP)
moveToFolder(String, String) - Method in class cloud.opencode.base.email.receiver.ImapEmailReceiver
 
moveToFolder(String, String) - Method in class cloud.opencode.base.email.receiver.Pop3EmailReceiver
 
moveToFolderAsync(String, String) - Method in class cloud.opencode.base.email.receiver.AsyncEmailReceiver
Move email to folder asynchronously 异步移动邮件到文件夹

N

NEWEST_FIRST - Enum constant in enum class cloud.opencode.base.email.query.EmailQuery.SortOrder
Newest first (default) 最新优先(默认)
newestFirst() - Method in class cloud.opencode.base.email.query.EmailQuery.Builder
Sort by newest first 按最新优先排序
noop() - Method in class cloud.opencode.base.email.protocol.imap.ImapClient
Send NOOP command to keep the connection alive 发送 NOOP 命令以保持连接活跃
noop() - Method in class cloud.opencode.base.email.protocol.pop3.Pop3Client
NOOP - keep the connection alive NOOP - 保持连接活跃
NORMAL - Enum constant in enum class cloud.opencode.base.email.Email.Priority
Normal priority - 普通优先级

O

oauth2Token() - Method in record class cloud.opencode.base.email.EmailConfig
Returns the value of the oauth2Token record component.
oauth2Token() - Method in record class cloud.opencode.base.email.EmailReceiveConfig
Returns the value of the oauth2Token record component.
oauth2Token(String) - Method in class cloud.opencode.base.email.EmailConfig.Builder
Set OAuth2 access token for XOAUTH2 authentication 设置OAuth2访问令牌用于XOAUTH2认证
oauth2Token(String) - Method in class cloud.opencode.base.email.EmailReceiveConfig.Builder
Set OAuth2 access token for XOAUTH2 authentication 设置OAuth2访问令牌用于XOAUTH2认证
of(String) - Static method in class cloud.opencode.base.email.attachment.FileAttachment
Create file attachment from path string 从路径字符串创建文件附件
of(String) - Static method in class cloud.opencode.base.email.EmailAddress
Create a validated EmailAddress from a string 从字符串创建经过验证的EmailAddress
of(String, byte[]) - Static method in class cloud.opencode.base.email.attachment.ByteArrayAttachment
Create byte array attachment 创建字节数组附件
of(String, byte[], String) - Static method in class cloud.opencode.base.email.attachment.ByteArrayAttachment
Create byte array attachment 创建字节数组附件
of(String, String, byte[], String) - Static method in class cloud.opencode.base.email.attachment.InlineAttachment
Create inline attachment from byte data 从字节数据创建内嵌附件
of(String, String, PrivateKey) - Static method in record class cloud.opencode.base.email.security.DkimConfig
Create DKIM configuration with private key 使用私钥创建DKIM配置
of(String, String, PrivateKey, Set) - Static method in record class cloud.opencode.base.email.security.DkimConfig
Create DKIM configuration with all parameters 使用所有参数创建DKIM配置
of(String, Path, String) - Static method in class cloud.opencode.base.email.attachment.InlineAttachment
Create inline attachment from file 从文件创建内嵌附件
of(Path) - Static method in class cloud.opencode.base.email.attachment.FileAttachment
Create file attachment from path 从路径创建文件附件
of(Consumer, Consumer) - Static method in interface cloud.opencode.base.email.listener.EmailListener
Create a listener that handles both new emails and errors 创建处理新邮件和错误的监听器
offset() - Method in record class cloud.opencode.base.email.query.EmailQuery
Returns the value of the offset record component.
offset(int) - Method in class cloud.opencode.base.email.query.EmailQuery.Builder
Set offset for pagination 设置分页偏移量
OLDEST_FIRST - Enum constant in enum class cloud.opencode.base.email.query.EmailQuery.SortOrder
Oldest first 最旧优先
oldestFirst() - Method in class cloud.opencode.base.email.query.EmailQuery.Builder
Sort by oldest first 按最旧优先排序
onEmailDeleted(String) - Method in interface cloud.opencode.base.email.listener.EmailListener
Called when an email is deleted 邮件被删除时调用
onError(Throwable) - Method in interface cloud.opencode.base.email.listener.EmailListener
Called when an error occurs 发生错误时调用
onFlagsChanged(String, String, boolean) - Method in interface cloud.opencode.base.email.listener.EmailListener
Called when email flags change 邮件标记变更时调用
onMonitoringStarted(String) - Method in interface cloud.opencode.base.email.listener.EmailListener
Called when the listener starts monitoring 监听器开始监听时调用
onMonitoringStopped(String) - Method in interface cloud.opencode.base.email.listener.EmailListener
Called when the listener stops monitoring 监听器停止监听时调用
onNewEmail(ReceivedEmail) - Method in interface cloud.opencode.base.email.listener.EmailListener
Called when a new email is received 收到新邮件时调用
onNewEmail(Consumer) - Method in class cloud.opencode.base.email.listener.EmailIdleMonitor.Builder
Add a simple new email handler 添加简单的新邮件处理器
onNewEmail(Consumer) - Static method in interface cloud.opencode.base.email.listener.EmailListener
Create a simple listener that only handles new emails 创建仅处理新邮件的简单监听器
onReconnected() - Method in interface cloud.opencode.base.email.listener.EmailListener
Called when successfully reconnected 成功重连时调用
onReconnecting(int) - Method in interface cloud.opencode.base.email.listener.EmailListener
Called when connection is lost and reconnecting 连接丢失并正在重连时调用
onRetry(int, EmailException) - Method in interface cloud.opencode.base.email.retry.EmailRetryExecutor.RetryCallback
Called on each retry attempt 每次重试时调用
OpenEmail - Class in cloud.opencode.base.email
Email Utility Facade Class 邮件工具门面类

P

page(int, int) - Method in class cloud.opencode.base.email.query.EmailQuery.Builder
Set pagination 设置分页
parse(String) - Static method in class cloud.opencode.base.email.protocol.mime.MimeParser
Parse a complete raw MIME message into a ParsedMessage 将完整的原始 MIME 消息解析为 ParsedMessage
ParsedAttachment(String, String, byte[], boolean, String) - Constructor for record class cloud.opencode.base.email.protocol.mime.ParsedMessage.ParsedAttachment
Creates an instance of a ParsedAttachment record class.
ParsedMessage - Record Class in cloud.opencode.base.email.protocol.mime
Parsed MIME Message Record 已解析的 MIME 消息记录
ParsedMessage(String, String, String, List, List, List, String, String, String, String, Instant, Instant, int, Map, List) - Constructor for record class cloud.opencode.base.email.protocol.mime.ParsedMessage
Creates an instance of a ParsedMessage record class.
ParsedMessage.ParsedAttachment - Record Class in cloud.opencode.base.email.protocol.mime
Parsed Attachment Record 已解析的附件记录
parseFailed(String, Throwable) - Static method in exception class cloud.opencode.base.email.exception.EmailReceiveException
Create exception for message parse failure 创建消息解析失败异常
parseHeaders(String) - Static method in class cloud.opencode.base.email.protocol.mime.MimeParser
Parse just the headers from a raw message 仅从原始消息中解析邮件头
password() - Method in record class cloud.opencode.base.email.EmailConfig
Returns the value of the password record component.
password() - Method in record class cloud.opencode.base.email.EmailReceiveConfig
Returns the value of the password record component.
password(String) - Method in class cloud.opencode.base.email.EmailConfig.Builder
Set password for authentication 设置认证密码
password(String) - Method in class cloud.opencode.base.email.EmailReceiveConfig.Builder
Set password for authentication 设置认证密码
poolIdleTimeout() - Method in record class cloud.opencode.base.email.EmailConfig
Returns the value of the poolIdleTimeout record component.
poolIdleTimeout(Duration) - Method in class cloud.opencode.base.email.EmailConfig.Builder
Set pool idle timeout (reserved for future use) 设置连接池空闲超时(保留供将来使用)
poolSize() - Method in record class cloud.opencode.base.email.EmailConfig
Returns the value of the poolSize record component.
poolSize(int) - Method in class cloud.opencode.base.email.EmailConfig.Builder
Set connection pool size (reserved for future use) 设置连接池大小(保留供将来使用)
pop3() - Method in class cloud.opencode.base.email.EmailReceiveConfig.Builder
Use POP3 protocol 使用POP3协议
POP3 - Enum constant in enum class cloud.opencode.base.email.EmailReceiveConfig.Protocol
POP3 protocol POP3协议
Pop3Client - Class in cloud.opencode.base.email.protocol.pop3
POP3 Protocol Client (RFC 1939) POP3协议客户端(RFC 1939)
Pop3Client(String, int, boolean, boolean, Duration, Duration) - Constructor for class cloud.opencode.base.email.protocol.pop3.Pop3Client
Create a new POP3 client 创建新的POP3客户端
Pop3EmailReceiver - Class in cloud.opencode.base.email.receiver
POP3 Email Receiver Implementation POP3邮件接收器实现
Pop3EmailReceiver(EmailReceiveConfig) - Constructor for class cloud.opencode.base.email.receiver.Pop3EmailReceiver
Create POP3 receiver with configuration 使用配置创建POP3接收器
port() - Method in record class cloud.opencode.base.email.EmailConfig
Returns the value of the port record component.
port() - Method in record class cloud.opencode.base.email.EmailReceiveConfig
Returns the value of the port record component.
port(int) - Method in class cloud.opencode.base.email.EmailConfig.Builder
Set SMTP port 设置SMTP端口
port(int) - Method in class cloud.opencode.base.email.EmailReceiveConfig.Builder
Set mail server port 设置邮件服务器端口
priority() - Method in record class cloud.opencode.base.email.Email
Returns the value of the priority record component.
priority(Email.Priority) - Method in class cloud.opencode.base.email.Email.Builder
Set email priority 设置邮件优先级
privateKey() - Method in record class cloud.opencode.base.email.security.DkimConfig
Returns the value of the privateKey record component.
protocol() - Method in record class cloud.opencode.base.email.EmailReceiveConfig
Returns the value of the protocol record component.
protocol(EmailReceiveConfig.Protocol) - Method in class cloud.opencode.base.email.EmailReceiveConfig.Builder
Set protocol 设置协议
PROTOCOL_NOT_SUPPORTED - Enum constant in enum class cloud.opencode.base.email.exception.EmailErrorCode
Protocol not supported - 协议不支持
ProtocolException - Exception Class in cloud.opencode.base.email.protocol
Protocol-level Exception 协议层异常
ProtocolException(String) - Constructor for exception class cloud.opencode.base.email.protocol.ProtocolException
 
ProtocolException(String, int) - Constructor for exception class cloud.opencode.base.email.protocol.ProtocolException
 
ProtocolException(String, int, Throwable) - Constructor for exception class cloud.opencode.base.email.protocol.ProtocolException
 
ProtocolException(String, Throwable) - Constructor for exception class cloud.opencode.base.email.protocol.ProtocolException
 

Q

query() - Static method in class cloud.opencode.base.email.OpenEmail
Create email query builder 创建邮件查询构建器
queueCapacity(int) - Method in class cloud.opencode.base.email.sender.AsyncEmailSender.Builder
Set queue capacity (for platform threads) 设置队列容量(用于平台线程)
quit() - Method in class cloud.opencode.base.email.protocol.pop3.Pop3Client
QUIT - commit deletions and close the connection QUIT - 提交删除操作并关闭连接
quit() - Method in class cloud.opencode.base.email.protocol.smtp.SmtpClient
Send QUIT command and close the connection 发送QUIT命令并关闭连接

R

RATE_LIMITED - Enum constant in enum class cloud.opencode.base.email.exception.EmailErrorCode
Rate limited - 发送频率超限
RateLimitQuota(int, int, int) - Constructor for record class cloud.opencode.base.email.security.EmailRateLimiter.RateLimitQuota
Creates an instance of a RateLimitQuota record class.
READ - Static variable in record class cloud.opencode.base.email.EmailFlags
Default flags for a read email 已读邮件的默认标记
readExact(int) - Method in class cloud.opencode.base.email.protocol.MailConnection
Read exactly the specified number of characters from the server.
readLine() - Method in class cloud.opencode.base.email.protocol.MailConnection
Read a single line from the server (CRLF-terminated) 从服务器读取一行(CRLF终止)
receive(EmailQuery) - Static method in class cloud.opencode.base.email.OpenEmail
Receive emails with query 使用查询接收邮件
receive(EmailQuery) - Method in class cloud.opencode.base.email.receiver.ImapEmailReceiver
 
receive(EmailQuery) - Method in class cloud.opencode.base.email.receiver.Pop3EmailReceiver
 
RECEIVE_TIMEOUT - Enum constant in enum class cloud.opencode.base.email.exception.EmailErrorCode
Receive timeout - 接收超时
receiveAll() - Method in class cloud.opencode.base.email.receiver.ImapEmailReceiver
Receive all emails from default folder 从默认文件夹接收所有邮件
receiveAll() - Method in class cloud.opencode.base.email.receiver.Pop3EmailReceiver
Receive all emails from default folder 从默认文件夹接收所有邮件
receiveAll() - Static method in class cloud.opencode.base.email.OpenEmail
Receive all emails from default folder 从默认文件夹接收所有邮件
receiveAllAsync() - Method in class cloud.opencode.base.email.receiver.AsyncEmailReceiver
Receive all emails asynchronously 异步接收所有邮件
receiveAsync(EmailQuery) - Static method in class cloud.opencode.base.email.OpenEmail
Receive emails asynchronously with query 使用查询异步接收邮件
receiveAsync(EmailQuery) - Method in class cloud.opencode.base.email.receiver.AsyncEmailReceiver
Receive emails asynchronously with query 使用查询异步接收邮件
receiveAsync(EmailQuery, BiConsumer) - Static method in class cloud.opencode.base.email.OpenEmail
Receive emails asynchronously with callback 使用回调异步接收邮件
receiveAsync(EmailQuery, BiConsumer) - Method in class cloud.opencode.base.email.receiver.AsyncEmailReceiver
Receive emails asynchronously with callback 使用回调异步接收邮件
receiveById(String) - Static method in class cloud.opencode.base.email.OpenEmail
Receive email by message ID 通过消息ID接收邮件
receiveById(String) - Method in class cloud.opencode.base.email.receiver.ImapEmailReceiver
 
receiveById(String) - Method in class cloud.opencode.base.email.receiver.Pop3EmailReceiver
 
receiveByIdAsync(String) - Method in class cloud.opencode.base.email.receiver.AsyncEmailReceiver
Receive email by ID asynchronously 异步通过ID接收邮件
receiveConfig() - Static method in class cloud.opencode.base.email.OpenEmail
Create receive configuration builder 创建接收配置构建器
receivedDate() - Method in record class cloud.opencode.base.email.protocol.mime.ParsedMessage
Returns the value of the receivedDate record component.
receivedDate() - Method in record class cloud.opencode.base.email.ReceivedEmail
Returns the value of the receivedDate record component.
receivedDate(Instant) - Method in class cloud.opencode.base.email.ReceivedEmail.Builder
 
ReceivedEmail - Record Class in cloud.opencode.base.email
Received Email Record 接收的邮件记录
ReceivedEmail(String, String, String, List, List, List, String, String, String, String, Instant, Instant, List, Map, EmailFlags, String, int, long) - Constructor for record class cloud.opencode.base.email.ReceivedEmail
Creates an instance of a ReceivedEmail record class.
ReceivedEmail.Builder - Class in cloud.opencode.base.email
Builder for ReceivedEmail ReceivedEmail构建器
receiver(EmailReceiver) - Method in class cloud.opencode.base.email.receiver.AsyncEmailReceiver.Builder
Set the underlying receiver 设置底层接收器
receiveUnread() - Static method in class cloud.opencode.base.email.OpenEmail
Receive unread emails from default folder 从默认文件夹接收未读邮件
receiveUnread() - Method in class cloud.opencode.base.email.receiver.ImapEmailReceiver
 
receiveUnread() - Method in class cloud.opencode.base.email.receiver.Pop3EmailReceiver
 
receiveUnreadAsync() - Static method in class cloud.opencode.base.email.OpenEmail
Receive unread emails asynchronously 异步接收未读邮件
receiveUnreadAsync() - Method in class cloud.opencode.base.email.receiver.AsyncEmailReceiver
Receive unread emails asynchronously 异步接收未读邮件
recent() - Method in record class cloud.opencode.base.email.EmailFlags
Returns the value of the recent record component.
RECIPIENT_REJECTED - Enum constant in enum class cloud.opencode.base.email.exception.EmailErrorCode
Recipient rejected - 收件人被拒绝
reconnectDelay(Duration) - Method in class cloud.opencode.base.email.listener.EmailIdleMonitor.Builder
Set reconnection delay 设置重连延迟
removeFromCache(String) - Static method in class cloud.opencode.base.email.template.SimpleEmailTemplate
Remove specific template from cache 从缓存中移除特定模板
removeListener(EmailListener) - Method in class cloud.opencode.base.email.listener.EmailIdleMonitor
Remove a listener 移除监听器
render(String, Map) - Method in class cloud.opencode.base.email.template.SimpleEmailTemplate
Render with HTML escaping enabled by default.
renderTemplate(String, Map) - Static method in class cloud.opencode.base.email.template.SimpleEmailTemplate
Render template with variable substitution (static method).
renderTemplate(String, Map, boolean) - Static method in class cloud.opencode.base.email.template.SimpleEmailTemplate
Render template with optional HTML escaping 使用可选HTML转义渲染模板
replyTo() - Method in record class cloud.opencode.base.email.Email
Returns the value of the replyTo record component.
replyTo() - Method in record class cloud.opencode.base.email.protocol.mime.ParsedMessage
Returns the value of the replyTo record component.
replyTo() - Method in record class cloud.opencode.base.email.ReceivedEmail
Returns the value of the replyTo record component.
replyTo(String) - Method in class cloud.opencode.base.email.Email.Builder
Set reply-to address 设置回复地址
replyTo(String) - Method in class cloud.opencode.base.email.ReceivedEmail.Builder
 
requiresAuth() - Method in record class cloud.opencode.base.email.EmailConfig
Check if authentication is required 检查是否需要认证
requiresAuth() - Method in record class cloud.opencode.base.email.EmailReceiveConfig
Check if authentication is required 检查是否需要认证
reset(String) - Method in class cloud.opencode.base.email.security.EmailRateLimiter
Reset rate limit for recipient 重置收件人的频率限制
resetAll() - Method in class cloud.opencode.base.email.security.EmailRateLimiter
Reset all rate limits 重置所有频率限制
results() - Method in record class cloud.opencode.base.email.BatchSendResult
Returns the value of the results record component.
retr(int) - Method in class cloud.opencode.base.email.protocol.pop3.Pop3Client
RETR - retrieve a complete message RETR - 检索完整邮件
retryExecutor(EmailRetryExecutor) - Method in class cloud.opencode.base.email.sender.AsyncEmailSender.Builder
Set retry executor 设置重试执行器
rset() - Method in class cloud.opencode.base.email.protocol.pop3.Pop3Client
RSET - unmark all messages marked for deletion RSET - 取消所有标记为删除的邮件

S

sanitizeHeader(String) - Static method in class cloud.opencode.base.email.security.EmailSecurity
Sanitize email header content to prevent injection attacks 清理邮件头内容以防止注入攻击
search(String) - Method in class cloud.opencode.base.email.protocol.imap.ImapClient
Search for messages matching the given criteria 搜索匹配给定条件的邮件
seen() - Method in record class cloud.opencode.base.email.EmailFlags
Returns the value of the seen record component.
select(String) - Method in class cloud.opencode.base.email.protocol.imap.ImapClient
Select a folder for read-write access 选择文件夹以读写方式打开
selector() - Method in record class cloud.opencode.base.email.security.DkimConfig
Returns the value of the selector record component.
send(Email) - Static method in class cloud.opencode.base.email.OpenEmail
Send email 发送邮件
send(Email) - Method in class cloud.opencode.base.email.sender.AsyncEmailSender
 
send(Email) - Method in class cloud.opencode.base.email.sender.SmtpEmailSender
 
send(Email) - Method in class cloud.opencode.base.email.testing.InMemoryEmailSender
 
SEND_TIMEOUT - Enum constant in enum class cloud.opencode.base.email.exception.EmailErrorCode
Send timeout - 发送超时
sendAllAndWait(List) - Static method in class cloud.opencode.base.email.OpenEmail
Send multiple emails and wait for completion 发送多封邮件并等待完成
sendAllAndWait(List) - Method in class cloud.opencode.base.email.sender.AsyncEmailSender
Send multiple emails and wait for all to complete 发送多封邮件并等待全部完成
sendAllAsync(List) - Static method in class cloud.opencode.base.email.OpenEmail
Send multiple emails asynchronously 异步发送多封邮件
sendAllAsync(List) - Method in class cloud.opencode.base.email.sender.AsyncEmailSender
Send multiple emails asynchronously 异步发送多封邮件
sendAsync(Email) - Static method in class cloud.opencode.base.email.OpenEmail
Send email asynchronously 异步发送邮件
sendAsync(Email) - Method in class cloud.opencode.base.email.sender.AsyncEmailSender
Send email asynchronously 异步发送邮件
sendAsync(Email, BiConsumer) - Static method in class cloud.opencode.base.email.OpenEmail
Send email asynchronously with callback 使用回调异步发送邮件
sendAsync(Email, BiConsumer) - Method in class cloud.opencode.base.email.sender.AsyncEmailSender
Send email asynchronously with callback 使用回调异步发送邮件
sendBatch(List) - Static method in class cloud.opencode.base.email.OpenEmail
Send multiple emails using a single SMTP connection (batch mode) 使用单个SMTP连接批量发送邮件
sendBatch(List) - Method in class cloud.opencode.base.email.sender.SmtpEmailSender
Send multiple emails using a single SMTP connection 使用单个SMTP连接发送多封邮件
sender(EmailSender) - Method in class cloud.opencode.base.email.sender.AsyncEmailSender.Builder
Set delegate sender 设置代理发送器
SENDER_ASC - Enum constant in enum class cloud.opencode.base.email.query.EmailQuery.SortOrder
By sender (A-Z) 按发件人(A-Z)
SENDER_DESC - Enum constant in enum class cloud.opencode.base.email.query.EmailQuery.SortOrder
By sender (Z-A) 按发件人(Z-A)
sendHtml(String, String, String) - Static method in class cloud.opencode.base.email.OpenEmail
Send HTML email 发送HTML邮件
sendHtmlAsync(String, String, String) - Static method in class cloud.opencode.base.email.OpenEmail
Send HTML email asynchronously 异步发送HTML邮件
sendMessage(String, List, String) - Method in class cloud.opencode.base.email.protocol.smtp.SmtpClient
Send a complete email message 发送完整的电子邮件
SendResult - Record Class in cloud.opencode.base.email
Email Send Result 邮件发送结果
SendResult(String, Instant, boolean) - Constructor for record class cloud.opencode.base.email.SendResult
Creates an instance of a SendResult record class.
sendTemplate(String, String, String, Map) - Static method in class cloud.opencode.base.email.OpenEmail
Send template email 发送模板邮件
sendText(String, String, String) - Static method in class cloud.opencode.base.email.OpenEmail
Send simple text email 发送简单文本邮件
sendTextAsync(String, String, String) - Static method in class cloud.opencode.base.email.OpenEmail
Send simple text email asynchronously 异步发送简单文本邮件
sendToMultiple(List, String, String) - Static method in class cloud.opencode.base.email.OpenEmail
Send to multiple recipients 发送给多个收件人
sendWithResult(Email) - Method in class cloud.opencode.base.email.sender.AsyncEmailSender
Send an email and return the result with message ID 发送邮件并返回包含消息ID的结果
sendWithResult(Email) - Static method in class cloud.opencode.base.email.OpenEmail
Send email and return result with message ID 发送邮件并返回包含消息ID的结果
sendWithResult(Email) - Method in class cloud.opencode.base.email.sender.SmtpEmailSender
 
sendWithResult(Email) - Method in class cloud.opencode.base.email.testing.InMemoryEmailSender
 
SENT - Enum constant in enum class cloud.opencode.base.email.query.EmailFolder
Sent items folder 已发送邮件文件夹
sentAt() - Method in record class cloud.opencode.base.email.SendResult
Returns the value of the sentAt record component.
sentDate() - Method in record class cloud.opencode.base.email.protocol.mime.ParsedMessage
Returns the value of the sentDate record component.
sentDate() - Method in record class cloud.opencode.base.email.ReceivedEmail
Returns the value of the sentDate record component.
sentDate(Instant) - Method in class cloud.opencode.base.email.ReceivedEmail.Builder
 
serverGreeting() - Method in record class cloud.opencode.base.email.ConnectionTestResult
Returns the value of the serverGreeting record component.
setFlagged(String, boolean) - Static method in class cloud.opencode.base.email.OpenEmail
Set email flagged status 设置邮件标记状态
setFlagged(String, boolean) - Method in class cloud.opencode.base.email.receiver.ImapEmailReceiver
 
setFlagged(String, boolean) - Method in class cloud.opencode.base.email.receiver.Pop3EmailReceiver
 
setFlaggedAsync(String, boolean) - Method in class cloud.opencode.base.email.receiver.AsyncEmailReceiver
Set email flagged status asynchronously 异步设置邮件标记状态
setTemplateEngine(EmailTemplate) - Static method in class cloud.opencode.base.email.OpenEmail
Set custom template engine 设置自定义模板引擎
shutdown() - Static method in class cloud.opencode.base.email.OpenEmail
Shutdown all resources (call on application shutdown) 关闭所有资源(应用关闭时调用)
shutdownReceiver() - Static method in class cloud.opencode.base.email.OpenEmail
Shutdown only receiver resources 仅关闭接收器资源
shutdownSender() - Static method in class cloud.opencode.base.email.OpenEmail
Shutdown only sender resources 仅关闭发送器资源
sign(String, DkimConfig) - Static method in class cloud.opencode.base.email.security.DkimSigner
Sign a raw MIME message with DKIM 使用DKIM签名原始MIME消息
SimpleEmailTemplate - Class in cloud.opencode.base.email.template
Simple Email Template Engine 简单邮件模板引擎
simulateFailure(Predicate) - Method in class cloud.opencode.base.email.testing.InMemoryEmailSender
Set failure simulator - emails matching the predicate will throw an exception 设置失败模拟器 - 匹配谓词的邮件将抛出异常
size() - Method in record class cloud.opencode.base.email.protocol.mime.ParsedMessage
Returns the value of the size record component.
size() - Method in record class cloud.opencode.base.email.ReceivedEmail
Returns the value of the size record component.
size(long) - Method in class cloud.opencode.base.email.ReceivedEmail.Builder
 
SmtpClient - Class in cloud.opencode.base.email.protocol.smtp
SMTP Protocol Client (RFC 5321) SMTP协议客户端(RFC 5321)
SmtpClient(String, int, boolean, boolean, Duration, Duration) - Constructor for class cloud.opencode.base.email.protocol.smtp.SmtpClient
Create a new SMTP client 创建新的SMTP客户端
SmtpEmailSender - Class in cloud.opencode.base.email.sender
SMTP Email Sender SMTP邮件发送器
SmtpEmailSender(EmailConfig) - Constructor for class cloud.opencode.base.email.sender.SmtpEmailSender
Create SMTP sender with configuration 使用配置创建SMTP发送器
sortBy(EmailQuery.SortOrder) - Method in class cloud.opencode.base.email.query.EmailQuery.Builder
Set sort order 设置排序顺序
sortOrder() - Method in record class cloud.opencode.base.email.query.EmailQuery
Returns the value of the sortOrder record component.
SPAM - Enum constant in enum class cloud.opencode.base.email.query.EmailFolder
Spam/Junk folder 垃圾邮件文件夹
ssl() - Method in record class cloud.opencode.base.email.EmailConfig
Returns the value of the ssl record component.
ssl() - Method in record class cloud.opencode.base.email.EmailReceiveConfig
Returns the value of the ssl record component.
ssl(boolean) - Method in class cloud.opencode.base.email.EmailConfig.Builder
Enable SSL connection 启用SSL连接
ssl(boolean) - Method in class cloud.opencode.base.email.EmailReceiveConfig.Builder
Enable SSL connection 启用SSL连接
STARRED - Enum constant in enum class cloud.opencode.base.email.query.EmailFolder
Starred/Flagged items folder 星标/标记邮件文件夹
start() - Method in class cloud.opencode.base.email.listener.EmailIdleMonitor
Start monitoring for new emails 开始监控新邮件
startedAt() - Method in record class cloud.opencode.base.email.BatchSendResult
Returns the value of the startedAt record component.
starttls() - Method in record class cloud.opencode.base.email.EmailConfig
Returns the value of the starttls record component.
starttls() - Method in record class cloud.opencode.base.email.EmailReceiveConfig
Returns the value of the starttls record component.
starttls(boolean) - Method in class cloud.opencode.base.email.EmailConfig.Builder
Enable STARTTLS 启用STARTTLS
starttls(boolean) - Method in class cloud.opencode.base.email.EmailReceiveConfig.Builder
Enable STARTTLS 启用STARTTLS
stat() - Method in class cloud.opencode.base.email.protocol.pop3.Pop3Client
STAT - get message count and total mailbox size in octets STAT - 获取邮件数量和邮箱总大小(字节)
stop() - Method in class cloud.opencode.base.email.listener.EmailIdleMonitor
Stop monitoring 停止监控
store(int, String, String) - Method in class cloud.opencode.base.email.protocol.imap.ImapClient
Store flags on a message 设置邮件的标志
subject() - Method in record class cloud.opencode.base.email.Email
Returns the value of the subject record component.
subject() - Method in record class cloud.opencode.base.email.protocol.mime.ParsedMessage
Returns the value of the subject record component.
subject() - Method in record class cloud.opencode.base.email.ReceivedEmail
Returns the value of the subject record component.
subject(String) - Method in class cloud.opencode.base.email.Email.Builder
Set email subject 设置邮件主题
subject(String) - Method in class cloud.opencode.base.email.ReceivedEmail.Builder
 
SUBJECT_ASC - Enum constant in enum class cloud.opencode.base.email.query.EmailQuery.SortOrder
By subject (A-Z) 按主题(A-Z)
SUBJECT_DESC - Enum constant in enum class cloud.opencode.base.email.query.EmailQuery.SortOrder
By subject (Z-A) 按主题(Z-A)
subjectContains() - Method in record class cloud.opencode.base.email.query.EmailQuery
Returns the value of the subjectContains record component.
subjectContains(String) - Method in class cloud.opencode.base.email.query.EmailQuery.Builder
Filter by subject containing text 按主题包含文本过滤
success() - Method in record class cloud.opencode.base.email.BatchSendResult.ItemResult
Returns the value of the success record component.
success() - Method in record class cloud.opencode.base.email.ConnectionTestResult
Returns the value of the success record component.
success() - Method in record class cloud.opencode.base.email.SendResult
Returns the value of the success record component.
success(Email, String) - Static method in record class cloud.opencode.base.email.BatchSendResult.ItemResult
Create a success result 创建成功结果
success(String) - Static method in record class cloud.opencode.base.email.SendResult
Create a successful send result 创建成功的发送结果
success(String, Duration) - Static method in record class cloud.opencode.base.email.ConnectionTestResult
Create a successful test result 创建成功的测试结果
successCount() - Method in record class cloud.opencode.base.email.BatchSendResult
Get the number of successfully sent emails 获取成功发送的邮件数量
successes() - Method in record class cloud.opencode.base.email.BatchSendResult
Get only the successful results 仅获取成功的结果

T

TEMPLATE_ERROR - Enum constant in enum class cloud.opencode.base.email.exception.EmailErrorCode
Template error - 模板错误
testConnection() - Static method in class cloud.opencode.base.email.OpenEmail
Test SMTP connection with current configuration 使用当前配置测试SMTP连接
testConnection() - Method in class cloud.opencode.base.email.sender.SmtpEmailSender
Test SMTP server connection and authentication 测试SMTP服务器连接和认证
text(String) - Method in class cloud.opencode.base.email.Email.Builder
Set plain text content 设置纯文本内容
textAndHtml(String, String) - Method in class cloud.opencode.base.email.Email.Builder
Set both plain text and HTML content (multipart/alternative) 同时设置纯文本和HTML内容(multipart/alternative)
textContent() - Method in record class cloud.opencode.base.email.Email
Returns the value of the textContent record component.
textContent() - Method in record class cloud.opencode.base.email.protocol.mime.ParsedMessage
Returns the value of the textContent record component.
textContent() - Method in record class cloud.opencode.base.email.ReceivedEmail
Returns the value of the textContent record component.
textContent(String) - Method in class cloud.opencode.base.email.ReceivedEmail.Builder
 
threadNamePrefix(String) - Method in class cloud.opencode.base.email.sender.AsyncEmailSender.Builder
Set thread name prefix 设置线程名称前缀
timeout() - Method in record class cloud.opencode.base.email.EmailConfig
Returns the value of the timeout record component.
timeout() - Method in record class cloud.opencode.base.email.EmailReceiveConfig
Returns the value of the timeout record component.
timeout() - Static method in exception class cloud.opencode.base.email.exception.EmailReceiveException
Create exception for receive timeout 创建接收超时异常
timeout(Duration) - Method in class cloud.opencode.base.email.EmailConfig.Builder
Set send timeout 设置发送超时
timeout(Duration) - Method in class cloud.opencode.base.email.EmailReceiveConfig.Builder
Set operation timeout 设置操作超时
to() - Method in record class cloud.opencode.base.email.Email
Returns the value of the to record component.
to() - Method in record class cloud.opencode.base.email.protocol.mime.ParsedMessage
Returns the value of the to record component.
to() - Method in record class cloud.opencode.base.email.query.EmailQuery
Returns the value of the to record component.
to() - Method in record class cloud.opencode.base.email.ReceivedEmail
Returns the value of the to record component.
to(String) - Method in class cloud.opencode.base.email.query.EmailQuery.Builder
Filter by recipient address 按收件人地址过滤
to(String...) - Method in class cloud.opencode.base.email.Email.Builder
Add recipient email addresses 添加收件人邮箱地址
to(Collection) - Method in class cloud.opencode.base.email.Email.Builder
Add recipient email addresses from collection 从集合添加收件人邮箱地址
to(List) - Method in class cloud.opencode.base.email.ReceivedEmail.Builder
 
to(Set) - Method in class cloud.opencode.base.email.query.EmailQuery.Builder
Filter by multiple recipient addresses 按多个收件人地址过滤
toDate() - Method in record class cloud.opencode.base.email.query.EmailQuery
Returns the value of the toDate record component.
toDate(LocalDateTime) - Method in class cloud.opencode.base.email.query.EmailQuery.Builder
Set maximum date for emails 设置邮件最大日期
toImapFlags() - Method in record class cloud.opencode.base.email.EmailFlags
Convert to IMAP flags string 转换为IMAP标记字符串
top(int, int) - Method in class cloud.opencode.base.email.protocol.pop3.Pop3Client
TOP - retrieve message headers and the first n lines of the body TOP - 检索邮件头和正文的前n行
toString() - Method in class cloud.opencode.base.email.attachment.ByteArrayAttachment
 
toString() - Method in class cloud.opencode.base.email.attachment.FileAttachment
 
toString() - Method in class cloud.opencode.base.email.attachment.InlineAttachment
 
toString() - Method in record class cloud.opencode.base.email.BatchSendResult.ItemResult
Returns a string representation of this record class.
toString() - Method in record class cloud.opencode.base.email.BatchSendResult
Returns a string representation of this record class.
toString() - Method in record class cloud.opencode.base.email.ConnectionTestResult
Returns a string representation of this record class.
toString() - Method in record class cloud.opencode.base.email.Email
Returns a string representation of this record class.
toString() - Method in class cloud.opencode.base.email.EmailAddress
 
toString() - Method in record class cloud.opencode.base.email.EmailConfig
Return string representation with masked sensitive fields 返回屏蔽敏感字段的字符串表示
toString() - Method in record class cloud.opencode.base.email.EmailFlags
Returns a string representation of this record class.
toString() - Method in record class cloud.opencode.base.email.EmailReceiveConfig
Return string representation with masked sensitive fields 返回屏蔽敏感字段的字符串表示
toString() - Method in record class cloud.opencode.base.email.protocol.mime.MimeBuilder.AttachmentData
Returns a string representation of this record class.
toString() - Method in record class cloud.opencode.base.email.protocol.mime.ParsedMessage.ParsedAttachment
Returns a string representation of this record class.
toString() - Method in record class cloud.opencode.base.email.protocol.mime.ParsedMessage
Returns a string representation of this record class.
toString() - Method in enum class cloud.opencode.base.email.query.EmailFolder
 
toString() - Method in record class cloud.opencode.base.email.query.EmailQuery
Returns a string representation of this record class.
toString() - Method in record class cloud.opencode.base.email.ReceivedEmail
Returns a string representation of this record class.
toString() - Method in record class cloud.opencode.base.email.security.DkimConfig
Returns a string representation of this record class.
toString() - Method in record class cloud.opencode.base.email.security.EmailRateLimiter.RateLimitQuota
Returns a string representation of this record class.
toString() - Method in record class cloud.opencode.base.email.SendResult
Returns a string representation of this record class.
totalCount() - Method in record class cloud.opencode.base.email.BatchSendResult
Get the total number of emails in the batch 获取批量中的邮件总数
TRASH - Enum constant in enum class cloud.opencode.base.email.query.EmailFolder
Trash/Deleted items folder 已删除/垃圾箱文件夹

U

uidl() - Method in class cloud.opencode.base.email.protocol.pop3.Pop3Client
UIDL - get unique IDs for all messages UIDL - 获取所有邮件的唯一标识
uidl(int) - Method in class cloud.opencode.base.email.protocol.pop3.Pop3Client
UIDL n - get the unique ID of a specific message UIDL n - 获取指定邮件的唯一标识
UNKNOWN - Enum constant in enum class cloud.opencode.base.email.exception.EmailErrorCode
Unknown error - 未知错误
unread() - Static method in record class cloud.opencode.base.email.query.EmailQuery
Create a query for all unread emails 创建查询所有未读邮件的查询
UNREAD - Static variable in record class cloud.opencode.base.email.EmailFlags
Default flags for a new unread email 新未读邮件的默认标记
unreadOnly() - Method in class cloud.opencode.base.email.query.EmailQuery.Builder
Filter to only unread emails 仅过滤未读邮件
unreadOnly() - Method in record class cloud.opencode.base.email.query.EmailQuery
Returns the value of the unreadOnly record component.
unreadOnly(boolean) - Method in class cloud.opencode.base.email.query.EmailQuery.Builder
Set unread filter 设置未读过滤
upgradeToTls() - Method in class cloud.opencode.base.email.protocol.MailConnection
Upgrade the connection to TLS (STARTTLS) 升级连接到TLS(STARTTLS)
username() - Method in record class cloud.opencode.base.email.EmailConfig
Returns the value of the username record component.
username() - Method in record class cloud.opencode.base.email.EmailReceiveConfig
Returns the value of the username record component.
username(String) - Method in class cloud.opencode.base.email.EmailConfig.Builder
Set username for authentication 设置认证用户名
username(String) - Method in class cloud.opencode.base.email.EmailReceiveConfig.Builder
Set username for authentication 设置认证用户名
useVirtualThreads(boolean) - Method in class cloud.opencode.base.email.receiver.AsyncEmailReceiver.Builder
Use virtual threads (default: true) 使用虚拟线程(默认:true)
useVirtualThreads(boolean) - Method in class cloud.opencode.base.email.sender.AsyncEmailSender.Builder
Use virtual threads (default: true) 使用虚拟线程(默认: true)

V

validateAttachment(Attachment) - Static method in class cloud.opencode.base.email.security.EmailSecurity
Validate attachment security 验证附件安全性
validateAttachment(Attachment, Set, long) - Static method in class cloud.opencode.base.email.security.EmailSecurity
Validate attachment security with custom settings 使用自定义设置验证附件安全性
valueOf(String) - Static method in enum class cloud.opencode.base.email.Email.Priority
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class cloud.opencode.base.email.EmailReceiveConfig.Protocol
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class cloud.opencode.base.email.exception.EmailErrorCode
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class cloud.opencode.base.email.query.EmailFolder
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class cloud.opencode.base.email.query.EmailQuery.SortOrder
Returns the enum constant of this class with the specified name.
values() - Static method in enum class cloud.opencode.base.email.Email.Priority
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class cloud.opencode.base.email.EmailReceiveConfig.Protocol
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class cloud.opencode.base.email.exception.EmailErrorCode
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class cloud.opencode.base.email.query.EmailFolder
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class cloud.opencode.base.email.query.EmailQuery.SortOrder
Returns an array containing the constants of this enum class, in the order they are declared.

W

withAnswered(boolean) - Method in record class cloud.opencode.base.email.EmailFlags
Create a copy with answered flag set 创建设置已回复标记的副本
withCleared() - Method in record class cloud.opencode.base.email.EmailConfig
Returns a copy of this configuration with credential fields (password and oauth2Token) cleared to null.
withDeleted(boolean) - Method in record class cloud.opencode.base.email.EmailFlags
Create a copy with deleted flag set 创建设置删除标记的副本
withFlagged(boolean) - Method in record class cloud.opencode.base.email.EmailFlags
Create a copy with flagged status set 创建设置标记状态的副本
withSeen(boolean) - Method in record class cloud.opencode.base.email.EmailFlags
Create a copy with seen flag set 创建设置已读标记的副本
writeBytes(byte[]) - Method in class cloud.opencode.base.email.protocol.MailConnection
Write raw bytes to the server (no CRLF appended) 向服务器写入原始字节(不附加CRLF)
writeLine(String) - Method in class cloud.opencode.base.email.protocol.MailConnection
Write a line to the server (appends CRLF) 向服务器写入一行(附加CRLF)
writeRaw(String) - Method in class cloud.opencode.base.email.protocol.MailConnection
Write raw string to the server (no CRLF appended) 向服务器写入原始字符串(不附加CRLF)
A B C D E F G H I L M N O P Q R S T U V W 
All Classes and Interfaces|All Packages|Serialized Form