Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F568011
PhabricatorMailSetupCheck.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
666 B
Referenced Files
None
Subscribers
None
PhabricatorMailSetupCheck.php
View Options
<?php
final
class
PhabricatorMailSetupCheck
extends
PhabricatorSetupCheck
{
public
function
getDefaultGroup
()
{
return
self
::
GROUP_OTHER
;
}
protected
function
executeChecks
()
{
if
(
PhabricatorEnv
::
getEnvConfig
(
'cluster.mailers'
))
{
return
;
}
$message
=
pht
(
'You haven
\'
t configured mailers yet, so this server won
\'
t be able '
.
'to send outbound mail or receive inbound mail. See the '
.
'configuration setting "cluster.mailers" for details.'
);
$this
->
newIssue
(
'cluster.mailers'
)
->
setName
(
pht
(
'Mailers Not Configured'
))
->
setMessage
(
$message
)
->
addPhabricatorConfig
(
'cluster.mailers'
);
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Tue, May 13, 1:11 PM (2 d)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
119649
Default Alt Text
PhabricatorMailSetupCheck.php (666 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment