ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
class.ilMailMimeSenderSystem.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22{
23 public function __construct(protected ilSetting $settings)
24 {
25 }
26
27 public function hasReplyToAddress(): bool
28 {
29 return $this->settings->get('mail_system_sys_reply_to_addr', '') !== '' && $this->settings->get('mail_system_sys_reply_to_addr', '') !== null;
30 }
31
32 public function getReplyToAddress(): string
33 {
34 return $this->settings->get('mail_system_sys_reply_to_addr', '');
35 }
36
37 public function getReplyToName(): string
38 {
39 return '';
40 }
41
42 public function hasEnvelopFromAddress(): bool
43 {
44 return $this->settings->get('mail_system_sys_env_from_addr', '') !== '' && $this->settings->get('mail_system_sys_env_from_addr', '') !== null;
45 }
46
47 public function getEnvelopFromAddress(): string
48 {
49 return $this->settings->get('mail_system_sys_env_from_addr', '');
50 }
51
52 public function getFromAddress(): string
53 {
54 return $this->settings->get('mail_system_sys_from_addr', '');
55 }
56
57 public function getFromName(): string
58 {
59 return $this->settings->get('mail_system_sys_from_name', '');
60 }
61}
__construct(protected ilSetting $settings)
ILIAS Setting Class.