-
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 List<String>attachmentsprivate final List<String>bccprivate final List<String>ccprivate final OffsetDateTimecreatedAtprivate final Stringfromprivate final UUIDidprivate final Booleanreadprivate final Stringsubjectprivate final List<String>to
-
Method Summary
-
-
Constructor Detail
-
EmailPreview
EmailPreview(List<String> attachments, List<String> bcc, List<String> cc, OffsetDateTime createdAt, String from, UUID id, Boolean read, String subject, List<String> to)
- Parameters:
attachments- List of IDs of attachments found in the email.bcc- List ofBCCrecipients email addresses that the email was addressed to.cc- List ofCCrecipients email addresses that the email was addressed to.createdAt- When was the email received by MailSlurpfrom- Who the email was sent from.id- ID of the email entityread- Read flag.subject- The subject line of the email message as specified by SMTP subject headerto- List ofTorecipient email addresses that the email was addressed to.
-
-
Method Detail
-
getAttachments
final List<String> getAttachments()
-
getCreatedAt
final OffsetDateTime getCreatedAt()
-
getSubject
final String getSubject()
-
-
-
-