Class MutinyMailerImpl

    • 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 interface ReactiveMailer
        Parameters:
        mails - the emails to send, must not be null, must not contain null
        Returns:
        a Uni indicating when the mails have been sent. The Uni 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)