getCustomersNotificationEmail(Customer, long) method

Same as getCustomersEmail but will also require that the Notification mode of the customer indicates that he/she wants to receive email notifications.

Syntax

List< String > getCustomersNotificationEmail ( Customer customer , long actor )

Parameters

Returns

a list of email addresses sorted from most to least preferred.

Usage

If this is not the case an empty list is returned.

a list of email addresses sorted from most to least preferred.