public class SenderOperations extends Object
| Constructor and Description |
|---|
SenderOperations() |
| Modifier and Type | Method and Description |
|---|---|
void |
send(SenderConnection connection,
SMTPConfiguration configuration,
EmailBuilder emailBuilder)
Sends an email message.
|
@Summary(value="Sends an email message") @Throws(value=EmailSenderErrorTypeProvider.class) public void send(@Connection SenderConnection connection, @UseConfig SMTPConfiguration configuration, EmailBuilder emailBuilder)
toAddresses, ccAddresses,
bccAddresses specified in the message.
The content of the message aims to be some type of text (text/plan, text/html) and its composed by the body and it's content type. If no content is specified then the incoming payload it's going to be converted into plain text if possible.
connection - Connection to use to send the messageconfiguration - Configuration of the connectoremailBuilder - The builder of the email that is going to be send.Copyright © 2003–2017 MuleSoft, Inc.. All rights reserved.