<?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 Sending reports as email in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Sending-reports-as-email/m-p/1047821#M1254564</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How to send reports as email in QlikView from a company mail. I want to automate this using macros. Please help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 Jan 2026 18:19:17 GMT</pubDate>
    <dc:creator />
    <dc:date>2026-01-26T18:19:17Z</dc:date>
    <item>
      <title>Sending reports as email</title>
      <link>https://community.qlik.com/t5/QlikView/Sending-reports-as-email/m-p/1047821#M1254564</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How to send reports as email in QlikView from a company mail. I want to automate this using macros. Please help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jan 2026 18:19:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sending-reports-as-email/m-p/1047821#M1254564</guid>
      <dc:creator />
      <dc:date>2026-01-26T18:19:17Z</dc:date>
    </item>
    <item>
      <title>Re: Sending reports as email</title>
      <link>https://community.qlik.com/t5/QlikView/Sending-reports-as-email/m-p/1047822#M1254566</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would suggest you to go with the NPriting tool because managing the email system use macro for a large set of people would be painful and it may cause performance issue with that.&lt;/P&gt;&lt;P&gt;NPrinting is a Qlik owned product and its design to automate the export feature to all the formats and to automate the mailing system, its very dynamic .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.vizubi.com/nprinting/quick-start/" title="http://www.vizubi.com/nprinting/quick-start/"&gt;NPrinting Quick Start Guide -Vizubi: Office and HTML Report Creation and Distribution SoftwareCreate professional Office…&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Feb 2016 08:09:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sending-reports-as-email/m-p/1047822#M1254566</guid>
      <dc:creator>avinashelite</dc:creator>
      <dc:date>2016-02-04T08:09:35Z</dc:date>
    </item>
    <item>
      <title>Re: Sending reports as email</title>
      <link>https://community.qlik.com/t5/QlikView/Sending-reports-as-email/m-p/1047823#M1254568</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;You can use vbscript like this :&lt;/P&gt;&lt;P&gt;(change empty values usrname,e-mail, password to yours)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Function SendMail()&lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt; Dim objEmail&lt;BR /&gt; &lt;BR /&gt; Const cdoSendUsingPort = 2 ' Send the message using SMTP&lt;BR /&gt; Const CdoReferenceTypeName = 1&lt;BR /&gt; Const cdoAnonymous = 1 'Do not authenticate&lt;BR /&gt; Const cdoBasic = 1 'basic (clear-text) authentication&lt;BR /&gt; Const cdoNTLM = 2 'NTLM&lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt; 'SMTPServer = getVariable("emailSMTPServer")&lt;BR /&gt; &lt;BR /&gt; 'Const SMTPServer = "10.5.0.9" 'SMTP Server ID&lt;BR /&gt; Const SMTPServer = "10.3.0.10" &lt;BR /&gt; Const SMTPPort = 25 ' Port number for SMTP&lt;BR /&gt; Const SMTPTimeout = 60 ' Timeout for SMTP in seconds&lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt; 'Sending mail&lt;BR /&gt; Set objEmail = CreateObject("CDO.Message")&lt;BR /&gt; Set objConf = objEmail.Configuration&lt;BR /&gt; Set objFlds = objConf.Fields&lt;BR /&gt; With objFlds&lt;BR /&gt; '---------------------------------------------------------------------&lt;BR /&gt; ' SMTP server details&lt;BR /&gt;&lt;SPAN&gt; .Item("&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://schemas.microsoft.com/cdo/configuration/sendemailaddress" rel="nofollow"&gt;http://schemas.microsoft.com/cdo/configuration/sendemailaddress&lt;/A&gt;&lt;SPAN&gt;") = "" 'your e-mail&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; .Item("&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://schemas.microsoft.com/cdo/configuration/sendusing" rel="nofollow"&gt;http://schemas.microsoft.com/cdo/configuration/sendusing&lt;/A&gt;&lt;SPAN&gt;") = cdoSendUsingPort&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; .Item("&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://schemas.microsoft.com/cdo/configuration/smtpserver" rel="nofollow"&gt;http://schemas.microsoft.com/cdo/configuration/smtpserver&lt;/A&gt;&lt;SPAN&gt;") = SMTPServer&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; .Item("&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://schemas.microsoft.com/cdo/configuration/smtpauthenticate" rel="nofollow"&gt;http://schemas.microsoft.com/cdo/configuration/smtpauthenticate&lt;/A&gt;&lt;SPAN&gt;") = cdoBasic&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; .Item("&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://schemas.microsoft.com/cdo/configuration/smtpserverport" rel="nofollow"&gt;http://schemas.microsoft.com/cdo/configuration/smtpserverport&lt;/A&gt;&lt;SPAN&gt;") = SMTPPort&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; .Item("&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://schemas.microsoft.com/cdo/configuration/smtpusessl" rel="nofollow"&gt;http://schemas.microsoft.com/cdo/configuration/smtpusessl&lt;/A&gt;&lt;SPAN&gt;") = False&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; .Item("&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://schemas.microsoft.com/cdo/configuration/smtpconnectiontimeout" rel="nofollow"&gt;http://schemas.microsoft.com/cdo/configuration/smtpconnectiontimeout&lt;/A&gt;&lt;SPAN&gt;") = SMTPTimeout&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; .Item("&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://schemas.microsoft.com/cdo/configuration/smtpauthenticate" rel="nofollow"&gt;http://schemas.microsoft.com/cdo/configuration/smtpauthenticate&lt;/A&gt;&lt;SPAN&gt;") = cdoAnonymous&lt;/SPAN&gt;&lt;BR /&gt; 'user name&lt;BR /&gt;&lt;SPAN&gt; .Item("&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://schemas.microsoft.com/cdo/configuration/sendusername" rel="nofollow"&gt;http://schemas.microsoft.com/cdo/configuration/sendusername&lt;/A&gt;&lt;SPAN&gt;") = "" 'username!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; ' .Item("&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://schemas.microsoft.com/cdo/configuration/sendusername" rel="nofollow"&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:aartikoya@capvent.com"&gt;aartikoya@capvent.com&lt;/A&gt;&lt;SPAN&gt;" &lt;/SPAN&gt;&lt;BR /&gt; &lt;BR /&gt; 'Account Password&lt;BR /&gt;&lt;SPAN&gt; .Item("&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://schemas.microsoft.com/cdo/configuration/sendpassword" rel="nofollow"&gt;http://schemas.microsoft.com/cdo/configuration/sendpassword&lt;/A&gt;&lt;SPAN&gt;") = "" 'password!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; ' .Item("&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://schemas.microsoft.com/cdo/configuration/sendpassword" rel="nofollow"&gt;http://schemas.microsoft.com/cdo/configuration/sendpassword&lt;/A&gt;&lt;SPAN&gt;") = "aarti" &lt;/SPAN&gt;&lt;BR /&gt; .Update&lt;BR /&gt; '---------------------------------------------------------------------&lt;BR /&gt; End With&lt;BR /&gt; &lt;BR /&gt; ' objEmail.To = getVariable("emailTo") ' Email Recipient&lt;BR /&gt; ' objEmail.From = getVariable("emailFrom") ' Email Sender&lt;BR /&gt; ' objEmail.Subject = getVariable("emailSubject") ' Subject&lt;BR /&gt; ' objEmail.TextBody = getVariable("emailBody") ' Text Body&lt;BR /&gt; ' objEmail.AddAttachment getVariable("emailAttachment") ' Attachement&lt;BR /&gt; '&lt;BR /&gt; '&lt;BR /&gt; ' objEmail.Send&lt;BR /&gt; &lt;BR /&gt; With objEmail&lt;BR /&gt; Set .Configuration = objConf&lt;BR /&gt; .BodyPart.Charset = "utf-8"&amp;nbsp; &lt;BR /&gt;&lt;SPAN&gt; .From = "&lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:test@test.com"&gt;test@test.com&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:'gestori@iproject.ru"&gt;'gestori@iproject.ru&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt; '.To="&lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:aalexandrov@invproject.ru"&gt;aalexandrov@invproject.ru&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; .To = "&lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:test@test.com"&gt;test@test.com&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:'_dm_shops_all@invproject.ru"&gt;'_dm_shops_all@invproject.ru&lt;/A&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:ANikolaevskij@invproject.ru"&gt;ANikolaevskij@invproject.ru&lt;/A&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;BR /&gt; .cc = ""'&lt;BR /&gt; .Subject = "Sales Report"&lt;BR /&gt; .AddAttachment "D:\Files\sales01.xls"&lt;BR /&gt; .HTMLBody = "&amp;lt;html&amp;gt;Good morning!&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;/html&amp;gt;"&lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt; '.AddRelatedBodyPart "D:\Qlikview\Executive_Dashboard.png", CdoReferenceTypeName&lt;BR /&gt; .Send&lt;BR /&gt; End With&lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt; Set objFlds = Nothing&lt;BR /&gt; Set objConf = Nothing&lt;BR /&gt; Set objEmail = Nothing&lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;end&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;Function &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;But, the best way i think, is create powershell script and access to qlikview application &lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;as COM-object and export data from qlikview object to excel or pdf files. (learn APIguide&lt;/SPAN&gt;&lt;/SPAN&gt;.qvw application - this application install with qlikview) . Or use NPrinting software.&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Feb 2016 08:24:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sending-reports-as-email/m-p/1047823#M1254568</guid>
      <dc:creator>asgardd2</dc:creator>
      <dc:date>2016-02-04T08:24:33Z</dc:date>
    </item>
    <item>
      <title>Re: Sending reports as email</title>
      <link>https://community.qlik.com/t5/QlikView/Sending-reports-as-email/m-p/1047824#M1254571</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you. But is it possible to do with macros?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Feb 2016 08:53:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sending-reports-as-email/m-p/1047824#M1254571</guid>
      <dc:creator />
      <dc:date>2016-02-04T08:53:41Z</dc:date>
    </item>
    <item>
      <title>Re: Sending reports as email</title>
      <link>https://community.qlik.com/t5/QlikView/Sending-reports-as-email/m-p/1047825#M1254574</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;its possiable using macro but it will have performance impact and for any changes you need to change the code and rewrite the macro again&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Feb 2016 05:51:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sending-reports-as-email/m-p/1047825#M1254574</guid>
      <dc:creator>avinashelite</dc:creator>
      <dc:date>2016-02-05T05:51:25Z</dc:date>
    </item>
    <item>
      <title>Re: Sending reports as email</title>
      <link>https://community.qlik.com/t5/QlikView/Sending-reports-as-email/m-p/1047826#M1254578</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use VBS and batch scripts to send reports&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Feb 2016 05:53:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sending-reports-as-email/m-p/1047826#M1254578</guid>
      <dc:creator>krishnacbe</dc:creator>
      <dc:date>2016-02-05T05:53:09Z</dc:date>
    </item>
    <item>
      <title>Re: Sending reports as email</title>
      <link>https://community.qlik.com/t5/QlikView/Sending-reports-as-email/m-p/1047827#M1254581</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check this creating this macro,you can see the comments and change their as per Your Requirement,&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14546553611193146" jivemacro_uid="_14546553611193146" modifiedtitle="true"&gt;
