Interface PasswordResetMail.ISendStep

Enclosing class:
PasswordResetMail
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface PasswordResetMail.ISendStep
The send step: Mail::send.
Author:
Christopher Mindus
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    send(Mail mail)
    Sends the mail, waiting for the result.
  • Method Details

    • send

      boolean send(Mail mail) throws MessagingException
      Sends the mail, waiting for the result.
      Parameters:
      mail - The mail to send.
      Returns:
      true if it was sent, false if the mail was not accepted for sending.
      Throws:
      MessagingException - For mail sending errors.