pfx-smtps:send

Sends an email.

Properties

The same as in the standard Camel mail component https://camel.apache.org/components/4.0.x/mail-component.html.

Examples

Send an email using content defined in the body and subject defined in a URI parameter. Server properties must be defined in the properties (see pfx-smtps Component).

<route> <from uri="direct:start"/> <setBody> <groovy>'Mail content'</groovy> </setBody> <to uri="pfx-smtps:send?subject=Subject"/> </route>

Send an email using content defined in the body and subject defined in a URI parameter. It overrides username and password from the properties:

<route> <from uri="direct:start"/> <setBody> <groovy>'Mail content'</groovy> </setBody> <to uri="pfx-smtps:send?subject=Subject&amp;username=im&amp;password=pass"/> </route>

IntegrationManager version 5.8.0