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
Microsoft Outlook/Exchange Online: SMTP basic authentication retirement.
Microsoft is retiring SMTP AUTH Basic Authentication for Exchange Online. By the end of December 2026, basic authentication will be disabled by default for existing tenants. Microsoft will announce a final removal date in the second half of 2027.
If you use SMTP with Outlook or Microsoft Exchange Online, you must migrate to OAuth authentication before your tenant's basic auth is disabled. For details and timelines, see Updated Exchange Online SMTP AUTH Basic Authentication Deprecation Timeline on the Microsoft Exchange Team Blog.
Qlik Sense Desktop and standalone QlikView: No OAuth alternative.
The OAuth-based SMTP connector is available only in Qlik Sense Business, Qlik Sense Enterprise on Windows, and Qlik Cloud. If you are using Qlik Sense Desktop or standalone QlikView with Outlook/Exchange Online SMTP, there is no supported OAuth migration path. You must switch to a non-Microsoft SMTP server or a different email service.
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.