<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Failed sending e-mail in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Failed-sending-e-mail/m-p/1892021#M1244607</link>
    <description>&lt;P&gt;Hello, Since we do not specifically know about/test Sendgrid with QlikView and it's configuration perhaps check if there is anything in the sendgrid configuration which could allow connections only from NPrinting right now, but also needs to allow from QlikView?&lt;/P&gt;
&lt;P&gt;The QMC test mail button and the distribution service actually use different components in QlikView. So it can be that one works and one doesn't - and visa versa.&amp;nbsp; You can also try to verify if it works (sends and email for a task distribution, or if this also fails) when trying to send&lt;/P&gt;
&lt;P&gt;- Can you verify if QlikView will otherwise connect to a different SMTP service on port 587 e.g gmail or office365 for testing purposes?&amp;nbsp; e.g some details about setting that up:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Knowledge/Configuring-Publisher-to-be-able-to-make-SSL-connection-to-an/ta-p/1710351" target="_blank"&gt;https://community.qlik.com/t5/Knowledge/Configuring-Publisher-to-be-able-to-make-SSL-connection-to-an/ta-p/1710351&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Since you mention the same settings work for NPrinting on the same server.&lt;/P&gt;
&lt;P&gt;You can also test a standard telnet as per this article:&amp;nbsp;&lt;A href="https://docs.microsoft.com/en-us/exchange/mail-flow/test-smtp-with-telnet?view=exchserver-2019" target="_blank"&gt;https://docs.microsoft.com/en-us/exchange/mail-flow/test-smtp-with-telnet?view=exchserver-2019&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;- One further suggestion could be to test connecting to sendgrid with a more recent version of QlikView server than April 2019 as perhaps there are some differences in TLS/SSL ciphers/protocols used here for communication. Perhaps there could be a limitation here with the secure connections accepted by sendgrid coming from an older version of QlikView. That could also be partly why a newer version of NPrinting doesn't see issues using the same settings from the same server.&lt;/P&gt;</description>
    <pubDate>Fri, 11 Feb 2022 15:29:34 GMT</pubDate>
    <dc:creator>Jon_B</dc:creator>
    <dc:date>2022-02-11T15:29:34Z</dc:date>
    <item>
      <title>Failed sending e-mail</title>
      <link>https://community.qlik.com/t5/QlikView/Failed-sending-e-mail/m-p/1890901#M1244601</link>
      <description>&lt;P&gt;&lt;SPAN&gt;When using Sendgrid as SMTP mailserver in QMC we get error message&amp;nbsp;Failed sending email with the option Send test e-mail.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;With NPrinting on the same server it works fine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In the config files we changed&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;!-- Set to true to enable secure SSL connection to SMTP server. --&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;add key="UseSSLForSMTP" value="false"/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;to true&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jan 2026 18:19:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Failed-sending-e-mail/m-p/1890901#M1244601</guid>
      <dc:creator>EgidiusJ</dc:creator>
      <dc:date>2026-01-26T18:19:17Z</dc:date>
    </item>
    <item>
      <title>Re: Failed sending e-mail</title>
      <link>https://community.qlik.com/t5/QlikView/Failed-sending-e-mail/m-p/1891888#M1244603</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Which versions of QlikView and NPrinting are you using on that server?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Which port do you specify for SMTP?&lt;/P&gt;
