Defect HC-4341

Cannot add custom BCC field to email

Software

Customer case Applies to Corrected in
CS0128766 V8.0.4.23 8.0.4.25

Observed behavior

When emails are sent through the messaging service, a StringIndexOutOfBoundException is thrown in some cases.

Expected behavior

When <EditableProperty Admin=\"BCC\" NLSupport=\"true\"> is set in wc-server.xml, a StringIndexOutOfBoundException is thrown.

Resolution

The code was corrected to properly deal with empty strings.