public function setApplicationEmail($email)Inherited
| PhabricatorMetaMTAApplicationEmail |
| wild |
public function getApplicationEmail()Inherited
| wild |
public function isEnabled()
| wild |
public function canAcceptMail($mail)
| PhabricatorMetaMTAReceivedMail |
| wild |
final protected function canAcceptApplicationMail($app, $mail)Inherited
| PhabricatorApplication | $app | |
| PhabricatorMetaMTAReceivedMail |
| wild |
protected function processReceivedMail($mail, $sender)
| PhabricatorMetaMTAReceivedMail | ||
| PhabricatorUser | $sender |
| wild |
final public function receiveMail($mail, $sender)Inherited
| PhabricatorMetaMTAReceivedMail | ||
| PhabricatorUser | $sender |
| wild |
public function getViewer()Inherited
| wild |
public function validateSender($mail, $sender)Inherited
| PhabricatorMetaMTAReceivedMail | ||
| PhabricatorUser | $sender |
| wild |
public function loadSender($mail)Inherited
Identifies the sender's user account for a piece of received mail. Note that this method does not validate that the sender is who they say they are, just that they've presented some credential which corresponds to a recognizable user.
| PhabricatorMetaMTAReceivedMail |
| wild |
public static function matchAddresses($u, $v)Inherited
Determine if two inbound email addresses are effectively identical. This method strips and normalizes addresses so that equivalent variations are correctly detected as identical. For example, these addresses are all considered to match one another:
"Abraham Lincoln" <alincoln@example.com> alincoln@example.com <ALincoln@example.com> "Abraham" <phabricator+ALINCOLN@EXAMPLE.COM> # With configured prefix.
| string | $u | Email address. |
| string | $v | Another email address. |
| bool | True if addresses match. |
public static function stripMailboxPrefix($address)Inherited
Strip a global mailbox prefix from an address if it is present. Phabricator can be configured to prepend a prefix to all reply addresses, which can make forwarding rules easier to write. A prefix looks like:
example@phabricator.example.com # No Prefix phabricator+example@phabricator.example.com # Prefix "phabricator"
| string | $address | Email address, possibly with a mailbox prefix. |
| string | Email address with any prefix stripped. |
public static function getRawAddress($address)Inherited
Reduce an email address to its canonical form. For example, an address like:
"Abraham Lincoln" < ALincoln@example.com >
...will be reduced to:
alincoln@example.com
| string | $address | Email address in noncanonical form. |
| string | Canonical email address. |