ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ILIAS\Notifications\ilNotificationMailHandler Class Reference
+ Inheritance diagram for ILIAS\Notifications\ilNotificationMailHandler:
+ Collaboration diagram for ILIAS\Notifications\ilNotificationMailHandler:

Public Member Functions

 notify (ilNotificationObject $notification)
 
- Public Member Functions inherited from ILIAS\Notifications\ilNotificationHandler
 notify (ilNotificationObject $notification)
 
 showSettings (ilPropertyFormGUI $form)
 
 clear ()
 

Detailed Description

Member Function Documentation

◆ notify()

ILIAS\Notifications\ilNotificationMailHandler::notify ( ilNotificationObject  $notification)

Reimplemented from ILIAS\Notifications\ilNotificationHandler.

Definition at line 31 of file ilNotificationMailHandler.php.

31 : void
32 {
33 $sender_id = $notification->handlerParams['mail']['sender'] ?? ANONYMOUS_USER_ID;
34 $mail = new ilMail((int) $sender_id);
35 $mail->appendInstallationSignature(true);
36 $mail->enqueue(
37 $notification->user->getLogin(),
38 '',
39 '',
40 $notification->title,
41 $notification->longDescription,
42 []
43 );
44 }
const ANONYMOUS_USER_ID
Definition: constants.php:27

References ANONYMOUS_USER_ID.


The documentation for this class was generated from the following file: