Workflow Notification Mailer Deactivated Due to Illegal Whitespace in Address in String During Inbound IMAP Processing

The Workflow Mailer goes down frequently with a status of System Deactivated with the following failure in the log file:

-1:-1:1:20420:SYSADMIN(0):-1:Thread[BES Dispatch Thread,5,main]:1275287147:4785:1660034413934:209:EXCEPTION:[SVC-GSM-WFMLRSVC-2758650 : oracle.apps.fnd.cp.gsc.SvcComponentContainer.onBusinessEvent(BusinessEvent)]:Successfully handled component event, oracle.apps.fnd.cp.gsc.SvcComponent.start, for component 10006
-1:-1:1:20420:SYSADMIN(0):-1:Thread[inboundThreadGroup1,5,inboundThreadGroup]:1275287147:4785:1660034434801:210:UNEXPECTED:[SVC-GSM-WFMLRSVC-2758650-10006 :]:Problem reaching content in step {Writing to NID parser} -> javax.mail.internet.AddressException: Illegal whitespace in address in string ``Microsoft Exchange Server''
[Aug 9, 2022 8:40:35 AM -1:-1:1:20420:SYSADMIN(0):-1:Thread[inboundThreadGroup1,5,inboundThreadGroup]:1275287147:4785:1660034434801:210:ERROR:[SVC-GSM-WFMLRSVC-2758650-10006 :]:Connection to Store is closed


There's a corrupted email in the IMAP inbox that the java mail parser cannot parse. In my case I saw a postmaster deleivery failure mail in IMAP mailbox INBOX.


  • Stop the Workflow Mailer service. 
  • Log onto the email client and check the IMAP inbox for a mail message that is invalid or with incorrect mail
  • Move all invalid messages to the discard folder. 
  • Re-start the workflow mailer.
  • If required work with Exchange team to create rules to avoid those mails in INBOX.

If you like please follow and comment