MailSlurpClient::EmailPreview

Properties

NameTypeDescriptionNotes
attachmentsArrayList of IDs of attachments found in the email. Use these IDs with the Inbox and Email Controllers to download attachments and attachment meta data such as filesize, name, extension.[optional]
bccArrayList of BCC recipients email was addressed to[optional]
ccArrayList of CC recipients email was addressed to[optional]
created_atDateTimeWhen was the email received by MailSlurp[optional]
fromStringWho the email was sent from[optional]
idStringID of the email entity[optional]
readBooleanRead flag. Has the email ever been viewed in the dashboard or fetched via the API? If so the email is marked as read.[optional]
subjectStringThe subject line of the email message[optional]
toArrayList of To recipients that email was addressed to[optional]

Code Sample

require 'MailSlurpClient'

instance = MailSlurpClient::EmailPreview.new(attachments: null,
                                 bcc: null,
                                 cc: null,
                                 created_at: null,
                                 from: null,
                                 id: null,
                                 read: null,
                                 subject: null,
                                 to: null)