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
-
customer –
for whom to retrieve the email addresses
-
actor –
who has invoked the service (for tracking purposes)
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.