<?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 Change Header of a Email by Macro - vbscript in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Change-Header-of-a-Email-by-Macro-vbscript/m-p/441147#M487518</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys I have a macro to send emails in vbscript like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dim objEmail&lt;/P&gt;&lt;P&gt;objEmail.To = mailto (mailto is a variable with the mail )&lt;/P&gt;&lt;P&gt;objEmail.From =&amp;nbsp; getVariable("vEmailFrom")&lt;/P&gt;&lt;P&gt;objEmail.Sender = getVariable("vEmailAlias")&lt;/P&gt;&lt;P&gt;objEmail.Subject = mailSubject&amp;nbsp; &lt;/P&gt;&lt;P&gt;objEmail.TextBody = ""&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I'm&amp;nbsp; trying to do is to change the header of the mail.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As default my mail shows the name of the username who sends the email, but I want to change the header whenever I want. Any ideas ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want something like :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;objEmail.setNewMailHeader = "Hello Header Mail")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I've found no property to change the header of the email. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If anybody knows how to do it, I'll appreciate that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks in advance!!! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 15 Feb 2013 16:31:43 GMT</pubDate>
    <dc:creator>marcel_olmo</dc:creator>
    <dc:date>2013-02-15T16:31:43Z</dc:date>
    <item>
      <title>Change Header of a Email by Macro - vbscript</title>
      <link>https://community.qlik.com/t5/QlikView/Change-Header-of-a-Email-by-Macro-vbscript/m-p/441147#M487518</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys I have a macro to send emails in vbscript like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dim objEmail&lt;/P&gt;&lt;P&gt;objEmail.To = mailto (mailto is a variable with the mail )&lt;/P&gt;&lt;P&gt;objEmail.From =&amp;nbsp; getVariable("vEmailFrom")&lt;/P&gt;&lt;P&gt;objEmail.Sender = getVariable("vEmailAlias")&lt;/P&gt;&lt;P&gt;objEmail.Subject = mailSubject&amp;nbsp; &lt;/P&gt;&lt;P&gt;objEmail.TextBody = ""&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I'm&amp;nbsp; trying to do is to change the header of the mail.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As default my mail shows the name of the username who sends the email, but I want to change the header whenever I want. Any ideas ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want something like :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;objEmail.setNewMailHeader = "Hello Header Mail")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I've found no property to change the header of the email. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If anybody knows how to do it, I'll appreciate that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks in advance!!! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Feb 2013 16:31:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-Header-of-a-Email-by-Macro-vbscript/m-p/441147#M487518</guid>
      <dc:creator>marcel_olmo</dc:creator>
      <dc:date>2013-02-15T16:31:43Z</dc:date>
    </item>
    <item>
      <title>Re: Change Header of a Email by Macro - vbscript</title>
      <link>https://community.qlik.com/t5/QlikView/Change-Header-of-a-Email-by-Macro-vbscript/m-p/441148#M487519</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hmmm&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;objEmail.Subject = mailSubject&lt;/STRONG&gt;&lt;/EM&gt;&amp;nbsp; - that is the header definition&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so if You just write:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;objEmail.Subject = "Hello Header Mail"&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;should be ok&lt;EM&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Feb 2013 08:57:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-Header-of-a-Email-by-Macro-vbscript/m-p/441148#M487519</guid>
      <dc:creator />
      <dc:date>2013-02-18T08:57:25Z</dc:date>
    </item>
    <item>
      <title>Re: Change Header of a Email by Macro - vbscript</title>
      <link>https://community.qlik.com/t5/QlikView/Change-Header-of-a-Email-by-Macro-vbscript/m-p/441149#M487520</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Pari for your response,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't think this is the header, this is just the subject of the message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The structure is the following :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;lt;header&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;hour the email was sent&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;lt;subject&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where the header is usually the name of the account which sends the message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is an example :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="33606" class="jive-image" alt="Example.png" src="https://community.qlik.com/legacyfs/online/33606_Example.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you know the answer, I'll apreciate your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, Marcel.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Feb 2013 09:03:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-Header-of-a-Email-by-Macro-vbscript/m-p/441149#M487520</guid>
      <dc:creator>marcel_olmo</dc:creator>
      <dc:date>2013-02-18T09:03:56Z</dc:date>
    </item>
    <item>
      <title>Re: Change Header of a Email by Macro - vbscript</title>
      <link>https://community.qlik.com/t5/QlikView/Change-Header-of-a-Email-by-Macro-vbscript/m-p/441150#M487521</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;you can use Variable to store temporary your mail header like,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;Dim &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif'; color: #737373; background: white;"&gt; VmailSubject &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN style="color: #737373; background: white; font-size: 10.0pt; background-color: #ffffff; font-family: 'Arial','sans-serif';"&gt;VmailSubject &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt; = "&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif'; color: #737373; background: white;"&gt;Hello Header Mail&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;"&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;&lt;STRONG style=": ; color: #737373; font-size: 10.0pt; background: white; background-color: #ffffff; font-family: 'Arial','sans-serif';"&gt;objEmail.Subject = VmailSubject &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;&lt;STRONG style=": ; color: #737373; font-size: 10.0pt; background: white; background-color: #ffffff; font-family: 'Arial','sans-serif';"&gt;you can change variable value dynamically according to your logic,&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;&lt;STRONG style=": ; color: #737373; font-size: 10.0pt; background: white; background-color: #ffffff; font-family: 'Arial','sans-serif';"&gt;Hope this will help you,&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;&lt;STRONG style=": ; color: #737373; font-size: 10.0pt; background: white; background-color: #ffffff; font-family: 'Arial','sans-serif';"&gt;Thanks&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Feb 2013 09:06:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-Header-of-a-Email-by-Macro-vbscript/m-p/441150#M487521</guid>
      <dc:creator />
      <dc:date>2013-02-18T09:06:50Z</dc:date>
    </item>
    <item>
      <title>Re: Change Header of a Email by Macro - vbscript</title>
      <link>https://community.qlik.com/t5/QlikView/Change-Header-of-a-Email-by-Macro-vbscript/m-p/441151#M487522</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I appreciate your answers. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My problem is not the subject, is the header. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you see the image attached above, you'll see what I'm talking about.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Header -&amp;gt; Marcel Olmo Arnaiz.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Subject -&amp;gt; Hello, this is an example.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;IMG __jive_id="33607" class="jive-image" alt="Example.png" src="https://community.qlik.com/legacyfs/online/33607_Example.png" /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Feb 2013 09:09:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-Header-of-a-Email-by-Macro-vbscript/m-p/441151#M487522</guid>
      <dc:creator>marcel_olmo</dc:creator>
      <dc:date>2013-02-18T09:09:59Z</dc:date>
    </item>
    <item>
      <title>Re: Change Header of a Email by Macro - vbscript</title>
      <link>https://community.qlik.com/t5/QlikView/Change-Header-of-a-Email-by-Macro-vbscript/m-p/441152#M487523</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ok so try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;objEmail.From = "Barack Obama"&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Feb 2013 09:38:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-Header-of-a-Email-by-Macro-vbscript/m-p/441152#M487523</guid>
      <dc:creator />
      <dc:date>2013-02-18T09:38:09Z</dc:date>
    </item>
    <item>
      <title>Re: Change Header of a Email by Macro - vbscript</title>
      <link>https://community.qlik.com/t5/QlikView/Change-Header-of-a-Email-by-Macro-vbscript/m-p/441153#M487524</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;I found the solution for your Query,&lt;/P&gt;&lt;P&gt;I tried it and its working fine for me&lt;/P&gt;&lt;P&gt;just use the below line and it will change header for you,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt;objEmail.From = """Hi How are you"" &amp;lt;&lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:yourcompany@domain.com"&gt;yourcompany@domain.com&lt;/A&gt;&lt;SPAN&gt;&amp;gt;"&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Hope this will help for you,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Thanks&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Feb 2013 10:24:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-Header-of-a-Email-by-Macro-vbscript/m-p/441153#M487524</guid>
      <dc:creator />
      <dc:date>2013-02-18T10:24:28Z</dc:date>
    </item>
    <item>
      <title>Re: Change Header of a Email by Macro - vbscript</title>
      <link>https://community.qlik.com/t5/QlikView/Change-Header-of-a-Email-by-Macro-vbscript/m-p/441154#M487525</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Raj N, as easy as it sounds!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, Marcel.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Mar 2013 08:34:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-Header-of-a-Email-by-Macro-vbscript/m-p/441154#M487525</guid>
      <dc:creator>marcel_olmo</dc:creator>
      <dc:date>2013-03-04T08:34:00Z</dc:date>
    </item>
  </channel>
</rss>

