Page MenuHomePhabricator

MediaWiki-EmailComponent
ActivePublic

Members (5)

Watchers (3)

Details

Description

Issues relating to the email-related features, such as "enotif" watchlist notifications, Special:ConfirmEmail, Special:EmailUser, etc.

This project is part of the core MediaWiki software itself.

For issues pertaining to Wikimedia's email/SMTP infrastructure see Mail instead.

This tag is distinct from MediaWiki-Core-Notifications, which covers issues in the new notifications system being developed in 2025.

Recent Activity

Thu, May 21

jhathaway created T427002: Email recipient rate limiting for Postfix.
Thu, May 21, 8:08 PM · Mail, Infrastructure-Foundations
jhathaway created T427001: Email recipient rate limiting for MediaWiki.
Thu, May 21, 8:07 PM · MediaWiki-Email, Infrastructure-Foundations
jhathaway created T427000: Email recipient rate limiting.
Thu, May 21, 8:06 PM · MediaWiki-Email, Infrastructure-Foundations

Tue, May 19

JTweed-WMF moved T355450: mediawiki support for one-click unsubscribe from Inbox, needs triage to Not planned / Patches welcome on the MediaWiki-Platform-Team board.
Tue, May 19, 2:58 PM · MediaWiki-Platform-Team, User-ArielGlenn, Growth-Team, Notifications (Echo), MediaWiki-Email

Thu, May 7

kruusamagi added a comment to T383047: Could not send confirmation email: Unknown error in PHP's mail() function..

On April 29th, I also encountered the same "Sendmail exited with non-zero exit code 74" on the Estonian Wikipedia. The user to whom I sent the mail mentioned today that he got the letter, but not the notification on Wikipedia.

Thu, May 7, 8:18 PM · Patch-For-Review, Product Safety and Integrity, MediaWiki-extensions-EmailAuth, MediaWiki-Email, MW-1.44-notes (1.44.0-wmf.13; 2025-01-21), Mail, Infrastructure-Foundations, MediaWiki-Platform-Team, MediaWiki-User-login-and-signup, Wikimedia-production-error

Mon, May 4

Elitre82 added a comment to T383047: Could not send confirmation email: Unknown error in PHP's mail() function..

Hi all, I just experienced this error as well as a few community members have reached out that they did not receive an email from me during the Community Insights distribution yesterday (however, they did receive an echo ping to check their email). When I tried to send a message directly via EmailUser on the project to one of those community members just now to troubleshoot, I got the Sendmail exited with non-zero exit code 74 message. I'm unsure of the scale of the unsent emails as I didn't get a failure for these with the EmailUser API script I was using, but it should be visible in yesterday's log (if such a log exists, I presume it does per @Krinkle's last message but I seem to not have access).

Mon, May 4, 9:12 AM · Patch-For-Review, Product Safety and Integrity, MediaWiki-extensions-EmailAuth, MediaWiki-Email, MW-1.44-notes (1.44.0-wmf.13; 2025-01-21), Mail, Infrastructure-Foundations, MediaWiki-Platform-Team, MediaWiki-User-login-and-signup, Wikimedia-production-error

Apr 28 2026

A_smart_kitten moved T355450: mediawiki support for one-click unsubscribe from Within 2 Qs to Inbox, needs triage on the MediaWiki-Platform-Team board.
Apr 28 2026, 8:20 PM · MediaWiki-Platform-Team, User-ArielGlenn, Growth-Team, Notifications (Echo), MediaWiki-Email

Apr 23 2026

Reedy renamed T69145: editmyprivateinfo blocks confirming email from editmyprivateinfo blocks confiirming email to editmyprivateinfo blocks confirming email.
Apr 23 2026, 8:13 PM · MediaWiki-Email
Maintenance_bot edited projects for T396155: [Epic] Improve verification email (WE1.1.22 FY2025-26), added: User-notice-archive; removed User-notice.
Apr 23 2026, 3:32 PM · User-notice-archive, OKR-Work (WE1 FY2025-26), Growth-Team, Epic, MW-1.46-notes (1.46.0-wmf.4; 2025-11-25), MediaWiki-Email, GrowthExperiments

Apr 20 2026

gerritbot added a comment to T383047: Could not send confirmation email: Unknown error in PHP's mail() function..

Change #1275407 had a related patch set uploaded (by Kosta Harlan; author: Kosta Harlan):

[mediawiki/core@master] Mail: Retry transient mail() failures in UserMailer

