ILIAS  release_9 Revision v9.13-25-g2c18ec4c24f
class.ilMailMimeSenderSystem.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
26 {
27  public function __construct(protected ilSetting $settings)
28  {
29  }
30 
31  public function hasReplyToAddress(): bool
32  {
33  return $this->settings->get('mail_system_sys_reply_to_addr', '') !== '' && $this->settings->get('mail_system_sys_reply_to_addr', '') !== null;
34  }
35 
36  public function getReplyToAddress(): string
37  {
38  return $this->settings->get('mail_system_sys_reply_to_addr', '');
39  }
40 
41  public function getReplyToName(): string
42  {
43  return '';
44  }
45 
46  public function hasEnvelopFromAddress(): bool
47  {
48  return $this->settings->get('mail_system_sys_env_from_addr', '') !== '' && $this->settings->get('mail_system_sys_env_from_addr', '') !== null;
49  }
50 
51  public function getEnvelopFromAddress(): string
52  {
53  return $this->settings->get('mail_system_sys_env_from_addr', '');
54  }
55 
56  public function getFromAddress(): string
57  {
58  return $this->settings->get('mail_system_sys_from_addr', '');
59  }
60 
61  public function getFromName(): string
62  {
63  return $this->settings->get('mail_system_sys_from_name', '');
64  }
65 }
array $settings
Setting values (LTI parameters, custom parameters and local parameters).
Definition: System.php:200
__construct(protected ilSetting $settings)
Class ilMailMimeSenderSystem.
Interface ilMailMimeTransport.