summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Mailer.pm
diff options
context:
space:
mode:
Diffstat (limited to 'Bugzilla/Mailer.pm')
-rw-r--r--Bugzilla/Mailer.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/Bugzilla/Mailer.pm b/Bugzilla/Mailer.pm
index 71dc8f1f5..fb9c5a7ca 100644
--- a/Bugzilla/Mailer.pm
+++ b/Bugzilla/Mailer.pm
@@ -171,7 +171,8 @@ sub MessageToMTA {
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';