Uploaded image for project: 'Red Hat 3scale API Management'
  1. Red Hat 3scale API Management
  2. THREESCALE-10935

Some emails being sent with text/html MIME type rendering on one line

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • SaaS, 2.14.1 GA
    • System
    • False
    • None
    • False
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Not Started

      Some 3scale emails are being sent using "text/html; charset=utf-8" instead of "text/plain; charset=utf-8".

      This with the content of the email sent as plain text results in an email displayed in one line because new lines are ignored in HTML content.

      To fix this issue, should translate new lines to "<br />" HTML tag or change the email content type mime.

      Example:

      Subject: Invitation to join RedHat
      Mime-Version: 1.0
      X-3scale-viral: 
      Content-Type: text/html; charset=us-ascii
      Content-Transfer-Encoding: 7bit
      
      You have been invited to join RedHat.
      
      Please sign up by following this link: https://xxx.3scale.net/signup/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
      
      If you have problems signing up or believe you received this email erroneously
      please contact xxx@redhat.com.
      
      The Red Hat API Team.

      And the rendered email:

              Unassigned Unassigned
              rhn-support-eazevedo Ernani Azevedo
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: