ILIAS  release_8 Revision v8.24
class.ilMailMimeSenderSystem.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
26{
28
30 {
31 $this->settings = $settings;
32 }
33
34 public function hasReplyToAddress(): bool
35 {
36 return $this->settings->get('mail_system_sys_reply_to_addr', '') !== '' && $this->settings->get('mail_system_sys_reply_to_addr', '') !== null;
37 }
38
39 public function getReplyToAddress(): string
40 {
41 return $this->settings->get('mail_system_sys_reply_to_addr', '');
42 }
43
44 public function getReplyToName(): string
45 {
46 return '';
47 }
48
49 public function hasEnvelopFromAddress(): bool
50 {
51 return $this->settings->get('mail_system_sys_env_from_addr', '') !== '' && $this->settings->get('mail_system_sys_env_from_addr', '') !== null;
52 }
53
54 public function getEnvelopFromAddress(): string
55 {
56 return $this->settings->get('mail_system_sys_env_from_addr', '');
57 }
58
59 public function getFromAddress(): string
60 {
61 return $this->settings->get('mail_system_sys_from_addr', '');
62 }
63
64 public function getFromName(): string
65 {
66 return $this->settings->get('mail_system_sys_from_name', '');
67 }
68}
Class ilMailMimeSenderSystem.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Interface ilMailMimeTransport.