https://gerrit.wikimedia.org/r/1275407

Apr 20 2026, 1:25 PM · Patch-For-Review, Product Safety and Integrity, MediaWiki-extensions-EmailAuth, MediaWiki-Email, MW-1.44-notes (1.44.0-wmf.13; 2025-01-21), Mail, Infrastructure-Foundations, MediaWiki-Platform-Team, MediaWiki-User-login-and-signup, Wikimedia-production-error
gerritbot added a project to T383047: Could not send confirmation email: Unknown error in PHP's mail() function.: Patch-For-Review.
Apr 20 2026, 1:25 PM · Patch-For-Review, Product Safety and Integrity, MediaWiki-extensions-EmailAuth, MediaWiki-Email, MW-1.44-notes (1.44.0-wmf.13; 2025-01-21), Mail, Infrastructure-Foundations, MediaWiki-Platform-Team, MediaWiki-User-login-and-signup, Wikimedia-production-error
gerritbot added a comment to T383047: Could not send confirmation email: Unknown error in PHP's mail() function..

Change #1275406 had a related patch set uploaded (by Kosta Harlan; author: Kosta Harlan):

[mediawiki/core@master] Mail: Extract sendWithMailFunction() from UserMailer::send()

https://gerrit.wikimedia.org/r/1275406

Apr 20 2026, 1:25 PM · Patch-For-Review, Product Safety and Integrity, MediaWiki-extensions-EmailAuth, MediaWiki-Email, MW-1.44-notes (1.44.0-wmf.13; 2025-01-21), Mail, Infrastructure-Foundations, MediaWiki-Platform-Team, MediaWiki-User-login-and-signup, Wikimedia-production-error
kostajh added a comment to T383047: Could not send confirmation email: Unknown error in PHP's mail() function..

This is still happening, ~3.3k per in last 4 weeks:

image.png (550×2 px, 159 KB)

Apr 20 2026, 1:24 PM · Patch-For-Review, Product Safety and Integrity, MediaWiki-extensions-EmailAuth, MediaWiki-Email, MW-1.44-notes (1.44.0-wmf.13; 2025-01-21), Mail, Infrastructure-Foundations, MediaWiki-Platform-Team, MediaWiki-User-login-and-signup, Wikimedia-production-error

Apr 17 2026

TAndic added a comment to T383047: Could not send confirmation email: Unknown error in PHP's mail() function..

Hi all, I just experienced this error as well as a few community members have reached out that they did not receive an email from me during the Community Insights distribution yesterday (however, they did receive an echo ping to check their email). When I tried to send a message directly via EmailUser on the project to one of those community members just now to troubleshoot, I got the Sendmail exited with non-zero exit code 74 message. I'm unsure of the scale of the unsent emails as I didn't get a failure for these with the EmailUser API script I was using, but it should be visible in yesterday's log (if such a log exists, I presume it does per @Krinkle's last message but I seem to not have access).

Apr 17 2026, 6:59 PM · Patch-For-Review, Product Safety and Integrity, MediaWiki-extensions-EmailAuth, MediaWiki-Email, MW-1.44-notes (1.44.0-wmf.13; 2025-01-21), Mail, Infrastructure-Foundations, MediaWiki-Platform-Team, MediaWiki-User-login-and-signup, Wikimedia-production-error

Apr 16 2026

Pppery closed T418319: [[MediaWiki:Mailnologin/en]] clarity issue as Resolved.
Apr 16 2026, 9:23 PM · MW-1.46-notes (1.46.0-wmf.26; 2026-04-28), MediaWiki-Email, I18n
ReleaseTaggerBot added a project to T418319: [[MediaWiki:Mailnologin/en]] clarity issue: MW-1.46-notes (1.46.0-wmf.26; 2026-04-28).
Apr 16 2026, 9:01 PM · MW-1.46-notes (1.46.0-wmf.26; 2026-04-28), MediaWiki-Email, I18n
Maintenance_bot removed a project from T418319: [[MediaWiki:Mailnologin/en]] clarity issue: Patch-For-Review.
Apr 16 2026, 8:31 PM · MW-1.46-notes (1.46.0-wmf.26; 2026-04-28), MediaWiki-Email, I18n
gerritbot added a comment to T418319: [[MediaWiki:Mailnologin/en]] clarity issue.

Change #1271918 merged by jenkins-bot:

[mediawiki/core@master] Reword mailnologin

https://gerrit.wikimedia.org/r/1271918

