sendNotifications

Sends a notification to members who have elected to receive emails when things happen to a topic, such as replies are posted. The function automatically finds the subject and its board, and checks permissions for each member who is "signed up" for notifications. It will not send 'reply' notifications more than once in a row.
Parameters Summary
array $topics
string $type
array $exclude = array ( )
array $members_only = array ( )