phacility/phabricator · error · Exception
Email addresses should be in the form "user@domain.com". The
Error message
Email addresses should be in the form "user@domain.com". The maximum length of an email address is %s characters.
What it means
Error "Email addresses should be in the form "user@domain.com". The maximum length of an email address is %s characters." thrown in phacility/phabricator.
Source
Thrown at src/applications/people/editor/PhabricatorUserEditor.php:465
->didUpdateEmailAddress($email->getAddress());
}
/* -( Internals )---------------------------------------------------------- */
/**
* @task internal
*/
private function willAddEmail(PhabricatorUserEmail $email) {
// Hard check before write to prevent creation of disallowed email
// addresses. Normally, the application does checks and raises more
// user friendly errors for us, but we omit the courtesy checks on some
// pathways like administrative scripts for simplicity.
if (!PhabricatorUserEmail::isValidAddress($email->getAddress())) {
throw new Exception(PhabricatorUserEmail::describeValidAddresses());
}
if (!PhabricatorUserEmail::isAllowedAddress($email->getAddress())) {
throw new Exception(PhabricatorUserEmail::describeAllowedAddresses());
}
$application_email = id(new PhabricatorMetaMTAApplicationEmailQuery())
->setViewer(PhabricatorUser::getOmnipotentUser())
->withAddresses(array($email->getAddress()))
->executeOne();
if ($application_email) {
throw new Exception($application_email->getInUseMessage());
}
}
public function revokePasswordResetLinks(PhabricatorUser $user) {
// Revoke any outstanding password reset links. If an attacker compromises
// an account, changes the email address, and sends themselves a passwordView on GitHub (pinned to 5720a38cfe)
When it happens
Trigger: Thrown at src/applications/people/editor/PhabricatorUserEditor.php:465 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of phacility/phabricator@5720a38cfe (2026-08-21).
Data as JSON: /api/errors/d4e9ec75b0284072.
Report an issue: GitHub.