Package org.citrusframework.mail.model
Class MailRequest
java.lang.Object
org.citrusframework.mail.model.MailRequest
Mail message model object representing mail content with sender and recipient information. Body can be text, binary
or multipart nature.
- Since:
- 1.4
- Author:
- Christoph Deppisch
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetBcc()Gets the blind copy recipient list.getBody()Gets the mail body content.getCc()Gets the copy to recipients.getFrom()Gets the sender mail address.Gets the reply to mail address.Gets the mail subject.getTo()Gets the mail recipients.voidSets the blind copy recipient list.voidSets the mail body content.voidSets the copy to recipients.voidSets the sender mail address.voidsetReplyTo(String replyTo) Sets the reply to mail address.voidsetSubject(String subject) Sets the mail subject.voidSets the mail recipients.
-
Field Details
-
from
-
to
-
cc
-
bcc
-
subject
-
replyTo
-
body
-
-
Constructor Details
-
MailRequest
public MailRequest()
-
-
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-
-
getCc
Gets the copy to recipients.- Returns:
-
setCc
Sets the copy to recipients.- Parameters:
cc-
-
getBcc
Gets the blind copy recipient list.- Returns:
-
setBcc
Sets the blind copy recipient list.- Parameters:
bcc-
-
getReplyTo
Gets the reply to mail address.- Returns:
-
setReplyTo
Sets the reply to mail address.- Parameters:
replyTo-
-
getSubject
Gets the mail subject.- Returns:
-
setSubject
Sets the mail subject.- Parameters:
subject-
-
getBody
Gets the mail body content.- Returns:
-
setBody
Sets the mail body content.- Parameters:
body-
-