BAD Command Argument Error when creating issue via email with Microsoft Exchange

Symptoms

Email are not created as an issue from the IMAP server (Microsoft Exchange). Errors appear such as:

JiraQuartzScheduler_Worker-3 ERROR [service.services.mail.MailFetcherService] Create Issue/Comment Service - ...[...]: Exception: A4 BAD Command Argument Error. 11;
nested exception is:
com.sun.mail.iap.BadCommandException: A4 BAD Command Argument Error. 11
javax.mail.MessagingException: A4 BAD Command Argument Error. 11;
nested exception is:
com.sun.mail.iap.BadCommandException: A4 BAD Command Argument Error. 11
at com.sun.mail.imap.IMAPMessage.getHeader(IMAPMessage.java:624)
at com.atlassian.jira.service.services.mail.MailFetcherService.run(MailFetcherService.java:175)
at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:56)
at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:61)
at org.quartz.core.JobRunShell.run(JobRunShell.java:191)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:516)

Cause

The Microsoft Exchange server is installed with Turkish Regional Settings. The uppercase/lowercase conversion from the Microsoft Exchange server to JIRA is not working. 

Resolution

Update the Exchange server with English Regional Setting





Last modified on Mar 6, 2025

Was this helpful?

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