ILIAS  trunk Revision v11.0_alpha-1866-gfa368f7776e
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
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)

Definition at line 31 of file ilNotificationMailHandler.php.

References ANONYMOUS_USER_ID.

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

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