<?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 SMTP Mail setting in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/SMTP-Mail-setting/m-p/105269#M754518</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to send mail using macro i Used below code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sub SendGMail() &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;' Object creation &lt;/P&gt;&lt;P&gt;Set objMsg = CreateObject("CDO.Message") &lt;/P&gt;&lt;P&gt;Set msgConf = CreateObject("CDO.Configuration") &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;' Server Configuration &lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;msgConf.Fields.Item("&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://schemas.microsoft.com/cdo/configuration/sendusing" rel="nofollow" target="_blank"&gt;http://schemas.microsoft.com/cdo/configuration/sendusing&lt;/A&gt;&lt;SPAN&gt;") = 2 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;msgConf.Fields.Item("&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://schemas.microsoft.com/cdo/configuration/smtpserver" rel="nofollow" target="_blank"&gt;http://schemas.microsoft.com/cdo/configuration/smtpserver&lt;/A&gt;&lt;SPAN&gt;") = "smtp.gmail.com" &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;msgConf.Fields.Item("&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://schemas.microsoft.com/cdo/configuration/smtpserverport" rel="nofollow" target="_blank"&gt;http://schemas.microsoft.com/cdo/configuration/smtpserverport&lt;/A&gt;&lt;SPAN&gt;") = 25 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;msgConf.Fields.Item("&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://schemas.microsoft.com/cdo/configuration/smtpauthenticate" rel="nofollow" target="_blank"&gt;http://schemas.microsoft.com/cdo/configuration/smtpauthenticate&lt;/A&gt;&lt;SPAN&gt;") = 1 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;msgConf.Fields.Item("&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://schemas.microsoft.com/cdo/configuration/sendusername" rel="nofollow" target="_blank"&gt;http://schemas.microsoft.com/cdo/configuration/sendusername&lt;/A&gt;&lt;SPAN&gt;") = "&lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:******@gmail.com" target="_blank"&gt;******@gmail.com&lt;/A&gt;&lt;SPAN&gt;" &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;msgConf.Fields.Item("&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://schemas.microsoft.com/cdo/configuration/sendpassword" rel="nofollow" target="_blank"&gt;http://schemas.microsoft.com/cdo/configuration/sendpassword&lt;/A&gt;&lt;SPAN&gt;") = "***********" &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;msgConf.Fields.Item("&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://schemas.microsoft.com/cdo/configuration/smtpusessl" rel="nofollow" target="_blank"&gt;http://schemas.microsoft.com/cdo/configuration/smtpusessl&lt;/A&gt;&lt;SPAN&gt;") = true &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;msgConf.Fields.Update &lt;/P&gt;&lt;P&gt;' Email &lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;objMsg.To = "&lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:test@gmail.com" target="_blank"&gt;test@gmail.com&lt;/A&gt;&lt;SPAN&gt;" &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;objMsg.From = "&lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:test@gmail.com" target="_blank"&gt;test@gmail.com&lt;/A&gt;&lt;SPAN&gt;" &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;objMsg.Subject = "Test send with Gmail account" &lt;/P&gt;&lt;P&gt;objMsg.HTMLBody = "HTML/Plain text message." &lt;/P&gt;&lt;P&gt;objMsg.Sender = "Mr. Name" &lt;/P&gt;&lt;P&gt;Set objMsg.Configuration = msgConf &lt;/P&gt;&lt;P&gt;' Send &lt;/P&gt;&lt;P&gt;objMsg.Send &lt;/P&gt;&lt;P&gt;' Clear &lt;/P&gt;&lt;P&gt;Set objMsg = nothing &lt;/P&gt;&lt;P&gt;Set msgConf = nothing&lt;/P&gt;&lt;P&gt;End Sub&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error: The transport failed to connect to the server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to check smtp configuration is set in qlikview?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>keerthika</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>SMTP Mail setting</title>
      <link>https://community.qlik.com/t5/QlikView/SMTP-Mail-setting/m-p/105269#M754518</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to send mail using macro i Used below code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sub SendGMail() &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;' Object creation &lt;/P&gt;&lt;P&gt;Set objMsg = CreateObject("CDO.Message") &lt;/P&gt;&lt;P&gt;Set msgConf = CreateObject("CDO.Configuration") &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;' Server Configuration &lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;msgConf.Fields.Item("&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://schemas.microsoft.com/cdo/configuration/sendusing" rel="nofollow" target="_blank"&gt;http://schemas.microsoft.com/cdo/configuration/sendusing&lt;/A&gt;&lt;SPAN&gt;") = 2 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;msgConf.Fields.Item("&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://schemas.microsoft.com/cdo/configuration/smtpserver" rel="nofollow" target="_blank"&gt;http://schemas.microsoft.com/cdo/configuration/smtpserver&lt;/A&gt;&lt;SPAN&gt;") = "smtp.gmail.com" &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;msgConf.Fields.Item("&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://schemas.microsoft.com/cdo/configuration/smtpserverport" rel="nofollow" target="_blank"&gt;http://schemas.microsoft.com/cdo/configuration/smtpserverport&lt;/A&gt;&lt;SPAN&gt;") = 25 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;msgConf.Fields.Item("&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://schemas.microsoft.com/cdo/configuration/smtpauthenticate" rel="nofollow" target="_blank"&gt;http://schemas.microsoft.com/cdo/configuration/smtpauthenticate&lt;/A&gt;&lt;SPAN&gt;") = 1 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;msgConf.Fields.Item("&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://schemas.microsoft.com/cdo/configuration/sendusername" rel="nofollow" target="_blank"&gt;http://schemas.microsoft.com/cdo/configuration/sendusername&lt;/A&gt;&lt;SPAN&gt;") = "&lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:******@gmail.com" target="_blank"&gt;******@gmail.com&lt;/A&gt;&lt;SPAN&gt;" &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;msgConf.Fields.Item("&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://schemas.microsoft.com/cdo/configuration/sendpassword" rel="nofollow" target="_blank"&gt;http://schemas.microsoft.com/cdo/configuration/sendpassword&lt;/A&gt;&lt;SPAN&gt;") = "***********" &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;msgConf.Fields.Item("&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://schemas.microsoft.com/cdo/configuration/smtpusessl" rel="nofollow" target="_blank"&gt;http://schemas.microsoft.com/cdo/configuration/smtpusessl&lt;/A&gt;&lt;SPAN&gt;") = true &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;msgConf.Fields.Update &lt;/P&gt;&lt;P&gt;' Email &lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;objMsg.To = "&lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:test@gmail.com" target="_blank"&gt;test@gmail.com&lt;/A&gt;&lt;SPAN&gt;" &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;objMsg.From = "&lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:test@gmail.com" target="_blank"&gt;test@gmail.com&lt;/A&gt;&lt;SPAN&gt;" &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;objMsg.Subject = "Test send with Gmail account" &lt;/P&gt;&lt;P&gt;objMsg.HTMLBody = "HTML/Plain text message." &lt;/P&gt;&lt;P&gt;objMsg.Sender = "Mr. Name" &lt;/P&gt;&lt;P&gt;Set objMsg.Configuration = msgConf &lt;/P&gt;&lt;P&gt;' Send &lt;/P&gt;&lt;P&gt;objMsg.Send &lt;/P&gt;&lt;P&gt;' Clear &lt;/P&gt;&lt;P&gt;Set objMsg = nothing &lt;/P&gt;&lt;P&gt;Set msgConf = nothing&lt;/P&gt;&lt;P&gt;End Sub&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error: The transport failed to connect to the server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to check smtp configuration is set in qlikview?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SMTP-Mail-setting/m-p/105269#M754518</guid>
      <dc:creator>keerthika</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: SMTP Mail setting</title>
      <link>https://community.qlik.com/t5/QlikView/SMTP-Mail-setting/m-p/105270#M754519</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt; Is there a must need of Nprinting when we use macro to send email&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Sep 2018 05:24:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SMTP-Mail-setting/m-p/105270#M754519</guid>
      <dc:creator>keerthika</dc:creator>
      <dc:date>2018-09-25T05:24:57Z</dc:date>
    </item>
    <item>
      <title>Re: SMTP Mail setting</title>
      <link>https://community.qlik.com/t5/QlikView/SMTP-Mail-setting/m-p/105271#M754520</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are creating the entire mail object on the macro, so it will work or not work regardless the setup in Qlik. For QlikView tasks, check the QMC &amp;gt; System &amp;gt; Setup &amp;gt; Mail Server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For NPrinting 16 check QlikView NPrinting Server &amp;gt; E-mail Settings.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For NPrinting 17 check Web Console &amp;gt; Admin &amp;gt; Email Settings&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Remember that as in your previous post, if 2 step verification is enabled, you will need to create an app password in the Google Account settings: &lt;A href="https://support.google.com/accounts/answer/185833?hl=en" title="https://support.google.com/accounts/answer/185833?hl=en"&gt;https://support.google.com/accounts/answer/185833?hl=en&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Sep 2018 07:16:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SMTP-Mail-setting/m-p/105271#M754520</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2018-09-25T07:16:42Z</dc:date>
    </item>
  </channel>
</rss>

