Uploaded image for project: 'MusicBrainz Server'
  1. MusicBrainz Server
  2. MBS-13445

Bad line wrapping and missing link in auto-editor election mails sent by Python Bulk Mail

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • None
    • Scripts
    • None

      Not sure if this is a bug in the script or maybe a formatting error in the input.

      I've noticed for a while that lines seem incorrectly wrapped, notably for the link to the announcement thread.

      I'm using Thunderbird 115

      In text view, which i prefer, the lines are wrapped awkwardly and thus the automatic linking of URLs doesn't work correctly for thread. In HTML view however the thread isn't linked at all.

      --===============8241892498789498381==
      MIME-Version: 1.0
      Content-Type: text/plain; charset="utf-8"
      Content-Transfer-Encoding: 8-bit
      
      Hey auto-editors! There is a new election going on!
      
      Candidate: derat <https://musicbrainz.org/user/derat>
      
      Proposer: salo.rock <https://musicbrainz.org/user/salo.rock>
      
        * There is a 1 week window for 2 seconders to step forward
        * Once the seconders have been found, a 1 week voting period begins [<\-- you are here]
        * The proposer may withdraw the proposal at any time
      
      Please click here to participate: https://community.metabrainz.org/t/auto-
      editor-election-derat/674864
      
      Cheers, Nicolás
      
      
      ---
      Sent using the Python Bulk Mail (v0.06) script.  https://rdswift.github.io/bulkmail/
      --===============8241892498789498381==
      MIME-Version: 1.0
      Content-Type: text/html; charset="utf-8"
      Content-Transfer-Encoding: 8-bit
      
      <p>Hey auto-editors!
      There is a new election going on!</p>
      <p>Candidate: <strong><a href="https://musicbrainz.org/user/derat">derat</a></strong></p>
      <p>Proposer: <strong><a href="https://musicbrainz.org/user/salo.rock">salo.rock</a></strong></p>
      <ul>
      <li>There is a 1 week window for 2 seconders to step forward</li>
      <li>Once the seconders have been found, a 1 week voting period begins [&lt;-- you are here]</li>
      <li>The proposer may withdraw the proposal at any time</li>
      </ul>
      <p>Please click here to participate:
      https://community.metabrainz.org/t/auto-editor-election-derat/674864</p>
      <p>Cheers,
      Nicolás</p>
      
      <p><hr>
      <span style='font-size: 80%;'>Sent using the Python Bulk Mail (v0.06) script.  <a href="https://rdswift.github.io/bulkmail/" target="_blank">https://rdswift.github.io/bulkmail/</a></span></p>
      --===============8241892498789498381==--
      

      This is how Thunderbird renders it in text view:

      HTML view:

            Unassigned Unassigned
            chaban chaban
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:

                Version Package