Page MenuHomePhabricator

final class PasteMailReceiver
Phabricator Technical Documentation (Paste)

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

public function isEnabled()

This method is not documented.
Return
wild

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

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

final protected function processReceivedMail($mail, $target)
Inherited

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

protected function getObjectPattern()

PhabricatorObjectMailReceiver

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.

PasteMailReceiver
This method is not documented.
Return
stringRegular expression fragment.

protected function loadObject($pattern, $viewer)

PhabricatorObjectMailReceiver

Load the object receiving mail, based on an identifying pattern. Normally this pattern is some sort of object ID.

PasteMailReceiver
This method is not documented.
Parameters
string$patternA string matched by @{method:getObjectPattern} fragment.
PhabricatorUser$viewerThe viewing user.
Return
void

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

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)
Inherited

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

private function matchObjectAddress($address)
Inherited

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

private function getAddressRegexp()
Inherited

This method is not documented.
Return
wild

public static function computeMailHash($mail_key, $phid)
Inherited

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