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.

          Form Name

            [CONFSERVER-18140] Create error message on failed mail import

              barconati BillA
              rhartono Roy Hartono [Atlassian]
              Affected customers:
              0 This affects my team
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: