Class MutinyMailerImpl

    • Field Detail

      • client

        @Inject
        io.vertx.mutiny.ext.mail.MailClient client
      • vertx

        @Inject
        io.vertx.mutiny.core.Vertx vertx
    • Constructor Detail

      • MutinyMailerImpl

        public MutinyMailerImpl()
    • 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)