Typical scenario:
- SMTP server settings are done in QMC.
- Test emails can be sent out successfully.
- Task emails (either notifications or distributions) cannot be sent out.
- Task logs show:
Information Sending Alert mail
Warning Failed to send mail to mail@domain.com
Environment:
QlikView
Test emails and task mails are sent out by different processes, hence extra settings on SMTP server side may be necessary.
- Verify that the Mail Server is correctly configured in the QlikView Management Console.
- If the Mail Server was set up after the tasks were set up, recreate the task. The eMail server information will otherwise not be sent to the task.
- If step 2 cannot fix the problem, the cause is likely on SMTP server side rather than QlikView side. Please involve the SMTP server admin and explain the following points:
- Test mails are sent out by QlikView Management Service(QMS), or QVManagementService.exe
- Task mails are sent out by QlikView Distribution Service(QDS), or QVDistributionService.exe
- SMTP server may be allowing QMS to send email but disallowing QDS -- needs to be configured by SMTP server admin
- QMS and QDS may be running on different servers, which have different permissions to send emails -- needs to be configured by SMTP server admin
- QMS and QDS may be running under different accounts, which have different permissions to send emails -- needs to be configured by SMTP server admin
- Change the QVManagementService.exe.config that is located at C:\Program Files\QlikView\Management Service. You will need to change <add key="UseSSLForSMTP" value="false"/> from false to true.
- change the QVDistributionService.exe.config that is located at C:\Program Files\QlikView\Distribution Service. You will need to change <add key="UseSSLForSMTP" value="false"/> from false to true.