Patch by Max Kanat-Alexander <mkanat@bugzilla.org> r=dkl, a=mkanat
=item C<email> - The C<Email::MIME> object that's about to be sent.
+=item C<mailer_args> - An arrayref that's passed as C<mailer_args> to
+L<Email::Send/new>.
+
=back
=head2 page-before_template
Debug => Bugzilla->params->{'smtp_debug'};
}
- Bugzilla::Hook::process('mailer-before_send', { email => $email });
+ Bugzilla::Hook::process('mailer-before_send',
+ { email => $email, mailer_args => \@args });
if ($method eq "Test") {
my $filename = bz_locations()->{'datadir'} . '/mailer.testfile';