Interface SmtpTransactionHandler.MessageReceiver

Enclosing class:
SmtpTransactionHandler
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 SmtpTransactionHandler.MessageReceiver
Represents a message receiver within the SMTP transaction.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Invoked when a message is received.
  • Method Details

    • receiveMessage

      void receiveMessage(SmtpMessage message)
      Invoked when a message is received.
      Parameters:
      message - The received message.