<?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 Send mail with attached file (Macro VB) in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Send-mail-with-attached-file-Macro-VB/m-p/492110#M689594</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;I want to send mail from a boutton in QV with attached file. I create a macro but I have an error msg " &lt;SPAN style="text-decoration: underline;"&gt;Un composant ActiveX ne peut pas créer un objet: 'CDO.Message'&lt;/SPAN&gt;".!! I use outlook to send mail. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is the macro:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sub Send()&lt;/P&gt;&lt;P&gt;Set objMessage = CreateObject("CDO.Message") &lt;/P&gt;&lt;P&gt;set objConf = CreateObject("CDO.Configuration")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;objMessage.Subject = "Tester l'envoi&amp;nbsp;&amp;nbsp;&amp;nbsp; " &lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;objMessage.From = "&lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:admin@adress.com"&gt;admin@adress.com&lt;/A&gt;&lt;SPAN&gt;" &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;objMessage.To = "&lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:myadress@me.com"&gt;myadress@me.com&lt;/A&gt;&lt;SPAN&gt;" &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;objMessage.TextBody = "This is a test message text."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'==This section provides the configuration information for the remote SMTP server.&lt;/P&gt;&lt;P&gt;'==Normally you will only change the server name or IP.&lt;/P&gt;&lt;P&gt;objMessage.Configuration.Fields.Item _&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;("&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;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'Name or IP of Remote SMTP Server&lt;/P&gt;&lt;P&gt;objMessage.Configuration.Fields.Item _&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;("&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.me.com"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'Server port (typically 25)&lt;/P&gt;&lt;P&gt;objMessage.Configuration.Fields.Item _&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;("&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;") = 25 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;objMessage.Configuration.Fields.Update&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'==End remote SMTP server configuration section==&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;objMessage.Send&lt;/P&gt;&lt;P&gt;end sub &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 30 Sep 2013 09:05:56 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-09-30T09:05:56Z</dc:date>
    <item>
      <title>Send mail with attached file (Macro VB)</title>
      <link>https://community.qlik.com/t5/QlikView/Send-mail-with-attached-file-Macro-VB/m-p/492110#M689594</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;I want to send mail from a boutton in QV with attached file. I create a macro but I have an error msg " &lt;SPAN style="text-decoration: underline;"&gt;Un composant ActiveX ne peut pas créer un objet: 'CDO.Message'&lt;/SPAN&gt;".!! I use outlook to send mail. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is the macro:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sub Send()&lt;/P&gt;&lt;P&gt;Set objMessage = CreateObject("CDO.Message") &lt;/P&gt;&lt;P&gt;set objConf = CreateObject("CDO.Configuration")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;objMessage.Subject = "Tester l'envoi&amp;nbsp;&amp;nbsp;&amp;nbsp; " &lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;objMessage.From = "&lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:admin@adress.com"&gt;admin@adress.com&lt;/A&gt;&lt;SPAN&gt;" &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;objMessage.To = "&lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:myadress@me.com"&gt;myadress@me.com&lt;/A&gt;&lt;SPAN&gt;" &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;objMessage.TextBody = "This is a test message text."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'==This section provides the configuration information for the remote SMTP server.&lt;/P&gt;&lt;P&gt;'==Normally you will only change the server name or IP.&lt;/P&gt;&lt;P&gt;objMessage.Configuration.Fields.Item _&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;("&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;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'Name or IP of Remote SMTP Server&lt;/P&gt;&lt;P&gt;objMessage.Configuration.Fields.Item _&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;("&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.me.com"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'Server port (typically 25)&lt;/P&gt;&lt;P&gt;objMessage.Configuration.Fields.Item _&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;("&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;") = 25 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;objMessage.Configuration.Fields.Update&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'==End remote SMTP server configuration section==&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;objMessage.Send&lt;/P&gt;&lt;P&gt;end sub &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Sep 2013 09:05:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Send-mail-with-attached-file-Macro-VB/m-p/492110#M689594</guid>
      <dc:creator />
      <dc:date>2013-09-30T09:05:56Z</dc:date>
    </item>
    <item>
      <title>Re: Send mail with attached file (Macro VB)</title>
      <link>https://community.qlik.com/t5/QlikView/Send-mail-with-attached-file-Macro-VB/m-p/492111#M689595</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;pfa&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vikas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Oct 2013 11:37:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Send-mail-with-attached-file-Macro-VB/m-p/492111#M689595</guid>
      <dc:creator>vikasmahajan</dc:creator>
      <dc:date>2013-10-01T11:37:25Z</dc:date>
    </item>
  </channel>
</rss>

