-
public final class EmailPreviewPreview of an email message. For full message (including body and attachments) call the
getEmailor other email endpoints with the provided email ID.
-
-
Field Summary
Fields Modifier and Type Field Description private final UUIDidprivate final List<String>toprivate final OffsetDateTimecreatedAtprivate final Stringsubjectprivate final Stringfromprivate final List<String>bccprivate final List<String>ccprivate final Booleanreadprivate final List<String>attachments
-
Method Summary
-
-
Constructor Detail
-
EmailPreview
EmailPreview(UUID id, List<String> to, OffsetDateTime createdAt, String subject, String from, List<String> bcc, List<String> cc, Boolean read, List<String> attachments)
- Parameters:
id- ID of the email entityto- List ofTorecipient email addresses that the email was addressed to.createdAt- When was the email received by MailSlurpsubject- The subject line of the email message as specified by SMTP subject headerfrom- Who the email was sent from.bcc- List ofBCCrecipients email addresses that the email was addressed to.cc- List ofCCrecipients email addresses that the email was addressed to.read- Read flag.attachments- List of IDs of attachments found in the email.
-
-
Method Detail
-
getCreatedAt
final OffsetDateTime getCreatedAt()
-
getSubject
final String getSubject()
-
getAttachments
final List<String> getAttachments()
-
-
-
-