Manual:SendBulkEmails.php/en

sendBulkEmails.php is a MediaWiki maintenance script found in WikimediaMaintenance. It can be used to send an email to given list of Users. The maintenance script will send emails using User::sendMail. Bounce tracking will be automatically taken care of by BounceHandler if installed for the wiki.

Features

 * Read message body from a file
 * Read recipients from a file, one per line
 * Only send to accounts with confirmed email addresses
 * Only send to accounts that have not opted out of email contact from other users
 * Optional: check users against an opt-out list maintained on-wiki
 * Optional: set a  address based on a User's account
 * Optional: set a  address based on a User's account
 * Track bounces and unconfirm user emails if needed when BounceHandler is installed