public class EmailBuilder extends Object
| Constructor and Description |
|---|
EmailBuilder()
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
List<EmailAttachment> |
getAttachments() |
List<String> |
getBccAddresses() |
EmailBody |
getBody() |
List<String> |
getCcAddresses() |
String |
getFromAddress() |
Map<String,String> |
getHeaders() |
List<String> |
getReplyToAddresses() |
String |
getSubject() |
List<String> |
getToAddresses() |
public String getSubject()
public List<String> getReplyToAddresses()
List with the addresses that this mail should be replied to configured in the built outgoing email.public List<String> getToAddresses()
List with the primary recipients configured in the built outgoing email.public List<String> getCcAddresses()
List with the cc recipients configured in the built outgoing email.public List<String> getBccAddresses()
List with the bcc recipients configured in the built outgoing email.public Map<String,String> getHeaders()
Map with all the additional headers configured for thepublic EmailBody getBody()
public String getFromAddress()
public List<EmailAttachment> getAttachments()
List of attachments configured in the built outgoing email.Copyright © 2003–2017 MuleSoft, Inc.. All rights reserved.