push @to, $options{bcc} if defined($options{bcc});
local $@; # just in case
- eval { sendmail($message, { transport => $transport,
- from => $from,
- to => \@to }) };
+# eval { sendmail($message, { transport => $transport,
+# from => $from,
+# to => \@to }) };
my $error = '';
if(ref($@) and $@->isa('Email::Sender::Failure')) {
#it could throw a fatal "Invalid country code" error (for example "AX")
my $subcountry = eval { new Locale::SubCountry($country) }
- or return ( '', '(n/a)' );
+ or return (); # ( '', '(n/a)' );
#"i see your schwartz is as big as mine!"
map { ( $_->[0] => $_->[1] ) }