final public function setViewer($viewer)Inherited
final public function setViewer($viewer)
Inherited
Parameters
PhabricatorUser | $viewer |
Return
wild |
final public function getViewer()Inherited
final public function getViewer()
Inherited
Return
wild |
final public function setSender($sender)Inherited
final public function setSender($sender)
Inherited
Parameters
PhabricatorUser | $sender |
Return
wild |
final public function getSender()Inherited
final public function getSender()
Inherited
Return
wild |
abstract public function isEnabled()Inherited
abstract public function isEnabled()
Inherited
Return
wild |
final public function canAcceptMail($mail, $target)
final public function canAcceptMail($mail, $target)
Parameters
PhabricatorMetaMTAReceivedMail | ||
PhutilEmailAddress | $target |
Return
wild |
final protected function processReceivedMail($mail, $target)
final protected function processReceivedMail($mail, $target)
Parameters
PhabricatorMetaMTAReceivedMail | ||
PhutilEmailAddress | $target |
Return
wild |
final public function receiveMail($mail, $target)Inherited
final public function receiveMail($mail, $target)
Inherited
Parameters
PhabricatorMetaMTAReceivedMail | ||
PhutilEmailAddress | $target |
Return
wild |
abstract protected function getObjectPattern()
abstract protected function getObjectPattern()
Return a regular expression fragment which matches the name of an object which can receive mail. For example, Differential uses:
D[1-9]\d*
...to match D123, etc., identifying Differential Revisions.
Return
string | Regular expression fragment. |
abstract protected function loadObject($pattern, $viewer)
abstract protected function loadObject($pattern, $viewer)
Load the object receiving mail, based on an identifying pattern. Normally this pattern is some sort of object ID.
Parameters
string | $pattern | A string matched by @{method:getObjectPattern} fragment. |
PhabricatorUser | $viewer | The viewing user. |
Return
void |
protected function processReceivedObjectMail($mail, $object, $sender)
protected function processReceivedObjectMail($mail, $object, $sender)
Parameters
PhabricatorMetaMTAReceivedMail | ||
PhabricatorLiskDAO | $object | |
PhabricatorUser | $sender |
Return
wild |
protected function getTransactionReplyHandler()
protected function getTransactionReplyHandler()
Return
wild |
public function loadMailReceiverObject($pattern, $viewer)
public function loadMailReceiverObject($pattern, $viewer)
Parameters
$pattern | ||
PhabricatorUser | $viewer |
Return
wild |
private function matchObjectAddress($address)
private function matchObjectAddress($address)
Parameters
PhutilEmailAddress | $address |
Return
wild |
private function getAddressRegexp()
private function getAddressRegexp()
Return
wild |
public static function computeMailHash($mail_key, $phid)
public static function computeMailHash($mail_key, $phid)
Parameters
$mail_key | ||
$phid |
Return
wild |