Interface ReactiveMailer

  • All Known Implementing Classes:
    MutinyMailerImpl

    public interface ReactiveMailer
    A mailer to send email asynchronously.
    • Method Detail

      • send

        io.smallrye.mutiny.Uni<Void> send​(Mail... mails)
        Sends the given emails.
        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.