Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-54284

email replies to message board, wrong message format is used (plain txt instead of HTML)

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: 6.2.10 EE GA1, 6.2.X EE, 7.0.0 M5
    • Fix Version/s: 7.0.0 M6
    • Component/s: Mail
    • Labels:

      Description

      Reproduction steps:
      1) Set these in your portal-ext and then start the server:

      message.boards.message.formats.default=html

      pop.server.notifications.enabled=true
      pop.server.subdomain=
      #smtp
      mail.session.mail.smtp.auth=true
      mail.session.mail.smtp.host=smtp.gmail.com
      mail.session.mail.smtp.password=testliferaytest
      mail.session.mail.smtp.port=465
      mail.session.mail.smtp.user=liferaytesthu@gmail.com
      mail.session.mail.transport.protocol=smtp
      mail.session.mail.smtp.starttls.enable=true
      mail.session.mail.smtp.socketFactory.class=javax.net.ssl.SSLSocketFactory

      #pop
      mail.session.mail.pop3.auth=true
      mail.session.mail.pop3.host=pop.gmail.com
      mail.session.mail.pop3.password=testliferaytest
      mail.session.mail.pop3.port=995
      mail.session.mail.pop3.user=liferaytesthu@gmail.com
      mail.session.mail.store.protocol=pop3
      mail.session.mail.pop3.socketFactory.port=995
      mail.session.mail.pop3.socketFactory.class=javax.net.ssl.SSLSocketFactory

      2) Go to the Message Board's configuration and on the Email From tab, set the address to that mail which is in your property: mail.session.mail.pop3.user=
      3) Create a user with a valid email (for example use yours @liferay.com) and add administrator role (to ease your work) to him
      4) Sign in with your mail and Post a new thread on Message Board
      5) Reply to the new thread with the default user
      You should receive an email

      6) Reply to that email, use some formatted text, e.g. bold text
      7) Your reply should be displayed in the Message Board within 1 minutes

      Result: The formatting is lost.
      Expected: The reply displayed as it was sent.

        Attachments

        1. fixed.png
          fixed.png
          24 kB
        2. reproduced.png
          reproduced.png
          46 kB

          Issue Links

            Activity

              People

              Assignee:
              yvonne.han Yvonne Han
              Reporter:
              tamas.molnar Tamas Molnar
              Participants of an Issue:
              Recent user:
              Esther Sanz
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                4 years, 50 weeks, 6 days ago

                  Packages

                  Version Package
                  7.0.0 M6