Class TransformDestination

  • All Implemented Interfaces:
    Destination, MailDestination, ResponsibleDestination

    public class TransformDestination
    extends Object
    implements MailDestination
    Transforms the mail sent to the recipient and forwards the result. Note: this minimal implementation can only send a new mail with the specified subject and an empty body.
    • Constructor Detail

      • TransformDestination

        public TransformDestination()
    • Method Detail

      • toString

        public String toString()
        Description copied from interface: ResponsibleDestination
        Returns a string representation of the destination suitable for logging purposes. Usually it should contain enough information to show the difference between non-equal destinations.
        Specified by:
        toString in interface ResponsibleDestination
        Overrides:
        toString in class Object
      • getSubject

        public String getSubject()
        Category:
        GETSET
      • setSubject

        public void setSubject​(String subject)
        Category:
        GETSET
      • getRecipient

        public String getRecipient()
        Category:
        GETSET
      • setRecipient

        public void setRecipient​(String recipient)
        Category:
        GETSET
      • getReversePath

        public String getReversePath()
        Category:
        GETSET
      • setReversePath

        public void setReversePath​(String reversePath)
        Category:
        GETSET
      • getFrom

        public String getFrom()
        Category:
        GETSET
      • setFrom

        public void setFrom​(String from)
        Category:
        GETSET
      • getTransmitter

        public Transmitter getTransmitter()
        Category:
        GETSET
      • setTransmitter

        public void setTransmitter​(Transmitter transmitter)
        Category:
        GETSET