34 return $usrId == ANONYMOUS_USER_ID;
43 if (array_key_exists($usrId, $this->senders)) {
44 return $this->senders[$usrId];
53 $sender = $this->
user($usrId);
57 $this->senders[$usrId] = $sender;
67 require_once
'Services/Mail/classes/Mime/Sender/class.ilMailMimeSenderSystem.php';
75 public function user($usrId)
77 require_once
'Services/Mail/classes/Mime/Sender/class.ilMailMimeSenderUser.php';
87 require_once
'Services/Mail/classes/Mime/Sender/class.ilMailMimeSenderUser.php';
Class ilMailMimeSenderFactory.
userByEmailAddress($emailAddress)
static byUsrId(\ilSetting $settings, $usrId)
__construct(\ilSetting $settings)
ilMailMimeSenderFactory constructor.
static byEmailAddress(\ilSetting $settings, $emailAddress)
Class ilMailMimeSenderSystem.