You are here:
InsCensusService:sendMassEmail
Use this service to send emails to all members of a census. For example, you can use this service to send an invitation to enroll in a health insurance plan to all members of a customer's census.
Method: sendMassEmail
How It Works
If both remote options are not null, the service queries the contactId for primary census members and sends an email to them using the email template. Note that the contact needs to be created beforehand and linked to the primary census member.
-
Takes a
censusIdas a parameter and uses it to getcontactIdsfor all census members. -
Finds the specified email template to construct the emails to be sent.
-
Emails all members of the census using their
contactIds.

