Package io.quarkus.mailer.runtime
Class MutinyMailerImpl
- java.lang.Object
-
- io.quarkus.mailer.runtime.MutinyMailerImpl
-
- All Implemented Interfaces:
ReactiveMailer
public class MutinyMailerImpl extends Object implements ReactiveMailer
-
-
Constructor Summary
Constructors Constructor Description 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)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static io.smallrye.mutiny.Uni<io.vertx.core.buffer.Buffer>
getAttachmentStream(io.vertx.mutiny.core.Vertx vertx, Attachment attachment)
io.smallrye.mutiny.Uni<Void>
send(Mail... mails)
Sends the given emails.
-
-
-
Constructor Detail
-
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)
-
-
Method Detail
-
send
public io.smallrye.mutiny.Uni<Void> send(Mail... mails)
Description copied from interface:ReactiveMailer
Sends the given emails.- Specified by:
send
in interfaceReactiveMailer
- Parameters:
mails
- the emails to send, must not benull
, must not containnull
- Returns:
- a
Uni
indicating when the mails have been sent. TheUni
may 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)
-
-