&lt;P&gt;Which config file did you change as this is located in two places:&lt;/P&gt;
&lt;P&gt;e.g as referenced on&amp;nbsp;&lt;A href="https://community.qlik.com/t5/Knowledge/QlikView-Test-mails-can-be-sent-successfully-but-task-mails/ta-p/1714080" target="_blank"&gt;https://community.qlik.com/t5/Knowledge/QlikView-Test-mails-can-be-sent-successfully-but-task-mails/ta-p/1714080&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Change the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;QVManagementService.exe.config&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;that is located at&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;C:\Program Files\QlikView\Management Service&lt;/SPAN&gt;.&amp;nbsp;You will need to change&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;lt;add key="UseSSLForSMTP" value="&lt;STRONG&gt;false&lt;/STRONG&gt;"/&amp;gt;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;from false to true.&lt;/P&gt;
&lt;P&gt;Have you checked if anything is registered on the SendGrid mailserver logs after the test email?&lt;/P&gt;
&lt;P&gt;Do the QlikView QMS logs register any error at the time?&lt;/P&gt;</description>
      <pubDate>Fri, 11 Feb 2022 09:55:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Failed-sending-e-mail/m-p/1891888#M1244603</guid>
      <dc:creator>Jon_B</dc:creator>
      <dc:date>2022-02-11T09:55:16Z</dc:date>
    </item>
    <item>
      <title>Re: Failed sending e-mail</title>
      <link>https://community.qlik.com/t5/QlikView/Failed-sending-e-mail/m-p/1891897#M1244604</link>
      <description>&lt;P&gt;Hi Jon,&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;QlikView version April 2019 SR1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;NPrinting November 2020 version 20.39.3.0&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Port 587. It is the same for NPrinting and QlikView&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Changed&amp;nbsp;&amp;nbsp;&amp;lt;add key="UseSSLForSMTP" value="&lt;STRONG&gt;false&lt;/STRONG&gt;"/&amp;gt;&amp;nbsp;from false to true.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;and there are no errors in QMS logs at the time&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Feb 2022 10:14:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Failed-sending-e-mail/m-p/1891897#M1244604</guid>
      <dc:creator>EgidiusJ</dc:creator>
      <dc:date>2022-02-11T10:14:18Z</dc:date>
    </item>
    <item>
      <title>Re: Failed sending e-mail</title>
      <link>https://community.qlik.com/t5/QlikView/Failed-sending-e-mail/m-p/1891898#M1244605</link>
      <description>&lt;P&gt;Hi Jon,&lt;/P&gt;
&lt;P&gt;There was nothing&amp;nbsp;&lt;SPAN&gt;registered on the SendGrid mailserver logs after the test emai.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Feb 2022 10:17:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Failed-sending-e-mail/m-p/1891898#M1244605</guid>
      <dc:creator>EgidiusJ</dc:creator>
      <dc:date>2022-02-11T10:17:53Z</dc:date>
    </item>
    <item>
      <title>Re: Failed sending e-mail</title>
      <link>https://community.qlik.com/t5/QlikView/Failed-sending-e-mail/m-p/1892021#M1244607</link>
      <description>&lt;P&gt;Hello, Since we do not specifically know about/test Sendgrid with QlikView and it's configuration perhaps check if there is anything in the sendgrid configuration which could allow connections only from NPrinting right now, but also needs to allow from QlikView?&lt;/P&gt;
&lt;P&gt;The QMC test mail button and the distribution service actually use different components in QlikView. So it can be that one works and one doesn't - and visa versa.&amp;nbsp; You can also try to verify if it works (sends and email for a task distribution, or if this also fails) when trying to send&lt;/P&gt;
&lt;P&gt;- Can you verify if QlikView will otherwise connect to a different SMTP service on port 587 e.g gmail or office365 for testing purposes?&amp;nbsp; e.g some details about setting that up:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Knowledge/Configuring-Publisher-to-be-able-to-make-SSL-connection-to-an/ta-p/1710351" target="_blank"&gt;https://community.qlik.com/t5/Knowledge/Configuring-Publisher-to-be-able-to-make-SSL-connection-to-an/ta-p/1710351&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Since you mention the same settings work for NPrinting on the same server.&lt;/P&gt;
&lt;P&gt;You can also test a standard telnet as per this article:&amp;nbsp;&lt;A href="https://docs.microsoft.com/en-us/exchange/mail-flow/test-smtp-with-telnet?view=exchserver-2019" target="_blank"&gt;https://docs.microsoft.com/en-us/exchange/mail-flow/test-smtp-with-telnet?view=exchserver-2019&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;- One further suggestion could be to test connecting to sendgrid with a more recent version of QlikView server than April 2019 as perhaps there are some differences in TLS/SSL ciphers/protocols used here for communication. Perhaps there could be a limitation here with the secure connections accepted by sendgrid coming from an older version of QlikView. That could also be partly why a newer version of NPrinting doesn't see issues using the same settings from the same server.&lt;/P&gt;</description>
      <pubDate>Fri, 11 Feb 2022 15:29:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Failed-sending-e-mail/m-p/1892021#M1244607</guid>
      <dc:creator>Jon_B</dc:creator>
      <dc:date>2022-02-11T15:29:34Z</dc:date>
    </item>
  </channel>
</rss>

