Warning

This component has been deprecated in favor to servicemix-mail component.

We currently support MIME email sending via JavaMail. The following example shows the configuration of the JavaMail email sender component.

Unknown macro: {snippet}

We also support the simpler MailSender from Spring, such as to work with COS.

Unknown macro: {snippet}

Using message properties

The default configuration of the email sender uses the supplied message properties to figure out how to send the email. The following code shows this in use

Unknown macro: {snippet}

Using expressions

You can also use Expressions to configure the various properties on the email. The following example uses a mixture of constant expression and XPath expressions. This means that the sender component will use XPath to extract information from the message content and use that to create the email.

Unknown macro: {snippet}

This example uses property expressions; that is extracting properties from the message.

Unknown macro: {snippet}
  • No labels