3 final class PhabricatorMetaMTAEmailOthersHeraldAction
4 extends PhabricatorMetaMTAEmailHeraldAction
{
6 const ACTIONCONST
= 'email.other';
8 public function getHeraldActionName() {
9 return pht('Send an email to');
12 public function supportsRuleType($rule_type) {
13 return ($rule_type != HeraldRuleTypeConfig
::RULE_TYPE_PERSONAL
);
16 public function applyEffect($object, HeraldEffect
$effect) {
17 return $this->applyEmail($effect->getTarget(), $force = false);
20 public function getHeraldActionStandardType() {
21 return self
::STANDARD_PHID_LIST
;
24 protected function getDatasource() {
25 return new PhabricatorMetaMTAMailableDatasource();
28 public function renderActionDescription($value) {
29 return pht('Send an email to: %s.', $this->renderHandleList($value));