public abstract class BaseEmailAttributes extends BaseAttributes
This class aims to be returned as attributes for every email message in a PagingProviderEmailDelegate operation.
| Constructor and Description |
|---|
BaseEmailAttributes(javax.mail.Message msg) |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getBccAddresses() |
List<String> |
getCcAddresses() |
List<String> |
getFromAddresses()
Get the identity of the person(s) who wished this message to be sent.
|
Map<String,String> |
getHeaders() |
abstract long |
getId() |
int |
getNumber()
Returns the number of the email in the mailbox folder in a moment.
|
LocalDateTime |
getReceivedDate()
Get the date this message was received.
|
List<String> |
getReplyToAddresses()
Get the addresses to which replies should be directed.
|
LocalDateTime |
getSentDate()
Get the date this message was sent.
|
String |
getSubject() |
List<String> |
getToAddresses() |
toStringpublic abstract long getId()
public int getNumber()
Take in mind that this number change with the different operations that can occur in a folder i.e. moving mails, deleting emails, etc.
public String getSubject()
public List<String> getToAddresses()
public List<String> getBccAddresses()
public List<String> getCcAddresses()
public List<String> getFromAddresses()
public List<String> getReplyToAddresses()
public LocalDateTime getReceivedDate()
public LocalDateTime getSentDate()
Copyright © 2003–2017 MuleSoft, Inc.. All rights reserved.