In WebSphere Commerce v6, users were permitted to enter multiple e-mail addresses, comma separated, at user registration. Additional validation was added in v7 which may not permit this anymore. Previously existing users with comma-separated e-mail addresses already populated in the ADDRESS table may still receive e-mails, but the e-mails are sent out individually (bcc field) rather than a single e-mail containing all recipients visible. To enable the previous v6 functionality in v7 perform the following steps:
Obtain APAR JR47640 from support. This APAR updates the AddressDO.isEmailAddressValid(String strEmail) method to make it protected instead of private.
Customize and/or deploy the two extended classes. Sample code can be obtained here. Note: This is sample code only and is not represented as an official IBM asset. The ExtSelfAddressDO.java class returns true for the isEmailAddressValid() method. You can add your own validation logic here as you see fit. The EXTLDAPIntegrationCmdImpl.java class imports that new class and invokes it.
Update your CMDREG database entry to point the interface to the new class name:
update cmdreg set classname='com.ibm.commerce.member.syncbeans.commands.EXTLDAPIntegrationCmdImpl' where classname='com.ibm.commerce.member.syncbeans.commands.LDAPIntegrationCmdImpl';
To allow all recipients to show up in the "To" field for the e-mail, you can add the 'showAllMemberGroupRecipients' property in the wc-server.xml (instance.xml). Set this property to 'true' (default is false). Here is an example:
<OutboundConnector default="true" enabled="true" id="1"