mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-13 03:27:39 +03:00
Release plugins as tar.gz because PharData is more common then ZipArchive
This commit is contained in:
parent
756bf86640
commit
b9b0a550d6
47 changed files with 214 additions and 159 deletions
|
|
@ -2,6 +2,11 @@
|
|||
|
||||
class AddXOriginatingIpHeaderPlugin extends \RainLoop\Plugins\AbstractPlugin
|
||||
{
|
||||
const
|
||||
NAME = 'X-Originating-IP',
|
||||
VERSION = '2.0',
|
||||
DESCRIPTION = 'Adds X-Originating-IP header to outgoing message, containing sender\'s IP address.';
|
||||
|
||||
public function Init() : void
|
||||
{
|
||||
$this->addHook('filter.build-message', 'FilterBuildMessage');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue