# Global Code
#####################################################################
-$::SIG{__DIE__} = i_am_cgi() ? \&CGI::Carp::confess : \&Carp::confess;
+#$::SIG{__DIE__} = i_am_cgi() ? \&CGI::Carp::confess : \&Carp::confess;
# Note that this is a raw subroutine, not a method, so $class isn't available.
sub init_page {
Bugzilla::Hook::process('mailer_before_send',
{ email => $email, mailer_args => \@args });
- return if $email->header('to') eq '';
-
$email->walk_parts(sub {
my ($part) = @_;
return if $part->parts > 1; # Top-level