NAME
App::MonM::Channel::Email - MonM email channel
VERSION
Version 1.00
SYNOPSIS
<Channel MyEmail>
    Type    Email
    Enable  on
    # Real Email addresses
    To      to@example.com
    #Cc     cc@example.com
    #Bcc    bcc@example.com
    From    from@example.com
    # Schedule
    #At Sun-Sat[00:00-23:59]
    # MIME options
    #Encoding 8bit
    #    8bit, quoted-printable, 7bit, base64
    #ContentType text/plain
    #Charset utf-8
    # SMTP extra headers
    #<Headers>
    #    X-Foo foo
    #    X-Bar bar
    #</Headers>
    # Attachments
    #<Attachment>
    #    Filename    screenshot.png
    #    Type        image/png
    #    Encoding    base64
    #    Disposition attachment
    #    Path        ./screenshot.png
    #</Attachment>
    #<Attachment>
    #    Filename    payment.pdf
    #    Type        application/pdf
    #    Encoding    base64
    #    Disposition attachment
    #    Path        ./payment.pdf
    #</Attachment>
    # SMTP options
    # If there are requirements to the case sensitive of parameter
    # names, use the "Set" directives
    # By default will use <Channel SendMail> section of general config file
    Set host 192.168.0.1
    Set port 25
    #Set sasl_username TestUser
    #Set sasl_password MyPassword
    Set timeout 20
</Channel>
DESCRIPTION
This module provides email method
- sendmsg
 - 
For internal use only!
 
CONFIGURATION DIRECTIVES
The basic Channel configuration options (directives) detailed describes in "CONFIGURATION DIRECTIVES" in App::MonM::Channel
- From
 - 
Sender address (email)
 - Set
 - 
Sets SMTP options:
Set host SMTPHOSTSMTP option "host". Contains hostname or IP of remote SMTP server
Default: localhost
Set port PORTSMTP option "port". Contains port to connect to
Defaults to 25 for non-SSL, 465 for 'ssl', 587 for 'starttls'
Set timeout TIMEOUTMaximum time in secs to wait for server
Default: 120
Set helo HELOSTRINGSMTP attribute. What to say when saying HELO. Optional
No default
Set sasl_username USERNAMEThis is sasl_username SMTP attribute. Optional
Contains the username to use for auth
Set sasl_password PASSWORDThis is sasl_password SMTP attribute. Optional
Set ssl 1This is ssl SMTP attribute: if 'starttls', use STARTTLS; if 'ssl' (or 1), connect securely; otherwise, no security.
Default: undef
 - To, Cc, Bcc
 - 
Recipient address (Email addresses)
 - Type
 - 
Type EmailRequired directive!
Defines type of channel. MUST BE set to "Email" value
 
About common directives see "CONFIGURATION DIRECTIVES" in App::MonM::Channel
HISTORY
See Changes file
DEPENDENCIES
Email::MIME, Email::Sender, Net::SMTP
TO DO
See TODO file
SEE ALSO
Email::MIME, Email::Sender, Net::SMTP
AUTHOR
Serż Minus (Sergey Lepenkov) https://www.serzik.com <abalama@cpan.org>
COPYRIGHT
Copyright (C) 1998-2022 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/