&lt;P&gt;Sub SendReport&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;ActiveDocument.Sheets("SH01").Activate 'edit the sheet&amp;nbsp; &lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;'ActiveDocument.reload&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;set objExcel=ActiveDocument.GetSheetObject("CH01") 'edit the sheet object &lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;strDate = Year(Date()) &amp;amp;"-"&amp;amp; month(date()) &amp;amp;"-"&amp;amp; Day(Date())&amp;nbsp; &lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;filepath="D:\Excel_"&amp;amp;strDate&amp;amp;".xls"&amp;nbsp;&amp;nbsp; 'edit the location of file &lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;objExcel.ExportBiff filepath&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;ActiveDocument.GetApplication.Sleep 5000&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;SendGMail&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;ActiveDocument.Save&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;set objExcel=nothing&lt;/P&gt;
&lt;P&gt;set strDate=nothing&lt;/P&gt;
&lt;P&gt;set filepath=nothing&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;End Sub&lt;/P&gt;
&lt;P&gt;&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;MsgBox "Report Exported Successfully"&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;strDate = Year(Date()) &amp;amp;"-"&amp;amp; month(date()) &amp;amp;"-"&amp;amp; Day(Date())&amp;nbsp;&amp;nbsp; &lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;filepath="D:\Excel_"&amp;amp;strDate&amp;amp;".xls" &lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&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"&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"&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"&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"&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"&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:vikas@gmail.com"&gt;vikas@gmail.com&lt;/A&gt;&lt;SPAN&gt;" 'type your mail id&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"&gt;http://schemas.microsoft.com/cdo/configuration/sendpassword&lt;/A&gt;&lt;SPAN&gt;") = "**********" 'Type your acccount Password&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"&gt;http://schemas.microsoft.com/cdo/configuration/smtpusessl&lt;/A&gt;&lt;SPAN&gt;") = 1 &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;msgConf.Fields.Update &lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;'End With&lt;/P&gt;
&lt;P&gt;objMsg.To = "To mail id" ' type to mail id&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;objMsg.From = "&lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:xxxs@gmail.com"&gt;xxxs@gmail.com&lt;/A&gt;&lt;SPAN&gt;" 'type from mail id&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;objMsg.Subject = "Test mail" &lt;/P&gt;
&lt;P&gt;objMsg.HTMLBody = "QlikView Test Mail" &lt;/P&gt;
&lt;P&gt;'objMsg.AddAttachment "D:\Image.jpg" &lt;/P&gt;
&lt;P&gt;objMsg.AddAttachment&amp;nbsp;&amp;nbsp; filepath&amp;nbsp;&amp;nbsp;&amp;nbsp; ' Attachement object&lt;/P&gt;
&lt;P&gt;objMsg.Sender = "Mr. Name" &lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Set objMsg.Configuration = msgConf &lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;' Send &lt;/P&gt;
&lt;P&gt;objMsg.Send &lt;/P&gt;
&lt;P&gt;Msgbox("Email Sent Successfully")&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;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps in sending reports through mail,&lt;/P&gt;&lt;P&gt;PFA,&lt;/P&gt;&lt;P&gt;Hirish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Feb 2016 06:56:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sending-reports-as-email/m-p/1047827#M1254581</guid>
      <dc:creator>HirisH_V7</dc:creator>
      <dc:date>2016-02-05T06:56:50Z</dc:date>
    </item>
    <item>
      <title>Re: Sending reports as email</title>
      <link>https://community.qlik.com/t5/QlikView/Sending-reports-as-email/m-p/1047828#M1254583</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check this link for sample macros for this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-4870"&gt;Useful Qlikview Macros&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Feb 2016 07:06:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sending-reports-as-email/m-p/1047828#M1254583</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2016-02-05T07:06:40Z</dc:date>
    </item>
    <item>
      <title>Re: Sending reports as email</title>
      <link>https://community.qlik.com/t5/QlikView/Sending-reports-as-email/m-p/1047829#M1254585</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Macros are not the best practice please explore with N-Printing macros impact performance problems,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vikas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Feb 2016 07:16:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sending-reports-as-email/m-p/1047829#M1254585</guid>
      <dc:creator>vikasmahajan</dc:creator>
      <dc:date>2016-02-05T07:16:18Z</dc:date>
    </item>
  </channel>
</rss>