Apr 16 2026, 8:22 PM · MW-1.46-notes (1.46.0-wmf.26; 2026-04-28), MediaWiki-Email, I18n

Apr 15 2026

gerritbot added a project to T418319: [[MediaWiki:Mailnologin/en]] clarity issue: Patch-For-Review.
Apr 15 2026, 9:02 PM · MW-1.46-notes (1.46.0-wmf.26; 2026-04-28), MediaWiki-Email, I18n
gerritbot added a comment to T418319: [[MediaWiki:Mailnologin/en]] clarity issue.

Change #1271918 had a related patch set uploaded (by Pppery; author: Pppery):

[mediawiki/core@master] Reword mailnologin

https://gerrit.wikimedia.org/r/1271918

Apr 15 2026, 9:02 PM · MW-1.46-notes (1.46.0-wmf.26; 2026-04-28), MediaWiki-Email, I18n
Pppery claimed T418319: [[MediaWiki:Mailnologin/en]] clarity issue.
Apr 15 2026, 6:28 PM · MW-1.46-notes (1.46.0-wmf.26; 2026-04-28), MediaWiki-Email, I18n

Apr 14 2026

thiemowmde closed T279846: Enotif emails include a link to email the user even if $wgEnableEmail or $wgEnableUserEmail are false as Declined.

While I understand the confusion I believe this was a deliberate design decision. The problem is that the email is generated once, but the link is possibly clicked much, much later. The user can change their preferences any time. Who knows if they accept emails right now? The receiver of the email can only learn this when they visit the email page.

Apr 14 2026, 12:53 PM · Patch-Needs-Improvement, MediaWiki-Email
gerritbot added a comment to T279846: Enotif emails include a link to email the user even if $wgEnableEmail or $wgEnableUserEmail are false.

Change #678382 abandoned by Thiemo Kreuz (WMDE):

[mediawiki/core@master] mail: Remove user email link if email is disabled

Reason:

5 years old. The code also moved to a very different place. Can still be found via the ticket if needed.

https://gerrit.wikimedia.org/r/678382

Apr 14 2026, 12:50 PM · Patch-Needs-Improvement, MediaWiki-Email

Apr 13 2026

Etonkovidova closed T411147: Remove emailability code from GrowthExperiments, a subtask of T396155: [Epic] Improve verification email (WE1.1.22 FY2025-26), as Resolved.
Apr 13 2026, 3:00 PM · User-notice-archive, OKR-Work (WE1 FY2025-26), Growth-Team, Epic, MW-1.46-notes (1.46.0-wmf.4; 2025-11-25), MediaWiki-Email, GrowthExperiments

Apr 7 2026

KStoller-WMF closed T396155: [Epic] Improve verification email (WE1.1.22 FY2025-26) as Resolved.

Marking this Epic as resolved! 🎉 All subtasks are resolved, declined, or in final QA.

Apr 7 2026, 2:58 PM · User-notice-archive, OKR-Work (WE1 FY2025-26), Growth-Team, Epic, MW-1.46-notes (1.46.0-wmf.4; 2025-11-25), MediaWiki-Email, GrowthExperiments
KStoller-WMF closed T413130: Improve verification email - copy changes to consider prior to full release, a subtask of T396155: [Epic] Improve verification email (WE1.1.22 FY2025-26), as Declined.
Apr 7 2026, 2:55 PM · User-notice-archive, OKR-Work (WE1 FY2025-26), Growth-Team, Epic, MW-1.46-notes (1.46.0-wmf.4; 2025-11-25), MediaWiki-Email, GrowthExperiments
KStoller-WMF closed T413130: Improve verification email - copy changes to consider prior to full release as Declined.
Apr 7 2026, 2:55 PM · Growth-Team, MediaWiki-Email, GrowthExperiments

Apr 2 2026

Michael updated the task description for T396155: [Epic] Improve verification email (WE1.1.22 FY2025-26).
Apr 2 2026, 1:39 PM · User-notice-archive, OKR-Work (WE1 FY2025-26), Growth-Team, Epic, MW-1.46-notes (1.46.0-wmf.4; 2025-11-25), MediaWiki-Email, GrowthExperiments

Mar 31 2026

