Interface MessageHandlerFactory

All Known Implementing Classes:
SimpleMessageListenerAdapter, SmarterMessageListenerAdapter

public interface MessageHandlerFactory
The primary interface to be implemented by clients of the SMTP library. This factory is called for every message to be exchanged in an SMTP conversation. If multiple messages are transmitted in a single connection (via RSET), multiple handlers will be created from this factory.
Author:
Jeff Schnitzer
  • Method Summary

    Modifier and Type
    Method
    Description
    Called for the exchange of a single message during an SMTP conversation.
  • Method Details

    • create

      Called for the exchange of a single message during an SMTP conversation.
      Parameters:
      ctx - provides information about the client.