App::MonM::Channel::File - MonM file channel
Version 1.00
<Channel MyFile> Type File Enable on # Real To Email address To testuser@localhost # Schedule #At Sun-Sat[00:00-23:59] # MIME options #Encoding 8bit # 8bit, quoted-printable, 7bit, base64 #ContentType text/plain #Charset utf-8 # Output File Options #Dir /path/to/my/messages #File [DATETIME]-[ID].[EXT] </Channel>
This module provides a method that writes the content of the message to an external file
For internal use only!
The basic Channel configuration options (directives) detailed describes in "CONFIGURATION DIRECTIVES" in App::MonM::Channel
Dir /tmp
Defines path to save the message files
Default: your temp directory
File [DATETIME]-[ID].[EXT]
Defines special mask of the message's filename
Default: "[DATETIME]-[ID].[EXT]"
Available variables:
[ID] -- Internal ID of the message [TO] -- The real "to" field of message [RCPT], [RECIPIENT] -- Recipient (name, account, id, number and etc.) [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)
Sender address (Email)
Recipient address (Email) or name
Type File
Required directive!
Defines type of channel. MUST BE set to "File" value
About common directives see "CONFIGURATION DIRECTIVES" in App::MonM::Channel
See Changes file
Changes
Compress::Raw::Zlib
See TODO file
TODO
Serż Minus (Sergey Lepenkov) https://www.serzik.com <abalama@cpan.org>
Copyright (C) 1998-2022 D&D Corporation. All Rights Reserved
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/
LICENSE
To install App::MonM, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::MonM
CPAN shell
perl -MCPAN -e shell install App::MonM
For more information on module installation, please visit the detailed CPAN module installation guide.