Pppery edited projects for T247393: Replace static calls related to UserMail with calling respective methods of EmailSender service, added: Patch-Needs-Improvement; removed Patch-For-Review.
Mar 31 2026, 2:38 AM · Patch-Needs-Improvement, MW-1.42-notes (1.42.0-wmf.4; 2023-11-07), MediaWiki-Email, MW-1.35-notes (1.35.0-wmf.36; 2020-06-09), Dependency injection, Platform Team Workboards (S&F Workboard), Core Platform Team Initiatives (Decoupling (CDP2))
Pppery edited projects for T178337: Prevent Email Blacklist from saving an empty row in the database, added: Patch-Needs-Improvement; removed Patch-For-Review.
Mar 31 2026, 2:29 AM · Patch-Needs-Improvement, Anti-Harassment-Team, MediaWiki-Email
Pppery edited projects for T205703: Special:ConfirmEmail should give username when logged in as other user, added: Patch-Needs-Improvement; removed Patch-For-Review.
Mar 31 2026, 1:25 AM · Patch-Needs-Improvement, MediaWiki-Email
Pppery edited projects for T279846: Enotif emails include a link to email the user even if $wgEnableEmail or $wgEnableUserEmail are false, added: Patch-Needs-Improvement; removed Patch-For-Review.
Mar 31 2026, 12:52 AM · Patch-Needs-Improvement, MediaWiki-Email
Pppery edited projects for T265541: Make class SpecialEmailUser a real special page and move all helper functions to their own service, added: Patch-Needs-Improvement; removed Patch-For-Review.
Mar 31 2026, 12:26 AM · Patch-Needs-Improvement, MW-1.41-notes (1.41.0-wmf.29; 2023-10-03), MW-1.40-notes (1.40.0-wmf.27; 2023-03-13), MW-1.36-notes (1.36.0-wmf.38; 2021-04-06), Platform Team Workboards (External Code Reviews), User-DannyS712, Dependency injection, MediaWiki-Email

Mar 30 2026

gerritbot added a comment to T265541: Make class SpecialEmailUser a real special page and move all helper functions to their own service.

Change #676595 restored by Thcipriani:

[mediawiki/core@master] Introduce a lookup for UserEmailContact

https://gerrit.wikimedia.org/r/676595

Mar 30 2026, 11:44 PM · Patch-Needs-Improvement, MW-1.41-notes (1.41.0-wmf.29; 2023-10-03), MW-1.40-notes (1.40.0-wmf.27; 2023-03-13), MW-1.36-notes (1.36.0-wmf.38; 2021-04-06), Platform Team Workboards (External Code Reviews), User-DannyS712, Dependency injection, MediaWiki-Email
gerritbot added a project to T279846: Enotif emails include a link to email the user even if $wgEnableEmail or $wgEnableUserEmail are false: Patch-For-Review.
Mar 30 2026, 11:39 PM · Patch-Needs-Improvement, MediaWiki-Email
gerritbot added a comment to T279846: Enotif emails include a link to email the user even if $wgEnableEmail or $wgEnableUserEmail are false.

Change #678382 restored by Thcipriani:

[mediawiki/core@master] mail: Remove user email link if email is disabled

https://gerrit.wikimedia.org/r/678382

Mar 30 2026, 11:38 PM · Patch-Needs-Improvement, MediaWiki-Email
gerritbot added a project to T205703: Special:ConfirmEmail should give username when logged in as other user: Patch-For-Review.
Mar 30 2026, 11:26 PM · Patch-Needs-Improvement, MediaWiki-Email
gerritbot added a comment to T205703: Special:ConfirmEmail should give username when logged in as other user.

Change #563160 restored by Thcipriani:

[mediawiki/core@master] Special:ConfirmEmail should give username when logged in as other user

https://gerrit.wikimedia.org/r/563160

Mar 30 2026, 11:26 PM · Patch-Needs-Improvement, MediaWiki-Email
gerritbot added a project to T178337: Prevent Email Blacklist from saving an empty row in the database: Patch-For-Review.
Mar 30 2026, 11:05 PM · Patch-Needs-Improvement, Anti-Harassment-Team, MediaWiki-Email
gerritbot added a comment to T178337: Prevent Email Blacklist from saving an empty row in the database.

Change #384610 restored by Thcipriani:

[mediawiki/core@master] Prevent an empty database record for email-blacklist

https://gerrit.wikimedia.org/r/384610

Mar 30 2026, 11:05 PM · Patch-Needs-Improvement, Anti-Harassment-Team, MediaWiki-Email
gerritbot added a project to T247393: Replace static calls related to UserMail with calling respective methods of EmailSender service: Patch-For-Review.
Mar 30 2026, 11:02 PM · Patch-Needs-Improvement, MW-1.42-notes (1.42.0-wmf.4; 2023-11-07), MediaWiki-Email, MW-1.35-notes (1.35.0-wmf.36; 2020-06-09), Dependency injection, Platform Team Workboards (S&F Workboard), Core Platform Team Initiatives (Decoupling (CDP2))
gerritbot added a comment to T247393: Replace static calls related to UserMail with calling respective methods of EmailSender service.

