Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/phabricator
Path: blob/master/src/applications/metamta/application/PhabricatorMetaMTAApplication.php
12256 views
1
<?php
2
3
final class PhabricatorMetaMTAApplication extends PhabricatorApplication {
4
5
public function getName() {
6
return pht('Mail');
7
}
8
9
public function getBaseURI() {
10
return '/mail/';
11
}
12
13
public function getIcon() {
14
return 'fa-send';
15
}
16
17
public function getShortDescription() {
18
return pht('Send and Receive Mail');
19
}
20
21
public function getFlavorText() {
22
return pht('Every program attempts to expand until it can read mail.');
23
}
24
25
public function getApplicationGroup() {
26
return self::GROUP_ADMIN;
27
}
28
29
public function canUninstall() {
30
return false;
31
}
32
33
public function getTypeaheadURI() {
34
return '/mail/';
35
}
36
37
public function getRoutes() {
38
return array(
39
'/mail/' => array(
40
'(query/(?P<queryKey>[^/]+)/)?' =>
41
'PhabricatorMetaMTAMailListController',
42
'detail/(?P<id>[1-9]\d*)/' => 'PhabricatorMetaMTAMailViewController',
43
'sendgrid/' => 'PhabricatorMetaMTASendGridReceiveController',
44
'mailgun/' => 'PhabricatorMetaMTAMailgunReceiveController',
45
'postmark/' => 'PhabricatorMetaMTAPostmarkReceiveController',
46
),
47
);
48
}
49
50
public function getTitleGlyph() {
51
return '@';
52
}
53
54
}
55
56