MailUtlis & multipart emails

Adam Winiarski
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 3, 2012

Hi Support,

We can't create issues with comment from email handlers:

2012-01-04 12:15:17,548 QuartzWorker-1 WARN ServiceRunner echange service com.atlassian.mail.MailUtils Unable to extract text from MIME part with Content-Type 'multipart/related;

boundary=_014_7A44A0B2773BB74DAA2A0415D2046C75143E310401ARRAKISbanyan_;

type=multipart/alternative

I tried everything to handle it - searching mailcaps, analyzes data handlers but nothing helps - Message getContent() always returns SharedByteArrayStream instead Multipart, that's why MailUtlis can't extract from it body.

Our jira env is 4.4.1

We are using also Microsoft exchange account with IMAP_SECURE protocol.

Best regards,

Adam

1 answer

0 votes
Andy Brook [Plugin People]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 13, 2012

use JEMH, it has some additional coding to pull out attachments - https://studio.plugins.atlassian.com/wiki/display/JEMH/JIRA+Extendable+Mail+Handler

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events