Change #597404 restored by Thcipriani:

[mediawiki/core@master] Implement EmailNotification as service

https://gerrit.wikimedia.org/r/597404

Mar 30 2026, 11:02 PM · Patch-Needs-Improvement, MW-1.42-notes (1.42.0-wmf.4; 2023-11-07), MediaWiki-Email, MW-1.35-notes (1.35.0-wmf.36; 2020-06-09), Dependency injection, Platform Team Workboards (S&F Workboard), Core Platform Team Initiatives (Decoupling (CDP2))
Maintenance_bot removed a project from T178337: Prevent Email Blacklist from saving an empty row in the database: Patch-For-Review.
Mar 30 2026, 1:42 PM · Patch-Needs-Improvement, Anti-Harassment-Team, MediaWiki-Email
gerritbot added a comment to T205703: Special:ConfirmEmail should give username when logged in as other user.

Change #563160 abandoned by Hashar:

[mediawiki/core@master] Special:ConfirmEmail should give username when logged in as other user

https://gerrit.wikimedia.org/r/563160

Mar 30 2026, 1:27 PM · Patch-Needs-Improvement, MediaWiki-Email
gerritbot added a comment to T178337: Prevent Email Blacklist from saving an empty row in the database.

Change #384610 abandoned by Hashar:

[mediawiki/core@master] Prevent an empty database record for email-blacklist

https://gerrit.wikimedia.org/r/384610

Mar 30 2026, 1:19 PM · Patch-Needs-Improvement, Anti-Harassment-Team, MediaWiki-Email
gerritbot added a comment to T279846: Enotif emails include a link to email the user even if $wgEnableEmail or $wgEnableUserEmail are false.

Change #678382 abandoned by Hashar:

[mediawiki/core@master] mail: Remove user email link if email is disabled

https://gerrit.wikimedia.org/r/678382

Mar 30 2026, 1:16 PM · Patch-Needs-Improvement, MediaWiki-Email
gerritbot added a comment to T247393: Replace static calls related to UserMail with calling respective methods of EmailSender service.

Change #597404 abandoned by Hashar:

[mediawiki/core@master] Implement EmailNotification as service

https://gerrit.wikimedia.org/r/597404

Mar 30 2026, 1:10 PM · Patch-Needs-Improvement, MW-1.42-notes (1.42.0-wmf.4; 2023-11-07), MediaWiki-Email, MW-1.35-notes (1.35.0-wmf.36; 2020-06-09), Dependency injection, Platform Team Workboards (S&F Workboard), Core Platform Team Initiatives (Decoupling (CDP2))
gerritbot added a comment to T265541: Make class SpecialEmailUser a real special page and move all helper functions to their own service.

Change #676595 abandoned by Hashar:

[mediawiki/core@master] Introduce a lookup for UserEmailContact

https://gerrit.wikimedia.org/r/676595

Mar 30 2026, 12:57 PM · Patch-Needs-Improvement, MW-1.41-notes (1.41.0-wmf.29; 2023-10-03), MW-1.40-notes (1.40.0-wmf.27; 2023-03-13), MW-1.36-notes (1.36.0-wmf.38; 2021-04-06), Platform Team Workboards (External Code Reviews), User-DannyS712, Dependency injection, MediaWiki-Email

Mar 25 2026

Maintenance_bot edited projects for T416748: Release improved verification email to all wikis (WE1.1.22 FY2025-26), added: User-notice-archive; removed User-notice.
Mar 25 2026, 11:31 AM · User-notice-archive, User-Michael, Growth-Team (FY2025-26 Q3 Sprint 4), OKR-Work (WE1 FY2025-26), MediaWiki-Email, GrowthExperiments

Mar 20 2026

Maintenance_bot edited projects for T410807: Improve other verification related emails: add email, change email, remove email, added: User-notice-archive; removed User-notice.
Mar 20 2026, 3:31 PM · User-notice-archive, OKR-Work, MW-1.46-notes (1.46.0-wmf.18; 2026-03-03), Growth-Team (FY2025-26 Q3 Sprint 4), MediaWiki-Email, GrowthExperiments