DB2 Query Patroller will send e-mail notification on Windows using the Windows Message Application Programming Interface (MAPI). When DB2 Query Patroller sends e-mail notification, it will look for the DQP_MAPI_PROFILE variable in the DB2 Profile Registry. The DQP_MAPI_PROFILE should be set to the name of the MAPI profile for your e-mail application. Refer to DB2 Profile Variables for information on setting profile variables. E-mail applications such as Microsoft Internet Mail and Microsoft Exchange Server are MAPI-compliant service providers. Mail notification is only sent from the server component of DB2 Query Patroller. DB2 Query Patroller agent components do not require configuration for e-mail notification.
DB2 Query Patroller runs as a service on Windows. There are specific restrictions associated with the Windows Message API and Windows services which may prevent some mail services from being used with DB2 Query Patroller. Specifically, DB2 Query Patroller will only be able to send mail notification if the message store and transport provider is able to directly route mail without assistance from the MAPI spooler. This is referred to as a tightly-coupled mail service. For additional information, refer to Microsoft documentation on MAPI and your mail service provider documentation.
Note: | Lotus Notes is not supported as a MAPI-compliant mail service provider. |
To set up mail notification on Windows, perform the following steps:
The DQP_MAPI_PROFILE variable is set to the name of the mail profile that will be used when logging on to MAPI. The mail profile specifies the mail service that will be used to send e-mail notification. In the address book for the mail profile, list the addresses that mail should be sent to. The default address for mail notification must be set to iwm. Setting the DQP_MAPI_PROFILE variable is required for notification to work. If DQP_MAPI_PROFILE is not set, notification will be written to the DB2 Query Patroller log file.
If the DQP_MAPI_PASSWORD profile variable is set, the password provided will be used to logon to the MAPI subsystem. It should not be necessary to set this variable when using Microsoft Exchange or Microsoft Internet Mail.
If the DQP_MAIL_ACCOUNT profile variable is set, DB2 Query Patroller will attempt to send mail under the account you specify. Use the following format to specify account information: username, password. Setting the DQP_MAIL_ACCOUNT profile variable is not required for Microsoft Exchange or Microsoft Internet Mail.