log::dispatch::email::mailsend(3pm) [debian man page]
Log::Dispatch::Email::MailSend(3pm) User Contributed Perl Documentation Log::Dispatch::Email::MailSend(3pm)NAME
Log::Dispatch::Email::MailSend - Subclass of Log::Dispatch::Email that uses the Mail::Send module
VERSION
version 2.32
SYNOPSIS
use Log::Dispatch;
my $log = Log::Dispatch->new(
outputs => [
[
'Email::MailSend',
min_level => 'emerg',
to => [qw( foo@example.com bar@example.org )],
subject => 'Big error!'
]
],
);
$log->emerg("Something bad is happening");
DESCRIPTION
This is a subclass of Log::Dispatch::Email that implements the send_email method using the Mail::Send module.
CHANGING HOW MAIL IS SENT
Since Mail::Send is a subclass of Mail::Mailer, you can change how mail is sent from this module by simply "use"ing Mail::Mailer in your
code before mail is sent. For example, to send mail via smtp, you could do:
use Mail::Mailer 'smtp', Server => 'foo.example.com';
For more details, see the Mail::Mailer docs.
AUTHOR
Dave Rolsky <autarch@urth.org>
COPYRIGHT AND LICENSE
This software is Copyright (c) 2011 by Dave Rolsky.
This is free software, licensed under:
The Artistic License 2.0 (GPL Compatible)
perl v5.14.2 2012-05-25 Log::Dispatch::Email::MailSend(3pm)
Check Out this Related Man Page
Catalyst::Plugin::Log::Dispatch(3pm) User Contributed Perl Documentation Catalyst::Plugin::Log::Dispatch(3pm)NAME
Catalyst::Plugin::Log::Dispatch - Log module of Catalyst that uses Log::Dispatch
VERSION
This document describes Catalyst::Plugin::Log::Dispatch version 2.15
SYNOPSIS
package MyApp;
use Catalyst qw/Log::Dispatch/;
configuration in source code
MyApp->config->{ Log::Dispatch } = [
{
class => 'File',
name => 'file',
min_level => 'debug',
filename => MyApp->path_to('debug.log'),
format => '[%p] %m %n',
}];
in myapp.yml
Log::Dispatch:
- class: File
name: file
min_level: debug
filename: __path_to(debug.log)__
mode: append
format: '[%p] %m %n'
If you use Catalyst::Plugin::ConfigLoader, please load this module after Catalyst::Plugin::ConfigLoader.
DESCRIPTION
Catalyst::Plugin::Log::Dispatch is a plugin to use Log::Dispatch from Catalyst.
CONFIGURATION
It is same as the configuration of Log::Dispatch excluding "class" and "format".
class
The class name to Log::Dispatch::* object. Please specify the name just after "Log::Dispatch::" of the class name.
format
It is the same as the format option of Log::Dispatch::Config.
DEPENDENCIES
Catalyst, Log::Dispatch, Log::Dispatch::Config
AUTHOR
Shota Takayama "<shot[at]bindstorm.jp>"
LICENCE AND COPYRIGHT
Copyright (c) 2006, Shota Takayama "<shot[at]bindstorm.jp>". All rights reserved.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic.
perl v5.14.2 2012-04-15 Catalyst::Plugin::Log::Dispatch(3pm)
Hi Guru's
Im a complete newbie to unix/linux and have been given a project on setting up a mail server for little over 80 users by my client.
I would like your assistance on how i could go about this project.
- What unix/linux Os Should i use
-What Other programs/Packages should i install... (4 Replies)
Working on a script to look in a directory for a certain file. If the file is not there, check the time. If the time is greater than 10:00, send me an email. If it's not, sleep for 15 minutes and then do this all over again.
I can get it to email me if the file's not there without the sleep... (4 Replies)
i have working in informatica & unix (Kshell), i need the simple programm
( to sending of Email in (Kshell Script)).
Pl. any one help to do so.
From
Karthik :confused: (3 Replies)
Hey Guys,
I am trying to do a recursive search in one directory. If the directory contains that specific folder then create a directory in my other remote machine and use SCP to transfer all the contents of the file.
Till this stage everything works fine. So now i need to add 2 more... (5 Replies)
Hello,
I have a file which has user information. Each user has 2 variables with the same name like
Email: testuser1
Email: testuser1@test.com
Email: testuser2
Email: testuser2@test.com
My intention is to delete the ones without the '@' symbol. When I run this statement awk '/^Email:/&&!/@/'... (6 Replies)
I am unable to send mail externally. It gets refused from any mail server.
Here's my current config:
oslevel -s
5300-07-05-0831
********
mail -v foo@yahoo.com < /tmp/oracle.out
Warning: .cf file is out of date: sendmail AIX5.3/8.13.4 supports version 10, .cf file is version 9... (3 Replies)
hi,
I want to send mail to DL...
i am sending email to single id using mailx .. how to send to group of ids? :confused:
i am using a file which conatins all the ids,
is there any other way to send mail without creating the DLfile?
DL=path\file.txt
mailx -s "Info BG is now... (4 Replies)
Hi Gurus,
I have been tampering around with sendmail for the past one week and seem to make little progress. Given below is an abstract of the issue.
I have a Fedora 12 server(A VM on vitual Box bridged with a Windows XP host) which has to act as a SMTP server and have accordingly put up the... (8 Replies)
We have configured our mail unix server and can send out emails automatically from applications running on unix to different people in our company as well as outside our company. However there is an outside client who is not receiving these emails because the settings on their mail server cannot... (4 Replies)
Please help! I am really new to Linux, and my colleague who usually deals with these things isnt here to help me out.
We are running Scalix mail services on CentOS 6.0. Email users with IMAP folders are getting an error message stating the server cannot be reached, however POP3 mail users are... (13 Replies)
Subject: What does it takes to build a mail server, its just for fun and learning.
Am bad at being techinical, so in short, how to create a gmail-like thing? I have a registered domain, and want to setup a mail server. Have a spare laptop that is running Ubuntu 12.04. What I need to know is,... (4 Replies)
Hello All,
I have a requirement where i need to get the EXTRACT_DATE from a file and check if the date is of valid format or not and then mail it if it is not valid. Appreciate if you can help me with this.
I did the following so far.
awk '{for(i=1;i++<=NF;)if($i~/^EXTRACT_DATE/) print $i}'... (11 Replies)
I tried the below command
uuencode data.txt | mailx -s “Test Mail” “mrp@xyz.com”
But I get the below error
ksh: uuencode: not found.
Null Message body; hope that' ok
which clearly tell that uuencode utility is not found.
Is there any other way to send attachments with mail through... (7 Replies)
I want to send a mail through shell script with the following command,
#!/bin/bash
mail -s "Test" upload.xxx@example.com < /root/mail.txt
When I am executing the above command through shell script,the following error occurs,
/etc/mail/submit.cf:line 545:fileclass:cannot open... (15 Replies)