2.9.2 Troubleshooting problems related to the email sending job and email reception monitoring job that use Outlook
- Organization of this subsection
(1) How to create a profile
In Windows, click Start, and then Control Panel. In Control Panel, click the Mail icon. When a dialog box# for creating a profile for Outlook appears, specify the necessary settings.
- #
-
The dialog box that is displayed differs depending on whether a profile has been created.
- When a profile has been created:
-
The default-profile-name Properties dialog box appears.
On the Services page, click the Show Profiles button. The Mail dialog box appears. On the General page, click the Add button. You can start creating a profile.
- When no profile has been created:
-
The Mail dialog box appears.
On the General page, click the Add button. You can start creating a profile.
Note that you cannot correctly create a profile in the Internet Accounts dialog box. For details, see (2) A profile cannot be created correctly below.
In addition, when you create a profile, specify a unique profile name. For details, see 2.3.4 Setting up the environment for the mail system linkage in the JP1/Automatic Job Management System 3 Linkage Guide.
(2) A profile cannot be created correctly
The profile might have been created in the Internet Accounts dialog box. Therefore, make sure that the 32-bit version of Outlook 2013, the 32-bit version of Outlook 2010, or Outlook 2007 is installed.
(3) Email sending and email reception monitoring jobs do not operate as intended
Mail system linkage operates on the premise that Outlook can independently send and receive emails in the system. If email sending and email reception monitoring jobs do not operate as intended, first use the procedure below to check whether emails can be sent and received normally.
Note that when operation profiles have been created or changed, mail system linkage might be disabled if Outlook starts without using the new profiles.
-
Make sure that Outlook can start.
-
Make sure the Outlook email program is set as the default email program for the system.
For details about how to specify this setting, see Help in Outlook.
If email sending and email reception monitoring jobs are executed without the Outlook email program set as the default program, Outlook opens a dialog box that displays the message Please run Microsoft Outlook and set it as the default mail client. Email sending and email reception monitoring are disabled.
-
Make sure that Outlook can send and receive emails normally.
Without starting JP1/AJS3, check whether Outlook can independently send and receive emails normally. To do so, adjust the following items to match the mail system linkage that will be used with JP1/AJS3:
-
Machine
-
Profile
-
Destination for emails to be sent
-
Sender, subject, and text of emails to be received
-
Account used to log on to the mail system from Outlook
Even if you plan to execute only email sending jobs or only email reception monitoring jobs, make sure that both email sending and email reception for operate normally, as described above.
If Outlook is used offline, open the File menu of Outlook and switch the Outlook mode from offline to online. When in offline mode, Outlook is not connected to any mail server.
-
-
Make sure that neither of the following types of dialog boxes requesting a response appears when Outlook starts, sends an email, or receives an email:
-
A dialog box that prompts you to enter the server name, user name, and password
-
A dialog box that prompts you to perform an operation, such as clicking a button, after which Outlook waits for you to perform the operation
Automatic operations that use mail system linkage are disabled in environments where either type of dialog box appears. If either type of dialog box appears, correct the profile so that it does not appear.
-
-
If Outlook 2007 is used, make sure that the Outlook window has a toolbar when it opens. Also make sure that the toolbar has a Send/Receive button.
Mail system linkage will not operate normally if the Outlook 2007 window does not display a toolbar or the toolbar does not have a Send/Receive button.
Note that when you use the 32-bit version of Outlook 2013 and the 32-bit version of Outlook 2010, you do not need to check for the toolbar because the toolbar is not displayed in that version's window.
If Outlook is unable to operate normally when operating independently, review and correct the profile settings and the connection to the mail server.
If you have determined that Outlook operation is normal, check the following and take appropriate action:
-
Make sure that the following three profiles have the same name. Also make sure that the use of single-byte and multi-byte characters and of upper-case and lower-case is identical for all the names.
-
Name of the profile created in the system
-
Profile name specified for the environment setting parameters ProfileName1 to ProfileName4
For details, see 2.3.4 Setting up the environment for the mail system linkage in the JP1/Automatic Job Management System 3 Linkage Guide.
-
Profile specified in the mail sending job and mail reception monitoring job
-
-
If you are using mail system linkage on a desktop, make sure that the JP1/AJS3 mail monitoring process is already running. If you are using mail system linkage in a service, make sure that the JP1/AJS3 Mail service is already running.
-
If you intend to use mail system linkage in a service, make sure that the account of the user who logged in to Windows when the profile was created, rather than a system account, has been set up as an account for the JP1/AJS3 Mail service. The JP1/AJS3 Mail service does not work with a system account.
-
If you have changed the values of the environment setting parameters for mail system linkage, restart the JP1/AJS3 service. Also, if mail system linkage is being used on a desktop, restart the JP1/AJS3 mail monitoring process. If mail system linkage is being used in a service, restart the JP1/AJS3 Mail service.
(4) Mail sending job and mail reception monitoring job ends abnormally
If an error message is followed by a mail system error code in the format MAPI CODE=xxxxxxxx, find the cause of the error in the following table and take appropriate action.
MAPI code |
Meaning |
---|---|
8004010D |
Disk space is insufficient. |
8004010E |
Resources are insufficient. |
80040111 |
Logon failed. |
80040115 |
A network failure occurred. |
80040116 |
A disk I/O error occurred. |
80040124 |
The mail account is invalid. |
8004010F |
The destination address does not exist. |
80040607 |
The destination address does not exist. |
80040700 |
The destination address is ambiguous. |
(5) A sent email is not placed in the Sent Items tray (it remains in the Outbox tray), or an email that is supposed to have arrived on the mail server is not placed in the Inbox tray
An email sending job executes the processing up to the point where new emails are sent to the Outbox of Outlook. The processing for sending emails from the Outbox of Outlook to the mail server, however, is executed by Outlook. Therefore, if emails remain in the Outbox of Outlook, see (3) Email sending and email reception monitoring jobs do not operate as intended, and check whether Outlook can independently send and receive emails.
If Outlook cannot normally send or receive emails independently, check and correct the profile settings and the connection to the mail server.
(6) Troubleshooting of any other problem
Check the following:
-
Make sure that you are using the prerequisite version of Outlook. For details, see 2.3.1(1) Mail systems that support linkage in the manual JP1/Automatic Job Management System 3 Linkage Guide. Also make a hard copy of the Outlook version information and make sure that the correct version is being used.
-
If you are using Outlook 2013 or Outlook 2010, make sure that you are not using the 64-bit version of Outlook.
-
If an email reception monitoring job takes a long time to find applicable received emails, check the Inbox of Outlook to see whether it contains many unread emails. The email reception monitoring job references all unread emails in the Inbox of Outlook, and continues processing until it finds the emails that meet the conditions defined for the job. As a result, if the Inbox contains many unread emails that do not meet the job conditions, the processing takes a long time.