<?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: macro send email to multiple to in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/macro-send-email-to-multiple-to/m-p/1030023#M946519</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;no its not working. &lt;/P&gt;&lt;P&gt;i tried with and without spaces and the problem is still here&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 Jan 2016 13:29:38 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-01-07T13:29:38Z</dc:date>
    <item>
      <title>macro send email to multiple to</title>
      <link>https://community.qlik.com/t5/QlikView/macro-send-email-to-multiple-to/m-p/1030019#M946515</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hye,&lt;/P&gt;&lt;P&gt;i am trying to send in the macro a email to a few recipients that have differents domains ( like one gmail, one hotmail,...) , how can i do it? &lt;/P&gt;&lt;P&gt;here is what works till now:&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;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;")=X&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;")= "ASPMX.L.GOOGLE.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;")=XX&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;")=X&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;") = X&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;msgConf.Fields.Update&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;objMsg.To="&lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:XXXX@gmail.com"&gt;XXXX@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:yyy@gmail.com"&gt;yyy@gmail.com&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;objMsg.Subject="liste"&lt;/P&gt;&lt;P&gt;objMsg.HTMLBody="Bonjour"&lt;/P&gt;&lt;P&gt;objMsg.AddAttachment "C:\xxxx.xlsx"&lt;/P&gt;&lt;P&gt;SET objMsg.Configuration = msgConf&lt;/P&gt;&lt;P&gt;objMsg.Send&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jan 2016 16:08:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/macro-send-email-to-multiple-to/m-p/1030019#M946515</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-01-05T16:08:30Z</dc:date>
    </item>
    <item>
      <title>Re: macro send email to multiple to</title>
      <link>https://community.qlik.com/t5/QlikView/macro-send-email-to-multiple-to/m-p/1030020#M946516</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can't you just say:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;objMsg.To="&lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:XXXX@gmail.com" style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3778c7;"&gt;XXXX@gmail.com;xxx@hotmail.com;xxx@yahoo.com&lt;/A&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;"&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jan 2016 17:50:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/macro-send-email-to-multiple-to/m-p/1030020#M946516</guid>
      <dc:creator>dgreenberg</dc:creator>
      <dc:date>2016-01-05T17:50:35Z</dc:date>
    </item>
    <item>
      <title>Re: macro send email to multiple to</title>
      <link>https://community.qlik.com/t5/QlikView/macro-send-email-to-multiple-to/m-p/1030021#M946517</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;no it's not working if its not the same domain (like one hotmail one gmail for example),&amp;nbsp; any other ideas??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jan 2016 06:05:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/macro-send-email-to-multiple-to/m-p/1030021#M946517</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-01-06T06:05:38Z</dc:date>
    </item>
    <item>
      <title>Re: macro send email to multiple to</title>
      <link>https://community.qlik.com/t5/QlikView/macro-send-email-to-multiple-to/m-p/1030022#M946518</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The suggestion from &lt;A href="https://community.qlik.com/qlik-users/149533"&gt;dgreenberg&lt;/A&gt; worked - I do such things since years. If it's not worked for you there are probably some little syntax-issues. You might need additionally spaces between the adresses and instead the semi-colon as delimiter a colon - if there is only one error the whole routine will fail.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Further possible is that your used mail-server blocked this behaviour and/or needs some other configurations respectively licences.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jan 2016 09:04:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/macro-send-email-to-multiple-to/m-p/1030022#M946518</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2016-01-06T09:04:14Z</dc:date>
    </item>
    <item>
      <title>Re: macro send email to multiple to</title>
      <link>https://community.qlik.com/t5/QlikView/macro-send-email-to-multiple-to/m-p/1030023#M946519</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;no its not working. &lt;/P&gt;&lt;P&gt;i tried with and without spaces and the problem is still here&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jan 2016 13:29:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/macro-send-email-to-multiple-to/m-p/1030023#M946519</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-01-07T13:29:38Z</dc:date>
    </item>
    <item>
      <title>Re: macro send email to multiple to</title>
      <link>https://community.qlik.com/t5/QlikView/macro-send-email-to-multiple-to/m-p/1030024#M946520</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This works like a charm for me.&amp;nbsp; SMTP server and email addresses have been changed to protect the innocent &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&amp;nbsp; it could possibly be a Google specific email issue I would search gmail SMTP outside of the QV realm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sub myMail&lt;/P&gt;&lt;P&gt;&amp;nbsp; SET objMsg = CreateObject("CDO.Message")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; SET msgConf = CreateObject("CDO.Configuration")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; 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;&amp;nbsp; 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;")= "smtperver.goeshere.com"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; 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;&amp;nbsp; '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;")=X&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; '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;") = X&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; msgConf.Fields.Update&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; objMsg.To="&lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:danielgreenberg@xyz.com"&gt;danielgreenberg@xyz.com&lt;/A&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:dan@yzx.com"&gt;dan@yzx.com&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; objMsg.From="&lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:danielgreenberg@xyz.com"&gt;danielgreenberg@xyz.com&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; objMsg.Subject="Testing email"&lt;/P&gt;&lt;P&gt;&amp;nbsp; objMsg.HTMLBody="if you get this just let me know.&amp;nbsp; Thanks Dan"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; SET objMsg.Configuration = msgConf&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; objMsg.Send&lt;/P&gt;&lt;P&gt;end sub&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jan 2016 16:07:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/macro-send-email-to-multiple-to/m-p/1030024#M946520</guid>
      <dc:creator>dgreenberg</dc:creator>
      <dc:date>2016-01-07T16:07:11Z</dc:date>
    </item>
    <item>
      <title>Re: macro send email to multiple to</title>
      <link>https://community.qlik.com/t5/QlikView/macro-send-email-to-multiple-to/m-p/1030025#M946521</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is also possible that the gmail smtp server blocks relaying to domains outside of gmail.&amp;nbsp; This isn't the case when using the gmail client but could very well be the case when using the google smtp server.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One thing google search did turn up for me is a limit as to how many emails a day you can send via smtp but I don't think you are hitting that limit.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jan 2016 16:14:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/macro-send-email-to-multiple-to/m-p/1030025#M946521</guid>
      <dc:creator>dgreenberg</dc:creator>
      <dc:date>2016-01-07T16:14:12Z</dc:date>
    </item>
  </channel>
</rss>

