Package io.quarkus.mailer.runtime
Class MutinyMailerImpl
java.lang.Object
io.quarkus.mailer.runtime.MutinyMailerImpl
- All Implemented Interfaces:
ReactiveMailer
-
Constructor Summary
ConstructorsConstructorDescriptionMutinyMailerImpl(io.vertx.mutiny.core.Vertx vertx, io.vertx.mutiny.ext.mail.MailClient client, MockMailboxImpl mockMailbox, String from, String bounceAddress, boolean mock, List<Pattern> approvedRecipients, boolean logRejectedRecipients, boolean logInvalidRecipients, jakarta.enterprise.event.Event<SentMail> sentEmailEvent) -
Method Summary
Modifier and TypeMethodDescriptionstatic io.smallrye.mutiny.Uni<io.vertx.core.buffer.Buffer>getAttachmentStream(io.vertx.mutiny.core.Vertx vertx, Attachment attachment) io.smallrye.mutiny.Uni<Void>Sends the given emails.
-
Constructor Details
-
MutinyMailerImpl
MutinyMailerImpl(io.vertx.mutiny.core.Vertx vertx, io.vertx.mutiny.ext.mail.MailClient client, MockMailboxImpl mockMailbox, String from, String bounceAddress, boolean mock, List<Pattern> approvedRecipients, boolean logRejectedRecipients, boolean logInvalidRecipients, jakarta.enterprise.event.Event<SentMail> sentEmailEvent)
-
-
Method Details
-
send
Description copied from interface:ReactiveMailerSends the given emails.- Specified by:
sendin interfaceReactiveMailer- Parameters:
mails- the emails to send, must not benull, must not containnull- Returns:
- a
Uniindicating when the mails have been sent. TheUnimay fire a failure if the emails cannot be sent.
-
getAttachmentStream
public static io.smallrye.mutiny.Uni<io.vertx.core.buffer.Buffer> getAttachmentStream(io.vertx.mutiny.core.Vertx vertx, Attachment attachment)
-