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.

Tip:

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.

Connecting to data sources

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.

Note: To store a copy of outgoing emails in your Gmail or Google Apps Sent folder, you need to log into your Gmail or Google Apps email Settings and click on the Forwarding and POP/IMAP tab and in the IMAP Access section ensure that IMAP is enabled.

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.

 

Did this information help you?

Can you tell us why it did not help you and how we can improve it?