257 {
258 switch($notification_type)
259 {
262 $mailNotification->setType($notification_type);
263 $mailNotification->setRecipients(
$provider->getPostActivationRecipients());
264 $mailNotification->send();
265 break;
266
269 $mailNotification->setType($notification_type);
270 $mailNotification->setRecipients(
$provider->getPostAnsweredRecipients());
271 $mailNotification->send();
272 break;
273
274 default:
275
277 $mailNotification->setType($notification_type);
278 $mailNotification->setRecipients(
$provider->getForumNotificationRecipients());
279 $mailNotification->send();
280
281
283 $mailNotification->setType($notification_type);
284 $mailNotification->setRecipients(
$provider->getThreadNotificationRecipients());
285 $mailNotification->send();
286 break;
287 }
288 }
const TYPE_POST_ACTIVATION