Subject: | Log::Dispatch::Email::MIMELite and "not registered for warnings" |
Log::Dispatch::Email::MIMELite 0.19,
MIME::Lite 3.021,
perl 5.8.7
If the MIME::Lite->send fails, Log::Dispatch::Email::MIMELite checks
whether it should raise a warning.
However, if warnings::register isn't 'used' somewhere in the app, then
the cryptic "not registered for warnings" is produced.
A fix is to add 'use warnings::register' to
Log::Dispatch::Email::MIMELite.pm
***************
*** 2,7 ****
--- 2,8 ----
use strict;
use warnings;
+ use warnings::register;
use Log::Dispatch::Email;