Send One E-mail

Operation name

Send One E-mail

Function overview

Sends an email to SMTP server.

Properties

= Remarks =

For details on use of variables, refer to Variables.

Basic settings

Item name

Required/Optional

Use of variables

Description

Remarks

Name

Required

Not available

Enter a name that is used on the script canvas.

 

Required settings

Item name

Required/Optional

Use of variables

Description

Remarks

Destination

Required

Not available

Select a connection resource.

Add

A new connection resource can be added.

Edit list

Connection resource settings can be edited in > HULFT INTEGRATE > Connections.

 

From

Required

Available

Enter the email address of the sender.

 

To/Cc/Bcc

Required

-

Enter the email address of the destination.

Each row can be operated with the following buttons:

Up

Moves the selected row upward by one row.

Down

Moves the selected row downward by one row.

Add

Adds a row.

Delete

Deletes the row.

 

To/Cc/Bcc / Category

Required

Available

Select the type of destination.

TO

(Default)

CC
BCC

 

To/Cc/Bcc / Mail Address

Required

Available

Enter the email address.

 

Authentication

Item name

Required/Optional

Use of variables

Description

Remarks

Authentication mode

Required

Not available

Select the authentication mode when sending an email.

None

(Default)

Don't perform authentication.

POP before SMTP

Perform authentication using POP3 before sending.

SMTP AUTH (LOGIN)

Use SMTP AUTH (LOGIN) to authenticate the system.

OAuth 2.0 AUTH

Perform OAuth 2.0 authentication.

  • If POP before SMTP is selected, connection timeout for POP server is 15 seconds.

  • When OAuth 2.0 AUTH is selected, select SSL/TLS or STARTTLS for SSL connection of Destination.

Hostname

Required

Available

Enter the host name or IP address of the POP mail server.

  • Enabled when POP before SMTP is selected in Authentication mode.

Port number

Required

Available

Enter the port number to access the POP mail server.

  • The default value is "110".

  • Enabled when POP before SMTP is selected in Authentication mode.

User name

Required

Available

Enter a user name to access POP mail server, a user name to perform SMTP authentication, or a user name to perform OAuth 2.0 authentication.

  • Enabled when POP before SMTP, SMTP AUTH (LOGIN), or OAuth 2.0 AUTH is selected in Authentication mode.

Password

Required

Available

Enter a password for SMTP AUTH or to access to POP mail server.

  • Enabled when POP before SMTP or SMTP AUTH (LOGIN) is selected in Authentication mode.

SSL connection

Optional

Not available

Select whether to make the SSL connection to POP mail server.

Selected

Make SSL connections.

Not selected

(Default)

Don't make SSL connections.

  • Enabled when POP before SMTP is selected in Authentication mode.

  • The method of SSL connection is SSL/TLS.

  • If this is selected, the server certificate of the POP3 server must be imported to the keystore.

    Contact support when you import the certificate.

Authentication (OAuth 2.0)

Required

Not available

Select a connection resource to use for authentication.

Add

A new connection resource can be added.

Edit list

Connection resource settings can be edited in > HULFT INTEGRATE > Connections.

  • Enabled when OAuth 2.0 AUTH is selected in Authentication mode.

Property actions

Item name

Description

Remarks

Authentication test

Perform an authentication test by using the selected Authentication mode.

  • Enabled when POP before SMTP or SMTP AUTH (LOGIN) is selected in Authentication mode.

  • In the following cases, Authentication test is disabled.

    • When POP before SMTP or SMTP AUTH (LOGIN) is selected in Authentication mode.

      • Hostname or Port number, User name, or Password has not been entered.

      • A script variable is specified in Hostname or Port number, User name, or Password.

    • When OAuth 2.0 AUTH is selected in Authentication mode

Message

Item name

Required/Optional

Use of variables

Description

Remarks

Subject

Optional

Available

Enter the subject.

 

Message

Optional

Available

Enter the text.

 

Content-Type

Optional

Available

Select or enter the Content-Type.

text/plain

(Default)

text/html
  • If omitted, the message is sent as "text/plain". The value of Encoding is set for the charset parameter.

Encoding

Optional

Available

Select or enter an encoding when sending an email.

Japanese (JIS)

(Default)

Japanese (Shift JIS)
Japanese (EUC)
US-ASCII
ISO 8859-1
UTF-8
EUC-KR

When you enter encoding, specify one of the encodings supported in Java SE Runtime Environment 8.

= Remarks =

For details, refer to "Supported Encodings" (http://docs.oracle.com/javase/8/docs/technotes/guides/intl/encoding.doc.html).

  • If omitted, "UTF-8" is used when sending.

Attachments

Item name

Required/Optional

Use of variables

Description

Remarks

Attachments

Optional

-

Specify attachment file paths.

Each row can be operated with the following buttons:

Up

Moves the selected row upward by one row.

Down

Moves the selected row downward by one row.

Add

Adds a row.

Delete

Deletes the row.

 

Attachments/File path

Required

Available

Enter the attachment file path.

Note

Reply-To

Item name

Required/Optional

Use of variables

Description

Remarks

Reply-To

Optional

-

Specify the destination email address of a reply.

Each row can be operated with the following buttons:

Up

Moves the selected row upward by one row.

Down

Moves the selected row downward by one row.

Add

Adds a row.

Delete

Deletes the row.

 

Reply-To/Mail address

Required

Available

Enter the email address.

 

Header

Item name

Required/Optional

Use of variables

Description

Remarks

Header list

Optional

-

Specify a header to give when sending an email.

Up

Moves the selected row upward by one row.

Down

Moves the selected row downward by one row.

Add

Adds a row.

Delete

Deletes the row.

 

Header list/Header

Required

Available

Enter the key header to give when sending an email.

  • Multibyte key values aren't supported.

Header list/Value

Required

Available

Enter the header value to give when sending an email.

  • If multibyte characters are included, the value is encoded according to RFC 2047 compliant encoding.

Comment

Item name

Required/Optional

Use of variables

Description

Remarks

Comment

Optional

Not available

You can write a short description of this connector.

 

Schemas

Input schema

None.

Output schema

None.

Transaction

Transaction isn't supported.

Parallel Stream Processing

PSP isn't supported.

Available component variables

Component variable name

Description

Remarks

count

The number of sent emails is stored.

  • The default value is null.

message_category

When an error occurs, the category of the message code corresponding to the error is stored.

  • The default value is null.

message_code

When an error occurs, the code of the message code corresponding to the error is stored.

  • The default value is null.

message_level

When an error occurs, the severity of the message code corresponding to the error is stored.

  • The default value is null.

error_type

When an error occurs, the error type is stored.

  • The default value is null.

  • The format of the error type is as follows.

    Example: java.io.FileNotFoundException

error_message

When an error occurs, the error message is stored.

  • The default value is null.

error_trace

When an error occurs, the trace information for the error is stored.

  • The default value is null.

Text encoding methods for attached files

UTF-8 encoding is set for the charset parameter of Content-Type. It can't be changed.

Message codes, exception messages, and limitations

Connector

Message code

Exception message

Limitations

Messages and limitations of the Mail connector

check

check

check