When “Attach” set as the delivery option on AW_EMAIL receive AwE-5123 errors

Document ID : KB000087562
Last Modified Date : 14/04/2018
Show Technical Document Details
Issue:
Error Message :
ErrorMsg: AwE-5123 Email error
Details: javax.mail.internet.AddressException: Domain contains control or whitespace in string

Executing a Process Flow with multiple output  AW_EMAIL output devices assigned at a Component level results in the following error:

ErrorMsg: AwE-5123 Email error (5/4/16 11:14 AM)
Details: {mail.smtp.port=25, mail.smtp.host=test.sample.edu, mail.smtp.from=test.sample@test.eduPRINTAW_EMAIL /u04/prod/output/wtsrdepo_A11627245.lis "joe.smith@test.edu" }
javax.mail.internet.AddressException: Domain contains control or whitespace in string ``test.sample@test.edu PRINTAW_EMAIL /u04/prod/output/wtsrdepo_A11627245.lis "joe.smith@test.edu"''

This only appears if the “Attach” delivery option is set for the AW_EMAIL output.
 
Cause:
Cause type:
Defect
Root Cause: Using the AW_EMAIL Output Device with a distribution list resulted in an AwE-5123 Email error "Domain contains control or whitespace in string". This occurred when Attach was set as the delivery option.
Resolution:
This field was added on 30/03/2017. This article has not been updated yet. Refer to the "Description" or "Workaround" sections for solution information.

Fix Status: Released

Fix Version(s):
Application Manager 9.1.2 - Available
Additional Information:
Workaround :
Set the delivery option to use either 'Zip', 'PDF' or 'In Body'.