cMail
Sends or receives mails in a Route.
cMail provides access to Email via Spring's Mail support and the underlying Java Mail system.
For more information, see the Apache camel documentation https://camel.apache.org/components/latest/.
cMail Standard properties
These properties are used to configure cMail running in the Standard Job framework.
The Standard cMail component belongs to the Connectivity family.
Basic settings
| Properties | Description |
|---|---|
|
Protocols |
List of protocols for sending or receiving mails. |
|
Host |
Host name of the mail server. |
|
Port |
Port number of the mail server. |
|
UserName and Password |
Login authentication data. To enter the password, click the [...] button next to the password field, and then in the pop-up dialog box enter the password between double quotes and click OK to save the settings. |
|
Content Type |
The mail content type. |
| The following options are available for sending mails only: | |
|
Subject |
Subject of the mail being sent. |
|
From |
The mail sender. |
|
To |
The mail receivers. |
|
CC |
The CC recipients of the mail. Separate multiple email addresses with a comma. |
|
BCC |
The BCC recipients of the mail. Separate multiple email addresses with a comma. |
| The following options are available for receiving mails only: |
Information noteNote: These options are available only if you have installed
the R2025-08 Talend Studio Monthly update or a later one delivered by Talend. For more information, check with your administrator.
|
|
Subject Filter |
The subject text you want to use to filter mails. |
|
From Filter |
The sender you want to use to filter mails. |
|
To Filter |
The receiver you want to use to filter mails. |
|
Check Interval |
The time interval (in milliseconds) to check for new mails. |
|
Fetch Size |
The number of messages per poll. |
|
Unseen only |
Select this check box to fetch unread mails only. |
|
Delete after processed |
Select this check box to delete mails after consumption. |
Advanced settings
| Properties | Description |
|---|---|
|
Arguments |
Click the [+] button to add lines as needed in the Arguments table. Then, enter the name and value of an argument. See the site https://camel.apache.org/components/latest/mail-component.html for available URI options. |
Usage
| Usage guidance | Description |
|---|---|
|
Usage rule |
When used as a start component, cMail is intended to receive mails. Otherwise, it is intended to send mails. |
|
Limitation |
Due to license incompatibility, one or more JARs required to use this component are not provided. You can install the missing JARs for this particular component by clicking the Install button on the Component tab view. You can also find out and add all missing JARs easily on the Modules tab in the Integration perspective of Talend Studio. For details, see Installing external modules. |