Subject: | email appender - multiple recipients |
Date: | Wed, 28 Nov 2018 00:42:41 +0000 |
To: | "bug-log-log4perl-appender-smtp [...] rt.cpan.org" <bug-log-log4perl-appender-smtp [...] rt.cpan.org> |
From: | mustafa syed <mustafahsyed [...] hotmail.com> |
Hi,
I am unable to send email to MULTIPLE recipients using following code, can you please let me know what I need to do to make it work:
my $email_appender = Log::Log4perl::Appender::SMTP->new(
Host => "localhost",
Hello => "test.org",
Timeout => 20,
Debug => 1,
from => "test\@abc.org",
subject => "test",
to => "\<test\@abc.org\>,\<another\@abc.org\>"
);
$email_appender->log(message => "Error loading data");
Thanks,
Mustafa.