NAME
Apache::Onanox::Mail
ABSTRACT
Uses Mail::Send to send an email
METHODS
send
my $mail = Apache::Onanox::Mail->new;
my $msg = {};
$msg->{to} = 'foo@bar.com'; # required
$msg->{subject} = 'hello world'; # required
$msg->{body} = 'hello world'; # required
$msg->{from} = 'baz@bar.com'; # optional, <Apache user>@<machine> is default
$msg->{cc} = 'zoo@bar.com'; # optional
$msg->{bcc} = 'zen@bar.com'; # optional
$mail->send($msg);