'MessagingException creating comment Unable to load BODYSTRUCTURE' Due to Digitally Signed Email

Still need help?

The Atlassian Community is here for you.

Ask the community

Symptoms

The following appears in the atlassian-jira.log:

2011-01-04 17:03:03,984 JiraQuartzScheduler_Worker-1 WARN ServiceRunner Jira-Firmware [service.util.handler.AbstractCommentHandler] MessagingException creating comment Unable to load BODYSTRUCTURE
javax.mail.MessagingException: Unable to load BODYSTRUCTURE
at com.sun.mail.imap.IMAPMessage.loadBODYSTRUCTURE(IMAPMessage.java:1280)
at com.sun.mail.imap.IMAPMessage.getContentType(IMAPMessage.java:443)
at com.atlassian.mail.MailUtils.getContentType(MailUtils.java:641)
at com.atlassian.mail.MailUtils.isPartPlainText(MailUtils.java:598)
at com.atlassian.mail.MailUtils.extractTextFromPart(MailUtils.java:510)
at com.atlassian.mail.MailUtils.getBody(MailUtils.java:153)
at com.atlassian.jira.service.util.handler.NonQuotedCommentHandler.getEmailBody(NonQuotedCommentHandler.java:39)
at com.atlassian.jira.service.util.handler.AbstractCommentHandler.handleMessage(AbstractCommentHandler.java:77)
at com.atlassian.jira.service.util.handler.CreateOrCommentHandler.handleMessage(CreateOrCommentHandler.java:108)
at com.atlassian.jira.service.services.mail.MailFetcherService.run(MailFetcherService.java:189)
at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:67)
at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:48)
at org.quartz.core.JobRunShell.run(JobRunShell.java:191)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:516)

Cause

JIRA has received a digitally signed email in one of the email boxes that it monitors.

Resolution

Unfortunately, JIRA is currently incapable of reading digitally signed emails. JRA-18156 is the feature request for this.

Last modified on Oct 2, 2019

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.