359 {
360 switch($notification_type)
361 {
364 $mailNotification->setType($notification_type);
365 $mailNotification->setRecipients(
$provider->getPostActivationRecipients());
366 $mailNotification->send();
367 break;
368
371 $mailNotification->setType($notification_type);
372 $mailNotification->setRecipients(
$provider->getPostAnsweredRecipients());
373 $mailNotification->send();
374 break;
375
376 default:
377
379 $mailNotification->setType($notification_type);
380 $mailNotification->setRecipients(
$provider->getForumNotificationRecipients());
381 $mailNotification->send();
382
383
385 $mailNotification->setType($notification_type);
386 $mailNotification->setRecipients(
$provider->getThreadNotificationRecipients());
387 $mailNotification->send();
388 break;
389 }
390 }
const TYPE_POST_ACTIVATION