Package org.citrusframework.mail.model
Class AcceptRequest
java.lang.Object
org.citrusframework.mail.model.AcceptRequest
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 Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor.AcceptRequest(String from, String to) Constructor using fields. -
Method Summary
-
Field Details
-
from
-
to
-
-
Constructor Details
-
AcceptRequest
public AcceptRequest()Default constructor. -
AcceptRequest
Constructor using fields.- Parameters:
from-to-
-
-
Method Details
-
getFrom
Gets the sender mail address.- Returns:
-
setFrom
Sets the sender mail address.- Parameters:
from-
-
getTo
Gets the mail recipients.- Returns:
-
setTo
Sets the mail recipients.- Parameters:
to-
-