• Icon: Suggestion Suggestion
    • Resolution: Low Engagement
    • None
    • Email - Incoming
    • None
    • 0
    • 4
    • We collect Jira Service Desk feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

      Problem definition

      Emails with MIME header that do not comply to the RFC2046 convention will be rejected by the Service Desk incoming mail handler.

      • There was an error reading the body of email message. will be seen in the Processing log for the rejected email.
      • Error below appears in the atlassian-jira.log
        2017-08-28 09:17:06,643 Caesium-1-3 WARN admin@atlassian.com     [c.a.s.i.feature.emailchannel.IncomingEmailParser] Error processing email message
        java.io.IOException: Unknown encoding: 7-bit
        	at javax.mail.internet.MimePartDataSource.getInputStream(MimePartDataSource.java:115)
        	at com.sun.mail.handlers.text_plain.getContent(text_plain.java:80)
        	at javax.activation.DataSourceDataContentHandler.getContent(DataHandler.java:795)
        	at javax.activation.DataHandler.getContent(DataHandler.java:542)
        	at javax.mail.internet.MimeBodyPart.getContent(MimeBodyPart.java:657)
        ...
        

      Suggestion

      Better approach to handle emails with invalid header

      Notes

      The cause of the issue is that the mail server is sending emails with an invalid encoding which cannot be processed by javamail. The workaround is to change the mail server settings to send base64 or binary encoded emails to the Service Desk email channel.

            [JSDSERVER-5423] Error processing incoming email - Unknown encoding: 7-bit

            Charlie Marriott made changes -
            Resolution New: Low Engagement [ 10300 ]
            Status Original: Gathering Interest [ 11772 ] New: Closed [ 6 ]
            SET Analytics Bot made changes -
            UIS Original: 5 New: 0
            SET Analytics Bot made changes -
            UIS Original: 0 New: 5
            Paulo Junior (Inactive) made changes -
            Link New: This issue was cloned as JSDSERVER-8664 [ JSDSERVER-8664 ]
            SET Analytics Bot made changes -
            UIS Original: 1 New: 0
            SET Analytics Bot made changes -
            UIS New: 1
            Katherine Yabut made changes -
            Workflow Original: JAC Suggestion Workflow [ 3012879 ] New: JAC Suggestion Workflow 3 [ 3645770 ]
            SET Analytics Bot made changes -
            Support reference count Original: 3 New: 4
            Owen made changes -
            Workflow Original: Confluence Workflow - Public Facing v4 [ 2663565 ] New: JAC Suggestion Workflow [ 3012879 ]
            Owen made changes -
            Symptom Severity Original: Minor [ 14432 ] New: Severity 3 - Minor [ 15832 ]

              Unassigned Unassigned
              michin Michelle Chin
              Votes:
              8 Vote for this issue
              Watchers:
              12 Start watching this issue

                Created:
                Updated:
                Resolved: