09-21-2007
I suggest you continue this in personal messages or switch to email. I am closing this thread.
6 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hey all,
I'm trying to locate a good sql forum - similar in nature to this, where I can can get some quick responses to questions I have.
I've tried a few but they are either no longer running - or have one visitor every month.... just wanting to see if anyone uses a forum that is of the... (6 Replies)
Discussion started by: peter.herlihy
6 Replies
2. UNIX for Dummies Questions & Answers
I have Installed SCO UnixWare 7 on to a 13 gig hd and up on istallation I noticed that that only 8gs where detected. I went ahead and continued the install just to see what I could learn from this. I'd like to know what happend. Also I used a free none comersial single user licenses that I had... (1 Reply)
Discussion started by: kikkin
1 Replies
3. AIX
Which Forum for IBM Storage production are good? (1 Reply)
Discussion started by: rainbow_bean
1 Replies
4. What is on Your Mind?
This forum has been so instrumental in my learning scripting and unix commands that I seriously can't believe it and have been advertising it to everyone I know. I started from almost zero knowledge and within a few months I already feel much less ignorant.
The amount of information and... (7 Replies)
Discussion started by: newbie2010
7 Replies
5. Solaris
Over 6 years ago I picked up a Sunfire V240 from my employer who was unloading all of their Sun hardware. Two processors, 4GB RAM and half dozen SCSI disk drives. It doesn't have an OS or a CD Rom/DVD drive. I have a collection of SCSI drives that should work with the server. So if I can get... (2 Replies)
Discussion started by: gandolf989
2 Replies
6. UNIX and Linux Applications
Good evening, i need to ask a question to those who have been working with oracle database.
I am a newbie in oracle Databases and Ive been looking for any specific oracle forum and i have found hundrends of them. could you recomend a good one from different levels from the basic ones ?
i... (2 Replies)
Discussion started by: alexcol
2 Replies
LEARN ABOUT SUSE
log::dispatch::email
Log::Dispatch::Email(3) User Contributed Perl Documentation Log::Dispatch::Email(3)
NAME
Log::Dispatch::Email - Base class for objects that send log messages via email
SYNOPSIS
package Log::Dispatch::Email::MySender
use Log::Dispatch::Email;
use base qw( Log::Dispatch::Email );
sub send_email
{
my $self = shift;
my %p = @_;
# Send email somehow. Message is in $p{message}
}
DESCRIPTION
This module should be used as a base class to implement Log::Dispatch::* objects that send their log messages via email. Implementing a
subclass simply requires the code shown in the SYNOPSIS with a real implementation of the "send_email()" method.
CONSTRUCTOR
The constructor takes the following parameters in addition to the standard parameters documented in Log::Dispatch::Output:
o subject ($)
The subject of the email messages which are sent. Defaults to "$0: log email"
o to ($ or @)
Either a string or a list reference of strings containing email addresses. Required.
o from ($)
A string containing an email address. This is optional and may not work with all mail sending methods.
o buffered (0 or 1)
This determines whether the object sends one email per message it is given or whether it stores them up and sends them all at once.
The default is to buffer messages.
METHODS
o send_email(%p)
This is the method that must be subclassed. For now the only parameter in the hash is 'message'.
o flush
If the object is buffered, then this method will call the "send_email()" method to send the contents of the buffer and then clear the
buffer.
o DESTROY
On destruction, the object will call "flush()" to send any pending email.
AUTHOR
Dave Rolsky, <autarch@urth.org>
perl v5.12.1 2009-09-22 Log::Dispatch::Email(3)