public interface EmailItem
Modifier and Type | Method and Description |
---|---|
List<EmailAddress> |
getCcAddresses()
Retrieves a list of carbon copy email addresses.
|
List<EmailFileReference> |
getEmailAttachments()
Retrieves a list of email attachments that were sent with this email.
|
int |
getEmailBodySize(EmailBodyType emailBodyType)
Retrieves the size in bytes of this email body.
|
EmailFileReference |
getEmailFile()
Retrieves a
FileReference pointing to the stored .eml file to be used to
create a document or attachment. |
List<String> |
getHeaderNames()
Retrieves a list of email header names.
|
List<String> |
getHeaderValues(String headerName)
Retrieves a list of email header values for the given header name.
|
String |
getId()
Retrieves the ID of the
email__sys record. |
String |
getMessageId()
Retrieves the Message-ID header value of this email.
|
EmailRecipient |
getRecipient()
Retrieves the recipient of this email.
|
EmailSender |
getSender()
Retrieves the sender of this email.
|
ZonedDateTime |
getSentDate()
Retrieves the date this email was sent.
|
String |
getSubject()
Retrieves the subject line of this email.
|
List<EmailAddress> |
getToAddresses()
Retrieves a list of To email addresses.
|
int getEmailBodySize(EmailBodyType emailBodyType)
emailBodyType
- the EmailBodyType to get the size ofEmailFileReference getEmailFile()
FileReference
pointing to the stored .eml file to be used to
create a document or attachment.List<EmailFileReference> getEmailAttachments()
List<String> getHeaderNames()
List<String> getHeaderValues(String headerName)
headerName
- header for which to get valuesString getId()
email__sys
record.String getMessageId()
EmailRecipient getRecipient()
EmailSender getSender()
ZonedDateTime getSentDate()
String getSubject()
List<EmailAddress> getToAddresses()
List<EmailAddress> getCcAddresses()
Copyright © Veeva Systems 2017–2022. All rights reserved.