ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
◀ ilDoc Overview
class.ilMailMimeSenderSystem.php
Go to the documentation of this file.
1
<?php
2
/* Copyright (c) 1998-2017 ILIAS open source, Extended GPL, see docs/LICENSE */
3
4
require_once
'Services/Mail/classes/Mime/Sender/interface.ilMailMimeSender.php'
;
5
9
class
ilMailMimeSenderSystem
implements
ilMailMimeSender
10
{
14
protected
$settings
;
15
20
public
function
__construct
(\
ilSetting
$settings
)
21
{
22
$this->
settings
=
$settings
;
23
}
24
28
public
function
hasReplyToAddress
()
29
{
30
return
strlen($this->
settings
->get(
'mail_system_sys_reply_to_addr'
)) > 0;
31
}
32
36
public
function
getReplyToAddress
()
37
{
38
return
$this->
settings
->get(
'mail_system_sys_reply_to_addr'
);
39
}
40
44
public
function
getReplyToName
()
45
{
46
return
''
;
47
}
48
52
public
function
hasEnvelopFromAddress
()
53
{
54
return
strlen($this->
settings
->get(
'mail_system_sys_env_from_addr'
)) > 0;
55
}
56
60
public
function
getEnvelopFromAddress
()
61
{
62
return
$this->
settings
->get(
'mail_system_sys_env_from_addr'
);
63
}
64
68
public
function
getFromAddress
()
69
{
70
return
$this->
settings
->get(
'mail_system_sys_from_addr'
);
71
}
72
76
public
function
getFromName
()
77
{
78
return
$this->
settings
->get(
'mail_system_sys_from_name'
);
79
}
80
}
ilMailMimeSenderSystem\getEnvelopFromAddress
getEnvelopFromAddress()
string
Definition:
class.ilMailMimeSenderSystem.php:60
ilMailMimeSenderSystem\getFromName
getFromName()
string
Definition:
class.ilMailMimeSenderSystem.php:76
ilMailMimeSenderSystem\__construct
__construct(\ilSetting $settings)
ilMailMimeSenderSystem constructor.
Definition:
class.ilMailMimeSenderSystem.php:20
ilMailMimeSenderSystem\getReplyToAddress
getReplyToAddress()
string
Definition:
class.ilMailMimeSenderSystem.php:36
ilMailMimeSenderSystem
Class ilMailMimeSenderSystem.
Definition:
class.ilMailMimeSenderSystem.php:9
ilMailMimeSenderSystem\getReplyToName
getReplyToName()
string
Definition:
class.ilMailMimeSenderSystem.php:44
ilMailMimeSender
Interface ilMailMimeTransport.
Definition:
interface.ilMailMimeSender.php:7
ilMailMimeSenderSystem\$settings
$settings
Definition:
class.ilMailMimeSenderSystem.php:14
ilMailMimeSenderSystem\getFromAddress
getFromAddress()
string
Definition:
class.ilMailMimeSenderSystem.php:68
settings
settings()
Definition:
settings.php:2
ilMailMimeSenderSystem\hasEnvelopFromAddress
hasEnvelopFromAddress()
bool
Definition:
class.ilMailMimeSenderSystem.php:52
ilMailMimeSenderSystem\hasReplyToAddress
hasReplyToAddress()
bool
Definition:
class.ilMailMimeSenderSystem.php:28
ilSetting
Services
Mail
classes
Mime
Sender
class.ilMailMimeSenderSystem.php
Generated on Sat Jan 18 2025 19:01:34 for ILIAS by
1.8.13 (using
Doxyfile
)