SMTP Connector
The Qlik SMTP Connector allows you to send emails from your QlikView or Qlik Sense load script. This can be used in reporting errors or sending a confirmation when a scheduled reload has completed.
The Qlik Web Connectors help you connect to different data sources and fetch data in the same way. Learn how to authenticate a data source connection and how to use tables to fetch data.
Supported offerings
- Qlik Sense Desktop
- Qlik Sense Enterprise on Windows
- QlikView
This connector must be installed separately.
Using the connector
To use the connector, first select the SendEmail table and fill out the fields for your email account and SMTP server and the add the contents of the email. You can then Save Inputs and Run Table.
Copy the QlikView or Qlik Sense load script into your application.
Using With Gmail
If you are sending via Gmail you should set the SMTP server to smtp.gmail.com and check the Use SSL checkbox.
Attaching files
You can attach up to 5 files to each email, totaling a maximum of 1MB. Include the following to the request:
fileAttachment[1-5]=[your local file path]
Delayed Execution
You can delay the sending of the email by up to 2 minutes by including the following in your request:
delayInSeconds=VALUE
Troubleshooting
If you find that the connector will not send the email, despite being sure that you have entered the correct details, then, if you are running antivirus software, try disabling it temporarily and send the email via the connector again.
If this works then the antivirus software is preventing the email from being sent and you need to find a way of configuring the antivirus software to not block the Qlik Web Connectors.