Class AcceptRequest

java.lang.Object
org.citrusframework.mail.model.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
  • Field Details

  • Constructor Details

    • AcceptRequest

      public AcceptRequest()
      Default constructor.
    • AcceptRequest

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

    • 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 -