| Package | Description |
|---|---|
| org.mule.extension.email.internal |
| Modifier and Type | Method and Description |
|---|---|
MessageBuilder |
MessageBuilder.bcc(List<String> bccAddresses)
Adds the "bcc" addresses to the
Message that is being built. |
MessageBuilder |
MessageBuilder.cc(List<String> ccAddresses)
Adds the "cc" addresses to the
Message that is being built. |
MessageBuilder |
MessageBuilder.fromAddresses(List<String> fromAddresses)
Adds the from addresses to the
Message that is being built. |
MessageBuilder |
MessageBuilder.fromAddresses(String from)
Adds a single from address to the
Message that is being built. |
static MessageBuilder |
MessageBuilder.newMessage(javax.mail.Session session)
Creates a new
MessageBuilder instance for the specified session. |
MessageBuilder |
MessageBuilder.replyTo(List<String> replyAddresses)
Adds the reply to addresses of the
Message that is being built. |
MessageBuilder |
MessageBuilder.to(List<String> toAddresses)
Adds the "to" (primary) addresses to the
Message that is being built. |
MessageBuilder |
MessageBuilder.withAttachments(List<EmailAttachment> attachments)
Adds attachments represented as
EmailAttachments to the Message that is being built. |
MessageBuilder |
MessageBuilder.withAttachments(Map<String,DataHandler> attachments)
|
MessageBuilder |
MessageBuilder.withBody(String content)
Adds the text content the
Message that is being built. |
MessageBuilder |
MessageBuilder.withBody(String content,
org.mule.runtime.api.metadata.MediaType contentType,
String charset)
Adds the text content the
Message that is being built. |
MessageBuilder |
MessageBuilder.withHeaders(Map<String,String> headers)
Adds custom headers to the
Message that is being built. |
MessageBuilder |
MessageBuilder.withSentDate(Date date)
Adds the sent date to the
Message that is being built. |
MessageBuilder |
MessageBuilder.withSubject(String subject)
Adds the subject to the
Message that is being built. |
Copyright © 2003–2017 MuleSoft, Inc.. All rights reserved.