<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Hi,<br>
    </p>
    <div class="moz-cite-prefix">On 6/7/21 10:04 AM, Ángel González
      Berdasco wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:968d7d1ea0485e571f29e7326a3c376af0ca140e.camel@incibe.es">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <div>El lun, 07-06-2021 a las 09:49 +0200, Sebastian Wagner
        escribió:</div>
      <blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px
        #729fcf solid;padding-left:1ex">
        <p>Hi,</p>
        <p>The SMTP output bot uses these headers for the CSV
          attachment:</p>
        <pre>Content-Type: text/csv; charset="us-ascii"</pre>
        <pre>MIME-Version: 1.0</pre>
        <pre>Content-Transfer-Encoding: 7bit</pre>
        <p>Maybe Outlook needs something else?<br>
        </p>
        <p>Sebastian</p>
      </blockquote>
      <div><br>
      </div>
      <div>I think the issue is the lack of name, so it would need a
        header like</div>
      <div><br>
      </div>
      <div>Content-Disposition: attachment; filename="somefeed.csv"</div>
      <div><br>
      </div>
      <div>Best regards</div>
      <div><br>
      </div>
      <div><br>
      </div>
      <div>¹ <a href="https://datatracker.ietf.org/doc/html/rfc6266"
          moz-do-not-send="true">https://datatracker.ietf.org/doc/html/rfc6266</a></div>
    </blockquote>
    <p>Thanks for the hint. It looks like this header needs to be
      "manually" added:</p>
    <p><a class="moz-txt-link-freetext"
href="https://docs.python.org/3/library/email.compat32-message.html#email.message.Message.add_header"
        moz-do-not-send="true">https://docs.python.org/3/library/email.compat32-message.html#email.message.Message.add_header</a><br>
      here:<br>
      <a class="moz-txt-link-freetext"
href="https://github.com/certtools/intelmq/blob/a51276054a7c5f0744ccb90cda54a03eeed75400/intelmq/bots/outputs/smtp/output.py#L69"
        moz-do-not-send="true">https://github.com/certtools/intelmq/blob/a51276054a7c5f0744ccb90cda54a03eeed75400/intelmq/bots/outputs/smtp/output.py#L69</a></p>
    <p>Sebastian<br>
    </p>
    <pre class="moz-signature" cols="72">-- 
// Sebastian Wagner <a class="moz-txt-link-rfc2396E" href="mailto:wagner@cert.at" moz-do-not-send="true"><wagner@cert.at></a> - T: +43 676 898 298 7201
// CERT Austria - <a class="moz-txt-link-freetext" href="https://www.cert.at/" moz-do-not-send="true">https://www.cert.at/</a>
// Eine Initiative der nic.at GmbH - <a class="moz-txt-link-freetext" href="https://www.nic.at/" moz-do-not-send="true">https://www.nic.at/</a>
// Firmenbuchnummer 172568b, LG Salzburg</pre>
  </body>
</html>