Function emailAdmins
Send all the administrators a lovely email. - loads all users who are admins or have the admin forum permission. - uses the email template and replacements passed in the parameters. - sends them an email.
Package: SMF
Copyright: 2020 Simple Machines and individual contributors
License: BSD
Author: Simple Machines https://www.simplemachines.org
Located at Sources/Subs-Admin.php
Copyright: 2020 Simple Machines and individual contributors
License: BSD
Author: Simple Machines https://www.simplemachines.org
Located at Sources/Subs-Admin.php
string |
$template |
Which email template to use |
array |
$replacements = array() |
An array of items to replace the variables in the template |
array |
$additional_recipients = array() |
An array of arrays of info for additional recipients. Should have 'id', 'email' and 'name' for each. |