Hitachi

JP1 Version 12 JP1/Automatic Job Management System 3 Linkage Guide


2.3.8 Cautionary notes on the mail system linkage function

This subsection gives some cautionary notes on the mail system linkage function.

Organization of this subsection

(1) Using the Windows automatic logon function

(2) Linking a mail system other than Exchange Server using a service

(3) Mail system linkage function and cluster operation

In a cluster environment, if you register the mail system linkage function as a resource in the cluster system and are using passing information, specify a folder on the shared disk as the destination for the passing information file. You specify this folder in the EvjobInfFile environment setting parameter.

(4) Action to take after changing the environment set up for mail system linkage

If you change settings for any environment setting parameter used for the mail system linkage function, restart the JP1/AJS3 service.

If you are using the mail system linkage function on the desktop, also restart the JP1/AJS3 mail monitoring process. If you are using the mail system linkage function with a service, also restart the JP1/AJS3 Mail service.

(5) Deleting a file created after mail reception

JP1/AJS3 does not automatically delete body text, attached files, list file for attached files, or passing information files. These files are created after mail reception. Delete these files manually once they have become unnecessary, because they reduce the amount of available disk space.

For details on the location of these files, see 2.1.2(1) Behavior when receiving email (for Windows).

(6) Switching between desktop and service-based mail system linkage

(7) When a profile is configured to use personal folders

When a profile specified in the definition of an email sending or email reception monitoring job is configured to use a personal folder, an error might occur if the corresponding personal folder file is being used by another job program. This corresponding folder has extension .pst. The error occurs when the email sending or email reception monitoring job program accesses Outlook to send an email or monitor email reception. If this error occurs, the job status changes to Ended abnormally. For this reason, ensure that none of the following is taking place when you use an email sending job or email reception monitoring job:

If an error occurs, make sure that none of these operations is taking place with respect to the personal folder file.

Then, re-execute the error email sending job or email reception monitoring job.

(8) Procedure for calculating the mail monitoring interval

For the email reception monitoring job, specify a monitoring interval that is shorter than the result of the following calculations. The default is 10 minutes.

  1. In Outlook, measure how long it takes to complete transmission or reception of a single email message.

    Measure this time using the profile that is actually used for the mail system linkage. Round the calculated time to the number of seconds and set this as the processing time for one email.

  2. Calculate the monitoring processing time.

    The expression is shown below.

    monitoring-processing-time = (maximum-number-of-email-reception-monitoring-jobs-monitored-concurrently-on-the-host) x processing-time-for-one-email

  3. Calculate the send processing time.

    The expression is shown below.

    sending-processing-time = (maximum-number-of-email-sending-jobs-executed-while-monitoring-an-email-reception-monitoring-jobs-on-the-host) x processing-time-for-one-email

  4. Add the monitoring processing time and the send processing time determined in step 2 and step 3, and round the seconds to minutes.

  5. Add one minute to the value determined in step 4 and set it as the mail monitoring interval (lower limit). However, we recommend that you set a value greater than the lower limit in actual operation.

(9) Notes on using Outlook

Before using Outlook, set it as the system's default email program. For details on how to do so, see Outlook Help. Unless Outlook is the default mail client, mail cannot be sent or received at execution of an email sending job or email reception monitoring job. A dialog box appears, prompting you to run Microsoft Outlook and set it as the default mail client.

(10) Outlook behavior and notes

The following describes Outlook behavior when the email sending job and email reception monitoring job are executed, and provides notes on Outlook that apply to when these jobs are executed.

(11) Settings for mail client software

If you use the mail system linkage function on the desktop, make sure that the value set for the WINMAILCLIENT environment setting parameter is 2 or 3. If the value of this environment parameter is not 2 or 3, the mail system linkage function operates incorrectly as described below:

If you use the mail system linkage function in a service, you do not need to set this parameter. For details about the WINMAILCLIENT environment setting parameter, see 2.3.4 Setting up the environment for the mail system linkage.

(12) Note on using Remote Desktop

Do not run the JP1/AJS3 mail monitoring process on Remote Desktop, because the mail system linkage might not operate correctly.

If you use Remote Desktop to log on remotely, remove the JP1/AJS3 mail monitoring process icon from the startup items so that the process will not start automatically. Note that if the icon is removed from the startup items, the process also does not start when you log in to the system console. Therefore, before using mail system linkage, make sure that the JP1/AJS3 mail monitoring process can be started on the system console, and start the process manually.

To manually start the mail monitoring process, click the icon for the JP1/AJS3 mail monitoring process that is pinned to the Windows Start screen or taskbar of Windows.

(13) If the environment settings cannot be read

If the settings cannot be read for the environment setting parameters to be used for the mail system linkage function, the JP1/AJS3 mail monitoring process and the JP1/AJS3 Mail service will start as usual. However, when an email sending job or email reception monitoring job is executed, the message KAVT3409-E The environment definition could not be read. is output to the integrated trace log and the job status changes to Ended abnormally. As a result, the system cannot send the email defined in an email sending job, or monitor for messages that match the monitoring conditions in an email reception monitoring job.

In this case, check whether message KAVT3409-E was output to the integrated trace log, and review the settings for the environment setting parameters used for the mail system linkage function. For details, see 4. Messages beginning with KAVT (Messages about the event/action control) in the manual JP1/Automatic Job Management System 3 Messages. After changing the settings for the environment setting parameters used for the mail system linkage function, you must restart the JP1/AJS3 mail monitoring process or the JP1/AJS3 Mail service, as well as the JP1/AJS3 service.

(14) Notes on Outlook licenses and certificate expiration

If you start an unlicensed copy of Outlook more than a predetermined number of times, or attempt to run Outlook with an expired certificate, Outlook will not start.

If you execute an email sending job or email reception monitoring job in this state, the job status changes to Ended abnormally, and the system is unable to send email or detect received email.

(15) Email encryption and digital signature

Mail encryption and digital signatures are not supported for email sending jobs and email reception monitoring jobs.

When you use the mail system linkage function, do not encrypt the mail or add a digital signature to it.

(16) Notes regarding the use of Outlook 2019 and Outlook 2016

To use the mail system linkage function that uses Outlook with the JP1/AJS3 Mail service on a device on which Outlook 2019 or the Click-to-Run version of Outlook 2016 is installed, start the JP1/AJS3 Mail service when Outlook is not running. The JP1/AJS3 Mail service cannot start while Outlook is running.

To start the JP1/AJS3 Mail service when Outlook is already running, log off from the device on which Outlook is running, log in again, and then start the JP1/AJS3 Mail service.

To check whether your version of Outlook is the Click-to-Run version, see the publicly available information from Microsoft.

(17) Action to take after changing how emails are sent

If you change an email sending job that uses Outlook into a job that does not use Outlook, perform the setup needed for the job to send email without Outlook. For details on the setup needed to send emails without using Outlook, see 2.2 Setup for linking mail systems (for a Windows host when not using Outlook).

Some differences between an email sending job that uses Outlook and one that does not use Outlook might require you to change job definitions. For the differences between an email sending job that uses Outlook and one that does not use Outlook, see 4.3.4 Environment settings for action jobs in the JP1/Automatic Job Management System 3 System Design (Configuration) Guide.

If the differences do not affect job operations, you do not need to change any job definitions. Instead, use the name of the existing profile as the name of the profile that will be created.

(18) Troubleshooting

For details on how to troubleshoot problems associated with mail system linkage, see 2.9 Troubleshooting problems related to mail system linkage (for Windows only) in the manual JP1/Automatic Job Management System 3 Troubleshooting.