Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-3334

Default email MIME type is not valid

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: High High
    • 1.4.2
    • 1.4
    • None

      See CONF-3333

      "First, how the PreRenderedMailNotificationQueueItems get to the error queue. Most of our users did not bother choosing between text and html email notifications, so their confluence.prefs.email.mimetype comes from preferences-default.xml and is equal to "html". Due to apparent typo in MailNotificationQueueItem#getMimeTypeForUser (MailNotificationQueueItem.java around line 159), string "html" is not considered to represent html content and is used as is by SMTPMailServerImpl. Since "html" is not know mime type, send message fails with javax.mail.ParseException. By the way, ErrorQueuedTaskQueue#handleException looses nested exceptions and stack trace and all I saw in the logs was almost useless "send message failed"."

              Unassigned Unassigned
              cmiller@atlassian.com Charles Miller
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: