Skip to main content Skip to complementary content

tSendMail Standard properties

These properties are used to configure tSendMail running in the Standard Job framework.

The Standard tSendMail component belongs to the Internet family.

The component in this framework is available in all Talend products.

Basic settings

To

Main recipient email address.

From

Sending server email address.

Show sender's name

Select this check box if you want the sender name to show in the messages.

Cc

Email addresses of secondary recipients of the email message directed to another.

Bcc

Email addresses of secondary recipients of the email message. Recipients listed in the Bcc field receive a copy of the message but are not shown on any other recipient's copy.

Subject

Heading of the mail.

Message

Body message of the email. Press Ctrl+Space to display the list of available variables.

Die if the attachment file doesn't exist

This check box is selected by default. Clear this check box if you want the message to be sent even if there are no attachments.

Attachments

Specify the file(s) attached and sent along with the email message. Click the [+] button to add as many rows as needed and set the value of the following columns for each row:
  • File: Enter the path to the attached file or the path to the folder if all files directly under it will be attached.

  • Content Transfer Encoding: Click the cell and select a content transfer encoding value from the list.

Other Headers

Click the plus button to add as many lines as needed where you can type the Key and the corresponding Value of any header information that does not belong to the standard header.

SMTP Host and Port

IP address of SMTP server used to send emails.

SSL Support

Select this check box to authenticate the server at the client side via an SSL protocol.

STARTTLS Support

Select this check box to authenticate the server at the client side via a STARTTLS protocol.

Importance

Select in the list the priority level of your messages.

Authentication mode

Select one of the three authentication modes from the drop-down list.

  • No Auth, which requires no authentication.
  • Basic, which authenticates accesses using username and password. You need to provide the username and password to send the mail. To enter the password, click the [...] button next to the Password field, enter the password in double quotes in the pop-up dialog box, and click OK to save the settings.
  • OAuth2, which authenticates accesses using OAuth 2.0. You need to provide the username and OAuth access token to send the mail. To enter the OAuth access token, click the [...] button next to the OAuth Access Token field, enter the OAuth access token in double quotes in the pop-up dialog box, and click OK to save the settings.
Information noteNote: The Authentication mode drop-down list and the Oauth2 item are available only when you have installed the 7.3.1-R2022-09 Studio Monthly update or a later one delivered by Talend. For more information, check with your administrator.

Die on error

This check box is selected by default. Clear the check box to skip the row on error and complete the process for error-free rows.

Advanced settings

MIME subtype from the 'text' MIME type

Select in the list the structural form for the text of the message.

Encoding type

Select the encoding from the list or select Custom and define it manually.

Set localhost

Select this option to specify a name for the local host. You can fill a string in the double quotes in the Localhost field as the host name.

Information noteNote: This option is available only when you have installed the 7.3.1-R2022-09 Studio Monthly update or a later one delivered by Talend. For more information, check with your administrator.

Use two line authentication for OAuth2

Select this option to use two-line authentication for OAuth2.

This option is available when you select OAuth2 from the Authentication mode drop-down list in the Basic settings view.

Information noteNote: This option is available only when you have installed the 7.3.1-R2022-09 Studio Monthly update or a later one delivered by Talend. For more information, check with your administrator.

Custom properties

Add custom properties and set property values.

To add a custom property key-value pair, add a row in the table by clicking the plus button on the bottom of the table, fill the property name in double quotation marks in the Key column, and fill the property value in the Value column.

Information noteNote: This option is available only when you have installed the 7.3.1-R2022-09 Studio Monthly update or a later one delivered by Talend. For more information, check with your administrator.

tStatCatcher Statistics

Select this check box to gather the Job processing metadata at a Job level as well as at each component level.

Global Variables

Global Variables

ERROR_MESSAGE: the error message generated by the component when an error occurs. This is an After variable and it returns a string.

A Flow variable functions during the execution of a component while an After variable functions after the execution of the component.

To fill up a field or expression with a variable, press Ctrl + Space to access the variable list and choose the variable to use from it.

For further information about variables, see Talend Studio User Guide.

Usage

Usage rule

This component is typically used as one subJob but can also be used as output or end object. It can be connected to other components with either Row or Iterate links.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!