<?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 mail with gmail fail at  objMsg.Send in macro in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Sending-mail-with-gmail-fail-at-objMsg-Send-in-macro/m-p/260724#M98334</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="text-align: left;"&gt;Hi ,&lt;/P&gt;&lt;P style="text-align: left;"&gt;I have a macro to send mail through gmail that fails. On my work network through our mail server it work perfectly. I have tried with switching off may firewall it still doesnt work. My module security is set to SYSTEM ACCESS and local security set to ALLOW SYSTEM ACCESS as suggested in other discussions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;Does anyone have an idea what else can cause sending mail through gmail to fail ?? I am so close but not there yet.&lt;/P&gt;&lt;P style="text-align: left;"&gt;See my macro below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;Below is links to threads that explain how to do this automation and i am gratefull for their contribution.&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/message/25067#25067"&gt;http://community.qlik.com/message/25067#25067&lt;/A&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/message/89915#89915"&gt;http://community.qlik.com/message/89915#89915&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;thank you Louw&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sub EmailReports&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;'*********** create string of destination emails as defined in xls&lt;/P&gt;&lt;P&gt;set objExcel = CreateObject("Excel.Application")&lt;BR /&gt;set objWorkbook = objExcel.Workbooks.Open("C:\dir\AddressMaster1.xls")&lt;BR /&gt;set objWorksheet = objExcel.ActiveWorkBook.WorkSheets("Sheet1")&lt;/P&gt;&lt;P&gt;strTo = ""&lt;BR /&gt;intRow = 2 ' row 1 = header&lt;/P&gt;&lt;P&gt;Do Until objExcel.Cells(intRow,3).Value = ""&lt;BR /&gt;strTo = strTo &amp;amp; objExcel.Cells(intRow, 3).Value &amp;amp; ";"&lt;BR /&gt;intRow = intRow + 1&lt;BR /&gt;Loop&lt;/P&gt;&lt;P&gt;'Msgbox strTo&lt;/P&gt;&lt;P&gt;objExcel.Quit&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;' Object creation &lt;BR /&gt;Set objMsg = CreateObject("CDO.Message") &lt;BR /&gt;Set msgConf = CreateObject("CDO.Configuration") &lt;/P&gt;&lt;P&gt;' Server Configuration &lt;BR /&gt;objMsg.Fields.Item("&lt;A href="http://schemas.microsoft.com/cdo/configuration/sendusing"&gt;http://schemas.microsoft.com/cdo/configuration/sendusing&lt;/A&gt;") = 2 &lt;BR /&gt;objMsg.Fields.Item("&lt;A href="http://schemas.microsoft.com/cdo/configuration/smtpserver"&gt;http://schemas.microsoft.com/cdo/configuration/smtpserver&lt;/A&gt;") = "smtp.gmail.com" &lt;BR /&gt;objMsg.Fields.Item("&lt;A href="http://schemas.microsoft.com/cdo/configuration/smtpserverport"&gt;http://schemas.microsoft.com/cdo/configuration/smtpserverport&lt;/A&gt;") = 465 &lt;BR /&gt;objMsg.Fields.Item("&lt;A href="http://schemas.microsoft.com/cdo/configuration/smtpauthenticate"&gt;http://schemas.microsoft.com/cdo/configuration/smtpauthenticate&lt;/A&gt;") = 1 &lt;BR /&gt;objMsg.Fields.Item("&lt;A href="http://schemas.microsoft.com/cdo/configuration/sendusername"&gt;http://schemas.microsoft.com/cdo/configuration/sendusername&lt;/A&gt;") = "&lt;A href="mailto:louwrie.terblanche@gmail.com"&gt;louwrie.terblanche@gmail.com&lt;/A&gt;" &lt;BR /&gt;objMsg.Fields.Item("&lt;A href="http://schemas.microsoft.com/cdo/configuration/sendpassword"&gt;http://schemas.microsoft.com/cdo/configuration/sendpassword&lt;/A&gt;") = "alfie68791" &lt;BR /&gt;objMsg.Fields.Item("&lt;A href="http://schemas.microsoft.com/cdo/configuration/smtpusessl"&gt;http://schemas.microsoft.com/cdo/configuration/smtpusessl&lt;/A&gt;") = 1 &lt;BR /&gt;objMsg.Fields.Update &lt;/P&gt;&lt;P&gt;msgConf.Fields.Update &lt;/P&gt;&lt;P&gt;'*********** create email and send&lt;BR /&gt;objMsg.To = strTo&lt;BR /&gt;objMsg.From = "&lt;A href="mailto:*****.*******@gmail.com"&gt;*****.*******@gmail.com&lt;/A&gt;"&lt;BR /&gt;objMsg.Subject = "Test send with Gmail account" &lt;BR /&gt;objMsg.TextBody = "***! attached find your new report !***"_&lt;BR /&gt;&amp;amp; vbCRLF _&lt;BR /&gt;&amp;amp; vbCRLF &amp;amp; "8888888888888888888888888888888888:"_&lt;BR /&gt;&amp;amp; vbCRLF _&lt;BR /&gt;&amp;amp; vbCRLF &amp;amp; " 88888888888888"_&lt;BR /&gt;&amp;amp; vbCRLF &amp;amp; " 88888888888888888888888888888888" _&lt;BR /&gt;&amp;amp; vbCRLF _&lt;BR /&gt;&amp;amp; vbCRLF &amp;amp; "88888888888888888888"_&lt;BR /&gt;&amp;amp; vbCRLF _&lt;BR /&gt;&amp;amp; vbCRLF &amp;amp; "888888888888888888888"&lt;BR /&gt;objMsg.Sender = "8888888" &lt;/P&gt;&lt;P&gt;objMsg.AddAttachment "C:\dir\myreport.pdf"&lt;/P&gt;&lt;P&gt;Set objMsg.Configuration = msgConf &lt;/P&gt;&lt;P&gt;' Send &lt;BR /&gt;objMsg.Send &lt;/P&gt;&lt;P&gt;' Clear &lt;BR /&gt;Set objMsg = nothing &lt;BR /&gt;Set msgConf = nothing&lt;/P&gt;&lt;P&gt;'*********** log action&lt;/P&gt;&lt;P&gt;strLog = "C:\dir\Distribution log.txt"&lt;/P&gt;&lt;P&gt;set fso = CreateObject("Scripting.FileSystemObject")&lt;/P&gt;&lt;P&gt;on error resume next&lt;/P&gt;&lt;P&gt;set logFile = fso.GetFile(strLog)&lt;/P&gt;&lt;P&gt;if err &amp;lt;&amp;gt; 0 then ' file does not exist&lt;BR /&gt;on error goto 0&lt;BR /&gt;set logFile = fso.CreateTextFile(strLog)&lt;BR /&gt;set logFile = fso.GetFile(strLog)&lt;BR /&gt;else&lt;BR /&gt;on error goto 0&lt;BR /&gt;end if&lt;/P&gt;&lt;P&gt;set txsStream = logFile.OpenAsTextStream(8) ' append&lt;BR /&gt;txsStream.WriteLine Now &amp;amp; " Service Pricing emailed to " &amp;amp; strTo&lt;/P&gt;&lt;P&gt;txsStream.Close&lt;/P&gt;&lt;P&gt;'*********** tidy up and release memory&lt;/P&gt;&lt;P&gt;''set objMessage = Nothing&lt;BR /&gt;set objExcel = Nothing&lt;BR /&gt;set FSO = Nothing&lt;/P&gt;&lt;P&gt;End sub&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Jul 2011 13:46:43 GMT</pubDate>
    <dc:creator>louwriet</dc:creator>
    <dc:date>2011-07-06T13:46:43Z</dc:date>
    <item>
      <title>Sending mail with gmail fail at  objMsg.Send in macro</title>
      <link>https://community.qlik.com/t5/QlikView/Sending-mail-with-gmail-fail-at-objMsg-Send-in-macro/m-p/260724#M98334</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="text-align: left;"&gt;Hi ,&lt;/P&gt;&lt;P style="text-align: left;"&gt;I have a macro to send mail through gmail that fails. On my work network through our mail server it work perfectly. I have tried with switching off may firewall it still doesnt work. My module security is set to SYSTEM ACCESS and local security set to ALLOW SYSTEM ACCESS as suggested in other discussions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;Does anyone have an idea what else can cause sending mail through gmail to fail ?? I am so close but not there yet.&lt;/P&gt;&lt;P style="text-align: left;"&gt;See my macro below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;Below is links to threads that explain how to do this automation and i am gratefull for their contribution.&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/message/25067#25067"&gt;http://community.qlik.com/message/25067#25067&lt;/A&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/message/89915#89915"&gt;http://community.qlik.com/message/89915#89915&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;thank you Louw&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sub EmailReports&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;'*********** create string of destination emails as defined in xls&lt;/P&gt;&lt;P&gt;set objExcel = CreateObject("Excel.Application")&lt;BR /&gt;set objWorkbook = objExcel.Workbooks.Open("C:\dir\AddressMaster1.xls")&lt;BR /&gt;set objWorksheet = objExcel.ActiveWorkBook.WorkSheets("Sheet1")&lt;/P&gt;&lt;P&gt;strTo = ""&lt;BR /&gt;intRow = 2 ' row 1 = header&lt;/P&gt;&lt;P&gt;Do Until objExcel.Cells(intRow,3).Value = ""&lt;BR /&gt;strTo = strTo &amp;amp; objExcel.Cells(intRow, 3).Value &amp;amp; ";"&lt;BR /&gt;intRow = intRow + 1&lt;BR /&gt;Loop&lt;/P&gt;&lt;P&gt;'Msgbox strTo&lt;/P&gt;&lt;P&gt;objExcel.Quit&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;' Object creation &lt;BR /&gt;Set objMsg = CreateObject("CDO.Message") &lt;BR /&gt;Set msgConf = CreateObject("CDO.Configuration") &lt;/P&gt;&lt;P&gt;' Server Configuration &lt;BR /&gt;objMsg.Fields.Item("&lt;A href="http://schemas.microsoft.com/cdo/configuration/sendusing"&gt;http://schemas.microsoft.com/cdo/configuration/sendusing&lt;/A&gt;") = 2 &lt;BR /&gt;objMsg.Fields.Item("&lt;A href="http://schemas.microsoft.com/cdo/configuration/smtpserver"&gt;http://schemas.microsoft.com/cdo/configuration/smtpserver&lt;/A&gt;") = "smtp.gmail.com" &lt;BR /&gt;objMsg.Fields.Item("&lt;A href="http://schemas.microsoft.com/cdo/configuration/smtpserverport"&gt;http://schemas.microsoft.com/cdo/configuration/smtpserverport&lt;/A&gt;") = 465 &lt;BR /&gt;objMsg.Fields.Item("&lt;A href="http://schemas.microsoft.com/cdo/configuration/smtpauthenticate"&gt;http://schemas.microsoft.com/cdo/configuration/smtpauthenticate&lt;/A&gt;") = 1 &lt;BR /&gt;objMsg.Fields.Item("&lt;A href="http://schemas.microsoft.com/cdo/configuration/sendusername"&gt;http://schemas.microsoft.com/cdo/configuration/sendusername&lt;/A&gt;") = "&lt;A href="mailto:louwrie.terblanche@gmail.com"&gt;louwrie.terblanche@gmail.com&lt;/A&gt;" &lt;BR /&gt;objMsg.Fields.Item("&lt;A href="http://schemas.microsoft.com/cdo/configuration/sendpassword"&gt;http://schemas.microsoft.com/cdo/configuration/sendpassword&lt;/A&gt;") = "alfie68791" &lt;BR /&gt;objMsg.Fields.Item("&lt;A href="http://schemas.microsoft.com/cdo/configuration/smtpusessl"&gt;http://schemas.microsoft.com/cdo/configuration/smtpusessl&lt;/A&gt;") = 1 &lt;BR /&gt;objMsg.Fields.Update &lt;/P&gt;&lt;P&gt;msgConf.Fields.Update &lt;/P&gt;&lt;P&gt;'*********** create email and send&lt;BR /&gt;objMsg.To = strTo&lt;BR /&gt;objMsg.From = "&lt;A href="mailto:*****.*******@gmail.com"&gt;*****.*******@gmail.com&lt;/A&gt;"&lt;BR /&gt;objMsg.Subject = "Test send with Gmail account" &lt;BR /&gt;objMsg.TextBody = "***! attached find your new report !***"_&lt;BR /&gt;&amp;amp; vbCRLF _&lt;BR /&gt;&amp;amp; vbCRLF &amp;amp; "8888888888888888888888888888888888:"_&lt;BR /&gt;&amp;amp; vbCRLF _&lt;BR /&gt;&amp;amp; vbCRLF &amp;amp; " 88888888888888"_&lt;BR /&gt;&amp;amp; vbCRLF &amp;amp; " 88888888888888888888888888888888" _&lt;BR /&gt;&amp;amp; vbCRLF _&lt;BR /&gt;&amp;amp; vbCRLF &amp;amp; "88888888888888888888"_&lt;BR /&gt;&amp;amp; vbCRLF _&lt;BR /&gt;&amp;amp; vbCRLF &amp;amp; "888888888888888888888"&lt;BR /&gt;objMsg.Sender = "8888888" &lt;/P&gt;&lt;P&gt;objMsg.AddAttachment "C:\dir\myreport.pdf"&lt;/P&gt;&lt;P&gt;Set objMsg.Configuration = msgConf &lt;/P&gt;&lt;P&gt;' Send &lt;BR /&gt;objMsg.Send &lt;/P&gt;&lt;P&gt;' Clear &lt;BR /&gt;Set objMsg = nothing &lt;BR /&gt;Set msgConf = nothing&lt;/P&gt;&lt;P&gt;'*********** log action&lt;/P&gt;&lt;P&gt;strLog = "C:\dir\Distribution log.txt"&lt;/P&gt;&lt;P&gt;set fso = CreateObject("Scripting.FileSystemObject")&lt;/P&gt;&lt;P&gt;on error resume next&lt;/P&gt;&lt;P&gt;set logFile = fso.GetFile(strLog)&lt;/P&gt;&lt;P&gt;if err &amp;lt;&amp;gt; 0 then ' file does not exist&lt;BR /&gt;on error goto 0&lt;BR /&gt;set logFile = fso.CreateTextFile(strLog)&lt;BR /&gt;set logFile = fso.GetFile(strLog)&lt;BR /&gt;else&lt;BR /&gt;on error goto 0&lt;BR /&gt;end if&lt;/P&gt;&lt;P&gt;set txsStream = logFile.OpenAsTextStream(8) ' append&lt;BR /&gt;txsStream.WriteLine Now &amp;amp; " Service Pricing emailed to " &amp;amp; strTo&lt;/P&gt;&lt;P&gt;txsStream.Close&lt;/P&gt;&lt;P&gt;'*********** tidy up and release memory&lt;/P&gt;&lt;P&gt;''set objMessage = Nothing&lt;BR /&gt;set objExcel = Nothing&lt;BR /&gt;set FSO = Nothing&lt;/P&gt;&lt;P&gt;End sub&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jul 2011 13:46:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sending-mail-with-gmail-fail-at-objMsg-Send-in-macro/m-p/260724#M98334</guid>
      <dc:creator>louwriet</dc:creator>
      <dc:date>2011-07-06T13:46:43Z</dc:date>
    </item>
    <item>
      <title>Sending mail with gmail fail at  objMsg.Send in macro</title>
      <link>https://community.qlik.com/t5/QlikView/Sending-mail-with-gmail-fail-at-objMsg-Send-in-macro/m-p/260725#M98335</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Louwrie,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you get an answer or solution for this? I used to use this script. Now I it is stopping at the objMsg.Send command?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jul 2011 11:23:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sending-mail-with-gmail-fail-at-objMsg-Send-in-macro/m-p/260725#M98335</guid>
      <dc:creator>wandapec</dc:creator>
      <dc:date>2011-07-11T11:23:00Z</dc:date>
    </item>
    <item>
      <title>Sending mail with gmail fail at  objMsg.Send in macro</title>
      <link>https://community.qlik.com/t5/QlikView/Sending-mail-with-gmail-fail-at-objMsg-Send-in-macro/m-p/260726#M98336</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi Wandapec,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No i have not find a solution yet, hopefully somebody has encounter the same problem as us. Plse let me know if you found the solution. I need to demo this to client in a few days, getting a bit nervious at this stage &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Louwrie&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jul 2011 14:44:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sending-mail-with-gmail-fail-at-objMsg-Send-in-macro/m-p/260726#M98336</guid>
      <dc:creator>louwriet</dc:creator>
      <dc:date>2011-07-11T14:44:23Z</dc:date>
    </item>
    <item>
      <title>Sending mail with gmail fail at  objMsg.Send in macro</title>
      <link>https://community.qlik.com/t5/QlikView/Sending-mail-with-gmail-fail-at-objMsg-Send-in-macro/m-p/260727#M98337</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi Wandapec,&lt;/P&gt;&lt;P&gt;Got this working. Have a look here &lt;A _jive_internal="true" href="https://community.qlik.com/message/25067#25067"&gt;http://community.qlik.com/message/25067#25067&lt;/A&gt;. Just tested it and its working. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE class="jive-code"&gt;Sub SendGMail() &lt;BR /&gt;&lt;BR /&gt;' Object creation &lt;BR /&gt;Set objMsg = CreateObject("CDO.Message") &lt;BR /&gt;Set msgConf = CreateObject("CDO.Configuration") &lt;BR /&gt;&lt;BR /&gt;' Server Configuration &lt;BR /&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"&gt;http://schemas.microsoft.com/cdo/configuration/sendusing&lt;/A&gt;&lt;SPAN&gt;") = 2 &lt;/SPAN&gt;&lt;BR /&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"&gt;http://schemas.microsoft.com/cdo/configuration/smtpserver&lt;/A&gt;&lt;SPAN&gt;") = "smtp.gmail.com" &lt;/SPAN&gt;&lt;BR /&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"&gt;http://schemas.microsoft.com/cdo/configuration/smtpserverport&lt;/A&gt;&lt;SPAN&gt;") = 465 &lt;/SPAN&gt;&lt;BR /&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"&gt;http://schemas.microsoft.com/cdo/configuration/smtpauthenticate&lt;/A&gt;&lt;SPAN&gt;") = 1 &lt;/SPAN&gt;&lt;BR /&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"&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:user@gmail.com"&gt;user@gmail.com&lt;/A&gt;&lt;SPAN&gt;" &lt;/SPAN&gt;&lt;BR /&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"&gt;http://schemas.microsoft.com/cdo/configuration/sendpassword&lt;/A&gt;&lt;SPAN&gt;") = "password" &lt;/SPAN&gt;&lt;BR /&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"&gt;http://schemas.microsoft.com/cdo/configuration/smtpusessl&lt;/A&gt;&lt;SPAN&gt;") = 1 &lt;/SPAN&gt;&lt;BR /&gt;msgConf.Fields.Update &lt;BR /&gt;&lt;BR /&gt;' Email &lt;BR /&gt;&lt;SPAN&gt;objMsg.To = "&lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:user@gmail.com"&gt;user@gmail.com&lt;/A&gt;&lt;SPAN&gt;" &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;objMsg.From = "&lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:fromuser@domain.com"&gt;fromuser@domain.com&lt;/A&gt;&lt;SPAN&gt;" &lt;/SPAN&gt;&lt;BR /&gt;objMsg.Subject = "Test send with Gmail account" &lt;BR /&gt;objMsg.HTMLBody = "HTML/Plain text message." &lt;BR /&gt;objMsg.Sender = "Mr. Name" &lt;BR /&gt;&lt;BR /&gt;Set objMsg.Configuration = msgConf &lt;BR /&gt;&lt;BR /&gt;' Send &lt;BR /&gt;objMsg.Send &lt;BR /&gt;&lt;BR /&gt;' Clear &lt;BR /&gt;Set objMsg = nothing &lt;BR /&gt;Set msgConf = nothing&lt;BR /&gt;&lt;BR /&gt;End Sub&lt;BR /&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jul 2011 15:28:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sending-mail-with-gmail-fail-at-objMsg-Send-in-macro/m-p/260727#M98337</guid>
      <dc:creator>louwriet</dc:creator>
      <dc:date>2011-07-11T15:28:21Z</dc:date>
    </item>
    <item>
      <title>Re: Sending mail with gmail fail at  objMsg.Send in macro</title>
      <link>https://community.qlik.com/t5/QlikView/Sending-mail-with-gmail-fail-at-objMsg-Send-in-macro/m-p/260728#M98338</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot! &lt;A _jive_internal="true" class="jiveTT-hover-user jive-username-link" href="https://community.qlik.com/people/louwrie1" id="jive-36917970676046820300"&gt;louwrie1&lt;/A&gt; . It's works fine, very useful!:D&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please an other information, it's possible for you add some line to show how is possible to send same attachments (like qlikview object)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Aug 2011 10:02:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sending-mail-with-gmail-fail-at-objMsg-Send-in-macro/m-p/260728#M98338</guid>
      <dc:creator />
      <dc:date>2011-08-05T10:02:18Z</dc:date>
    </item>
    <item>
      <title>Re: Sending mail with gmail fail at  objMsg.Send in macro</title>
      <link>https://community.qlik.com/t5/QlikView/Sending-mail-with-gmail-fail-at-objMsg-Send-in-macro/m-p/260729#M98339</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Igor,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just add a new line (or as many as you need) under the "Email" section (just below the objMsg.Sender&lt;CODE&gt;) &lt;/CODE&gt;with the following&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;objMsg.AddAttachment "C:\Folder\File.qvw"&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/people/mabaeyens" style="font-size: 12px; padding-top: 1px; padding-bottom: 1px; padding-left: 17px; color: #007fc0; zoom: 1; text-decoration: underline; background-position: no-repeat no-repeat;"&gt;Miguel Angel Baeyens&lt;/A&gt;&lt;/P&gt;&lt;P&gt;BI Consultant&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://www.grupocomex.com/" style="font-size: 12px; outline-style: none; color: #007fc0;"&gt;Comex Grupo Ibérica&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Aug 2011 10:23:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sending-mail-with-gmail-fail-at-objMsg-Send-in-macro/m-p/260729#M98339</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2011-08-05T10:23:48Z</dc:date>
    </item>
    <item>
      <title>Re: Sending mail with gmail fail at  objMsg.Send in macro</title>
      <link>https://community.qlik.com/t5/QlikView/Sending-mail-with-gmail-fail-at-objMsg-Send-in-macro/m-p/260730#M98340</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P class="almost_half_cell" id="gt-res-content"&gt;Thanks Miguel, but it &lt;SPAN class="hps"&gt;is not&lt;/SPAN&gt; what I meant&lt;/P&gt;&lt;DIV dir="ltr" style="zoom: 1;"&gt;&lt;SPAN class="short_text" id="result_box" lang="en"&gt;&lt;SPAN class="hps"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; ( sorry for my english, i'm studing it. I know is not so good)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I'm searching for same like this ( send object and not file)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;objMsg.AddAttachment&amp;nbsp; ActiveDocument.GetSheetObject("LB03")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but it return me all times an error of wrong type...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for any help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Aug 2011 10:54:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sending-mail-with-gmail-fail-at-objMsg-Send-in-macro/m-p/260730#M98340</guid>
      <dc:creator />
      <dc:date>2011-08-05T10:54:58Z</dc:date>
    </item>
    <item>
      <title>Re: Sending mail with gmail fail at  objMsg.Send in macro</title>
      <link>https://community.qlik.com/t5/QlikView/Sending-mail-with-gmail-fail-at-objMsg-Send-in-macro/m-p/260731#M98341</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, no QlikView object as such can be sent in an email. Prior to that you need to export the object to a file (xls, csv, jpg). There are a lot of macro examples to do that, but you can check &lt;A _jive_internal="true" href="https://community.qlik.com/message/138378"&gt;this one&lt;/A&gt;, that is very recent.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once you have exported the chart to a file, you can attach this file to the email and send it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/people/mabaeyens" style="font-size: 12px; padding-top: 1px; padding-bottom: 1px; padding-left: 17px; color: #007fc0; zoom: 1; text-decoration: underline; background-position: no-repeat no-repeat;"&gt;Miguel Angel Baeyens&lt;/A&gt;&lt;/P&gt;&lt;P&gt;BI Consultant&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://www.grupocomex.com/" style="font-size: 12px; outline-style: none; color: #007fc0;"&gt;Comex Grupo Ibérica&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Aug 2011 11:11:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sending-mail-with-gmail-fail-at-objMsg-Send-in-macro/m-p/260731#M98341</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2011-08-05T11:11:21Z</dc:date>
    </item>
    <item>
      <title>Sending mail with gmail fail at  objMsg.Send in macro</title>
      <link>https://community.qlik.com/t5/QlikView/Sending-mail-with-gmail-fail-at-objMsg-Send-in-macro/m-p/260732#M98342</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; I dont know , why its not working and stoppiong at .send.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;whether i have to use any proixy settings &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pramod Kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jan 2012 09:26:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sending-mail-with-gmail-fail-at-objMsg-Send-in-macro/m-p/260732#M98342</guid>
      <dc:creator />
      <dc:date>2012-01-23T09:26:17Z</dc:date>
    </item>
    <item>
      <title>Re: Sending mail with gmail fail at  objMsg.Send in macro</title>
      <link>https://community.qlik.com/t5/QlikView/Sending-mail-with-gmail-fail-at-objMsg-Send-in-macro/m-p/260733#M98343</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pramod Kumar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please elaborate (in a new thread with your specific issue) what code are you using and what are the specifications of your environment (version of QlikView, if mail addresses are local or external, if you are using a smtp server...)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Miguel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jan 2012 10:02:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sending-mail-with-gmail-fail-at-objMsg-Send-in-macro/m-p/260733#M98343</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2012-01-23T10:02:50Z</dc:date>
    </item>
    <item>
      <title>Re: Sending mail with gmail fail at  objMsg.Send in macro</title>
      <link>https://community.qlik.com/t5/QlikView/Sending-mail-with-gmail-fail-at-objMsg-Send-in-macro/m-p/260734#M98344</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Miguel,&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;I am using Qlikview 8.5 and tried with your code for sending mail from gmail using my credentials.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Process of mailing is terminated at .send.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;I think , Most probably its not working because of  Proxy Settings as your code is tested and approved by many user.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Is there any way to declare proxy settings in qlikview &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Pramod Kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jan 2012 10:10:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sending-mail-with-gmail-fail-at-objMsg-Send-in-macro/m-p/260734#M98344</guid>
      <dc:creator />
      <dc:date>2012-01-23T10:10:48Z</dc:date>
    </item>
    <item>
      <title>Re: Sending mail with gmail fail at  objMsg.Send in macro</title>
      <link>https://community.qlik.com/t5/QlikView/Sending-mail-with-gmail-fail-at-objMsg-Send-in-macro/m-p/260735#M98345</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&amp;nbsp; Miguel&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; i follow this code, but i got a wrong&amp;nbsp;&amp;nbsp; &lt;CODE class="jive-code"&gt;AddAttachment with &lt;/CODE&gt;mail ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; send a jpg file, but not same view i got, file size not change, but its empty, was file damage? why?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Mar 2012 03:03:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sending-mail-with-gmail-fail-at-objMsg-Send-in-macro/m-p/260735#M98345</guid>
      <dc:creator />
      <dc:date>2012-03-12T03:03:21Z</dc:date>
    </item>
  </channel>
</rss>

