I - Email RequestO - Email Responsepublic interface TransactionalEmailSender<I,O>
extends io.micronaut.core.naming.Named
| Modifier and Type | Method and Description |
|---|---|
default O |
send(@NotNull @Valid Email email)
Sends an email.
|
O |
send(@NotNull @Valid Email email,
@NotNull java.util.function.Consumer<I> emailRequest)
Sends an email.
|
@NonNull default O send(@NonNull @NotNull @Valid @NotNull @Valid Email email) throws EmailException
email - EmailEmailException - Wrapper of any exception thrown while sending email@NonNull O send(@NonNull @NotNull @Valid @NotNull @Valid Email email, @NonNull @NotNull @NotNull java.util.function.Consumer<I> emailRequest) throws EmailException
email - EmailemailRequest - Email Request ConsumerEmailException - Wrapper of any exception thrown while sending email