Page MenuHomePhabricator
Diviner Phabricator Tech Docs PhabricatorObjectMailReceiver

abstract class PhabricatorObjectMailReceiver
Phabricator Technical Documentation (MetaMTA)

This class is not documented.

Methods

final public function setViewer($viewer)
Inherited

This method is not documented.
Parameters
PhabricatorUser$viewer
Return
wild

final public function getViewer()
Inherited

This method is not documented.
Return
wild

final public function setSender($sender)
Inherited

This method is not documented.
Parameters
PhabricatorUser$sender
Return
wild

final public function getSender()
Inherited

This method is not documented.
Return
wild

abstract public function isEnabled()
Inherited

This method is not documented.
Return
wild

final public function canAcceptMail($mail, $target)

This method is not documented.
Parameters
PhabricatorMetaMTAReceivedMail$mail
PhutilEmailAddress$target
Return
wild

final protected function processReceivedMail($mail, $target)

This method is not documented.
Parameters
PhabricatorMetaMTAReceivedMail$mail
PhutilEmailAddress$target
Return
wild

final public function receiveMail($mail, $target)
Inherited

This method is not documented.
Parameters
PhabricatorMetaMTAReceivedMail$mail
PhutilEmailAddress$target
Return
wild

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
stringRegular expression fragment.

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$patternA string matched by @{method:getObjectPattern} fragment.
PhabricatorUser$viewerThe viewing user.
Return
void

protected function processReceivedObjectMail($mail, $object, $sender)

This method is not documented.
Parameters
PhabricatorMetaMTAReceivedMail$mail
PhabricatorLiskDAO$object
PhabricatorUser$sender
Return
wild

protected function getTransactionReplyHandler()

This method is not documented.
Return
wild

public function loadMailReceiverObject($pattern, $viewer)

This method is not documented.
Parameters
$pattern
PhabricatorUser$viewer
Return
wild

private function matchObjectAddress($address)

This method is not documented.
Parameters
PhutilEmailAddress$address
Return
wild

private function getAddressRegexp()

This method is not documented.
Return
wild

public static function computeMailHash($mail_key, $phid)

This method is not documented.
Parameters
$mail_key
$phid
Return
wild