3 final class PhabricatorMailSetupCheck
extends PhabricatorSetupCheck
{
5 public function getDefaultGroup() {
6 return self
::GROUP_OTHER
;
9 protected function executeChecks() {
10 if (PhabricatorEnv
::getEnvConfig('cluster.mailers')) {
15 'You haven\'t configured mailers yet, so Phabricator won\'t be able '.
16 'to send outbound mail or receive inbound mail. See the '.
17 'configuration setting cluster.mailers for details.');
19 $this->newIssue('cluster.mailers')
20 ->setName(pht('Mailers Not Configured'))
21 ->setMessage($message)
22 ->addPhabricatorConfig('cluster.mailers');