Page MenuHomePhabricator

PatchDemo unknown error in PHP's mail() function on Special:ConfirmEmail
Open, MediumPublic2 Estimated Story PointsBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

Create a new patchdemo env with Use (Catalyst) Kubernetes backend (beta) checked
Register a new user with an email address
Special:ConfirmEmail to confirm email address

What happens?:

VanillaWiki could not send your confirmation mail. Please check your email address for invalid characters.

Mailer returned: Unknown error in PHP's mail() function.

What should have happened instead?:
Email should be sent to confim user's email address

Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia):
MediaWiki 1.44.0-alpha

Other information (browser name/version, screenshots, etc.):

gifscreenshot
Screen Recording 2025-04-17 at 2.40.43 PM.gif (2,280×1,834 px, 243 KB)
Screenshot 2025-04-17 at 2.44.21 PM.png (1,808×1,042 px, 232 KB)

Event Timeline

vaughnwalters renamed this task from PatchDemo to PatchDemo unknown error in PHP's mail() function on Special:ConfirmEmail.Apr 17 2025, 7:45 PM
thcipriani subscribed.

Adding to our current sprint for investigation. Prioritization will have to follow after initial digging.

thcipriani set the point value for this task to 2.
thcipriani moved this task from Backlog to Ready on the Catalyst (kokosila) board.
thcipriani added a subscriber: • SDunlap.

Assigning @SDunlap to do the initial investigation, may require re-pointing based on their findings

thcipriani triaged this task as Medium priority.Apr 28 2025, 4:24 PM
thcipriani edited projects, added: Catalyst; removed: Catalyst (soko wawa).
vaughnwalters edited projects, added: Catalyst; removed: Catalyst (PatchDemo).
vaughnwalters updated the task description. (Show Details)

Looks like this could be https://www.mediawiki.org/wiki/Manual:$wgSMTP#Error_sending_mail:_Unknown_error_in_PHP's_mail()_function_MediaWiki (in a nutshell: make sure $wgEmergencyContact and $wgPasswordSender are configured correctly in LocalSettings.php)