NAME
App::MonM::Notifier::Channel::Email - monotifier email channel
VERSION
Version 1.01
SYNOPSIS
<Channel MyEmail>
Type Email
# Real To and From
To test@example.com
From root@example.com
# Options
#Encoding base64
# Headers
<Headers>
X-Foo foo
X-Bar bar
</Headers>
# SMTP options
# If there are requirements to the register of parameter
# names, use the Set directive, for example:
# By default will use <SendMail> section of general config file
Set host 192.168.0.1
Set port 25
#Set sasl_username TeStUser
#Set sasl_password MyPassword
</Channel>
DESCRIPTION
This module provides email method
DIRECTIVES
- From
-
Sender address or name
- Set
-
Sets SMTP options:
Set host SMTPHOST
SMTP option "host". Contains hostname or IP of remote SMTP server
Default: localhost
Set port PORT
SMTP option "port". Contains port to connect to
Defaults to 25 for non-SSL, 465 for 'ssl', 587 for 'starttls'
Set timeout TIMEOUT
Maximum time in secs to wait for server
Default: 120
Set helo HELOSTRING
SMTP attribute. What to say when saying HELO. Optional
No default
Set sasl_username USERNAME
This is sasl_username SMTP attribute. Optional
Contains the username to use for auth
Set sasl_password PASSWORD
This is sasl_password SMTP attribute. Optional
Set ssl 1
This is ssl SMTP attribute: if 'starttls', use STARTTLS; if 'ssl' (or 1), connect securely; otherwise, no security.
Default: undef
- To
-
Recipient address or name
- Type
-
Defines type of channel. MUST BE set to "Email" value
About other options (base) see "DIRECTIVES" in App::MonM::Notifier::Channel
METHODS
- process
-
For internal use only!
HISTORY
See Changes
file
DEPENDENCIES
Email::MIME, Email::Sender, Net::SMTP
TO DO
See TODO
file
SEE ALSO
App::MonM::Notifier, App::MonM::Notifier::Channel, Email::MIME, Email::Sender, Net::SMTP
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/