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

Create error message on failed mail import

    XMLWordPrintable

Details

    Description

      A customer discovered that when Confluence failed to fetch some emails, Confluence still reports success.

      Such emails fail to be imported due to javax.mail limitation as it is not able to parse an email header that does not follow RFC-2183:

      2009-12-19 10:17:00,803 WARN [DefaultQuartzScheduler_Worker-2] [atlassian.confluence.mail.DefaultMailContentManager] storeIncomingMail Could not store mail message Expected ';', got ","
      javax.mail.internet.ParseException: Expected ';', got ","
      	at javax.mail.internet.ParameterList.<init>(ParameterList.java:281)
      	at javax.mail.internet.ContentDisposition.<init>(ContentDisposition.java:100)
      	at javax.mail.internet.MimeBodyPart.getDisposition(MimeBodyPart.java:1085)
      	at javax.mail.internet.MimeBodyPart.getDisposition(MimeBodyPart.java:318)
      	at com.atlassian.mail.MailUtils.getBodyFromMultipart(MailUtils.java:469)
      

      See this KB article.

      Confluence should produce a more useful error message that says those emails fail to be fetched.

      Attachments

        Activity

          People

            barconati BillA
            rhartono Roy Hartono [Atlassian]
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: