Hitachi

JP1 Version 12 JP1/Client Process Automation Configuration and Administration Guide


8.2.5 Send mail

Organization of this subsection

(1) Overview of the function

This item sends emails to the specified email addresses.

(2) List of settings

Name

Required

Format

Can specify inherited information?

To:

Yes

Half-width alphanumeric characters and symbols (1 to 256 bytes)

Yes

Cc:

No

Half-width alphanumeric characters and symbols (0 to 256 bytes)

Yes

Subject

No

String (0 to 256 bytes)

Yes

Message text

No

String (0 to 512 bytes)

Yes

Attached file 1

No

String (0 to 255 bytes)

Yes

Attached file 2

No

String (0 to 255 bytes)

Yes

Attached file 3

No

String (0 to 255 bytes)

Yes

Attached file 4

No

String (0 to 255 bytes)

Yes

Attached file 5

No

String (0 to 255 bytes)

Yes

Attached file 6

No

String (0 to 255 bytes)

Yes

Attached file 7

No

String (0 to 255 bytes)

Yes

Attached file 8

No

String (0 to 255 bytes)

Yes

(3) Settings

To:

Specify the To: address of the email.

Cc:

Specify the CC: address of the email.

Subject

Specify the subject of the email. If omitted, set to "(no subject)".

Message text

Write message text of the email.

Do not enter only line breaks and/or half-width spaces.

(4) Return values

Value

Description

-1

Forced termination.

0

Send email succeeded.

14

No attached file exists.

58

An incorrect value was specified.

[Action to take]

Use the valid values, and then configure the settings again.

71

Failed to access the mail server.

[Action to take]

Make sure that communications to the mail server can be made.

72

Access was denied by the mail server.

[Action to take]

Make sure that the settings are correct in firewalls or other equipment on the communication path to the mail server.

73

Name resolution failed for the host name of the mail server.

[Action to take]

Check if the host name of the mail server can be resolved using the hosts file or other means.

120

The size of the attached file is equal to or larger than 10 MB.

Others

Cannot access the system settings file (config.xml), insufficient resources, or high communication load.

[Action to take]

Confirm if CPA has been correctly installed, and investigate whether there could have been any problems with the OS environment when the item was executed.

(5) Example

To:

XXX@YYY.com

Cc:

ZZZ@WWW.com

Subject

Regular notification

Message text

This is a regular notification message for today.

(6) Settings of send mail

Before using the Send mail item, you need to create profiles used by the send mail function. For details on how to create profiles, see 2.3.1 Configurations for the Send mail item.

(7) Error handling procedures

For details on error handling procedures, see the section describing return values. If the return value does not suggest any solutions, check the standard error output or error messages output to log files, and then take actions accordingly.