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 |
public function isEnabled()
public function isEnabled()
Return
wild |
final public function canAcceptMail($mail, $target)Inherited
final public function canAcceptMail($mail, $target)
Inherited
Parameters
PhabricatorMetaMTAReceivedMail | ||
PhutilEmailAddress | $target |
Return
wild |
final protected function processReceivedMail($mail, $target)Inherited
final protected function processReceivedMail($mail, $target)
Inherited
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 |
protected function getObjectPattern()
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.
PhabricatorSlowvoteMailReceiver
Return
string | Regular expression fragment. |
protected function loadObject($pattern, $viewer)
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.
PhabricatorSlowvoteMailReceiver
Parameters
string | $pattern | A string matched by @{method:getObjectPattern} fragment. |
PhabricatorUser | $viewer | The viewing user. |
Return
void |
protected function processReceivedObjectMail($mail, $object, $sender)Inherited
protected function processReceivedObjectMail($mail, $object, $sender)
Inherited
Parameters
PhabricatorMetaMTAReceivedMail | ||
PhabricatorLiskDAO | $object | |
PhabricatorUser | $sender |
Return
wild |
protected function getTransactionReplyHandler()
protected function getTransactionReplyHandler()
Return
wild |
public function loadMailReceiverObject($pattern, $viewer)Inherited
public function loadMailReceiverObject($pattern, $viewer)
Inherited
Parameters
$pattern | ||
PhabricatorUser | $viewer |
Return
wild |
private function matchObjectAddress($address)Inherited
private function matchObjectAddress($address)
Inherited
Parameters
PhutilEmailAddress | $address |
Return
wild |
private function getAddressRegexp()Inherited
private function getAddressRegexp()
Inherited
Return
wild |
public static function computeMailHash($mail_key, $phid)Inherited
public static function computeMailHash($mail_key, $phid)
Inherited
Parameters
$mail_key | ||
$phid |
Return
wild |