Uses of Record Class
cloud.opencode.base.email.Email
Packages that use Email
Package
Description
-
Uses of Email in cloud.opencode.base.email
Methods in cloud.opencode.base.email that return EmailMethods in cloud.opencode.base.email with parameters of type EmailModifier and TypeMethodDescriptionstatic voidSend email 发送邮件static CompletableFuture<Void> Send email asynchronously 异步发送邮件static CompletableFuture<Void> OpenEmail.sendAsync(Email email, BiConsumer<Email, Throwable> callback) Send email asynchronously with callback 使用回调异步发送邮件static SendResultOpenEmail.sendWithResult(Email email) Send email and return result with message ID 发送邮件并返回包含消息ID的结果Method parameters in cloud.opencode.base.email with type arguments of type EmailModifier and TypeMethodDescriptionstatic CompletableFuture<Void> OpenEmail.sendAllAndWait(List<Email> emails) Send multiple emails and wait for completion 发送多封邮件并等待完成static List<CompletableFuture<Void>> OpenEmail.sendAllAsync(List<Email> emails) Send multiple emails asynchronously 异步发送多封邮件static CompletableFuture<Void> OpenEmail.sendAsync(Email email, BiConsumer<Email, Throwable> callback) Send email asynchronously with callback 使用回调异步发送邮件 -
Uses of Email in cloud.opencode.base.email.exception
Methods in cloud.opencode.base.email.exception that return EmailModifier and TypeMethodDescriptionEmailException.getEmail()Get the related email (if available) 获取相关邮件(如果可用)Constructors in cloud.opencode.base.email.exception with parameters of type EmailModifierConstructorDescriptionEmailException(String message, Throwable cause, Email email, EmailErrorCode errorCode) Create exception with all parameters 使用所有参数创建异常EmailSendException(String message, Email email, EmailErrorCode errorCode) Create send exception with email and error code 使用邮件和错误码创建发送异常EmailSendException(String message, Throwable cause, Email email, EmailErrorCode errorCode) Create send exception with all parameters 使用所有参数创建发送异常 -
Uses of Email in cloud.opencode.base.email.retry
Methods in cloud.opencode.base.email.retry with parameters of type EmailModifier and TypeMethodDescriptionvoidEmailRetryExecutor.executeWithRetry(Email email, cloud.opencode.base.email.internal.EmailSender sender) Execute email sending with retry 执行带重试的邮件发送voidEmailRetryExecutor.executeWithRetry(Email email, cloud.opencode.base.email.internal.EmailSender sender, EmailRetryExecutor.RetryCallback retryCallback) Execute email sending with retry and callback 执行带重试和回调的邮件发送 -
Uses of Email in cloud.opencode.base.email.sender
Methods in cloud.opencode.base.email.sender with parameters of type EmailModifier and TypeMethodDescriptionvoidvoidSend email asynchronously 异步发送邮件AsyncEmailSender.sendAsync(Email email, BiConsumer<Email, Throwable> callback) Send email asynchronously with callback 使用回调异步发送邮件SmtpEmailSender.sendWithResult(Email email) Method parameters in cloud.opencode.base.email.sender with type arguments of type EmailModifier and TypeMethodDescriptionAsyncEmailSender.sendAllAndWait(List<Email> emails) Send multiple emails and wait for all to complete 发送多封邮件并等待全部完成AsyncEmailSender.sendAllAsync(List<Email> emails) Send multiple emails asynchronously 异步发送多封邮件AsyncEmailSender.sendAsync(Email email, BiConsumer<Email, Throwable> callback) Send email asynchronously with callback 使用回调异步发送邮件