Extension:EmailLogger
Jump to navigation
Jump to search
EmailLogger Release status: stable |
|
---|---|
Implementation | Data extraction |
Description | Enables send activity audit capabilities. |
Author(s) | Jeffrey Wang for MyWikis LLC |
Maintainer(s) | MyWikis LLC |
Latest version | 1.0 |
MediaWiki | 1.31+ |
Database changes | No |
License | GNU General Public License 2.0 only |
Download | GitHub: Note: |
Example | MyWikis Testing |
|
|
The EmailLogger extension logs all outgoing emails being sent from a wiki to a CSV file on your filesystem. This is used in cases where SMTP logs are not accessible (i.e. like in AWS SES) but need to be used to audit email sending activity and potentially identify suspicious spam activity on a wiki.
Installation[edit]
- https://github.com/mywikis/EmailLogger/archive/main.tar.gz and place the file(s) in a directory called
EmailLogger
in yourextensions/
folder. - Add the following code at the bottom of your LocalSettings.php:
wfLoadExtension( 'EmailLogger' );
Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.
Configuration parameters[edit]
- $wgEmailLoggerLogFilePath
- The path on your filesystem to log email sends to.
- $wgEmailLoggerFailSilently
- Whether the email should send or not if the email can't be logged. If true, email sends. If false, email does not send.