Class AcceptRequest


  • public class AcceptRequest
    extends Object
    Accept request is raised for each mail communication in prior to processing the mail message. If accepted with positive accept outcome mail message is processed. If not the mail message is declined with not accepted error. Accept request is defined by mail sender address and recipients. Accept request is fired for each entry in list of recipients.
    Since:
    1.4
    Author:
    Christoph Deppisch
    • Constructor Detail

      • AcceptRequest

        public AcceptRequest()
        Default constructor.
      • AcceptRequest

        public AcceptRequest​(String from,
                             String to)
        Constructor using fields.
        Parameters:
        from -
        to -
    • Method Detail

      • getFrom

        public String getFrom()
        Gets the sender mail address.
        Returns:
      • setFrom

        public void setFrom​(String from)
        Sets the sender mail address.
        Parameters:
        from -
      • getTo

        public String getTo()
        Gets the mail recipients.
        Returns:
      • setTo

        public void setTo​(String to)
        Sets the mail recipients.
        Parameters:
        to -