NAME
App::MonM::Notifier::Channel::File - monotifier file channel
VERSION
Version 1.02
SYNOPSIS
<Channel MyFile>
Type File
# Real To and From
To testuser
From root
# File options
#Encoding base64
#Dir /path/to/messages/dir
#File [TO]_[DATETIME]_[ID].[EXT]
<Headers>
X-Foo foo
X-Bar bar
</Headers>
</Channel>
DESCRIPTION
This module provides a method that writes the content of the message to an external file
DIRECTIVES
- Directory, Dir
-
Defines path to save the message files
Default: your temp directory
- Filemask, File
-
Defines special mask of the message's filename
Default: "[TO]_[DATETIME]_[ID].[EXT]"
Available variables:
- ID -- Internal ID of the message - TO -- The real "to" field - EXT -- file extension (default: msg) - TIME -- Current time (in unix time format) - DATETIME -- date and time in short-format (YYYMMDDHHMMSS) - DATE -- Date in short-format (YYYMMDD)
- From
-
Sender address or name
- To
-
Recipient address or name
- Type
-
Defines type of channel. MUST BE set to "File" value
About other options (base) see "DIRECTIVES" in App::MonM::Notifier::Channel
METHODS
- process
-
For internal use only!
HISTORY
See Changes
file
DEPENDENCIES
TO DO
See TODO
file
SEE ALSO
App::MonM::Notifier, App::MonM::Notifier::Channel, Compress::Raw::Zlib
AUTHOR
Serż Minus (Sergey Lepenkov) http://www.serzik.com <abalama@cpan.org>
COPYRIGHT
Copyright (C) 1998-2019 D&D Corporation. All Rights Reserved
LICENSE
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
See LICENSE
file and https://dev.perl.org/licenses/