diff options
author | Frédéric Buclin <LpSolit@gmail.com> | 2014-10-01 12:15:23 +0200 |
---|---|---|
committer | Frédéric Buclin <LpSolit@gmail.com> | 2014-10-01 12:15:23 +0200 |
commit | 0ff4174b5ea7f839562f5109defab1c2ac92e735 (patch) | |
tree | 990c69d4b1e9c2f318e7461f8f88c63ded6dde94 /Bugzilla/Mailer.pm | |
parent | f7f98a3c67b31d39ce34cca6650f624cba8a5e45 (diff) | |
download | bugzilla-0ff4174b5ea7f839562f5109defab1c2ac92e735.tar.gz bugzilla-0ff4174b5ea7f839562f5109defab1c2ac92e735.tar.xz |
Bug 1070640: Update (and rename) Bugzilla::Send::Sendmail to work with Email::Sender::Transport::Sendmail
r=dylan a=justdave
Diffstat (limited to 'Bugzilla/Mailer.pm')
-rw-r--r-- | Bugzilla/Mailer.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Bugzilla/Mailer.pm b/Bugzilla/Mailer.pm index 5c0d85d33..3c8815306 100644 --- a/Bugzilla/Mailer.pm +++ b/Bugzilla/Mailer.pm @@ -26,7 +26,7 @@ use Encode::MIME::Header; use Email::MIME; use Email::Sender::Simple qw(sendmail); use Email::Sender::Transport::SMTP; -use Email::Sender::Transport::Sendmail; +use Bugzilla::Sender::Transport::Sendmail; sub MessageToMTA { my ($msg, $send_now) = (@_); @@ -105,10 +105,10 @@ sub MessageToMTA { my $transport; if ($method eq "Sendmail") { if (ON_WINDOWS) { - $transport = Email::Sender::Transport::Sendmail->new({ sendmail => SENDMAIL_EXE }); + $transport = Bugzilla::Sender::Transport::Sendmail->new({ sendmail => SENDMAIL_EXE }); } else { - $transport = Email::Sender::Transport::Sendmail->new(); + $transport = Bugzilla::Sender::Transport::Sendmail->new(); } } else { |